How to Interface with Test Browser through Command Window

8 ビュー (過去 30 日間)
Liam
Liam 2024 年 6 月 26 日
コメント済み: Liam 2024 年 6 月 26 日
I am wondering if it is possible to use commands to interface with the Test Browser. I have a collection of tests that I would like to run, and I am looking to see if it is possible to add tests to the test browser with a command. From the current documentation, it appears that tests can only be added to the test browser by manually selecting them.
On the same note, I am also wondering if there is a command that can be used to have the same effect as pressing the "Run Current Suite".
I got a hint that something like this may be possible through some error messages, something along the lines of:
"matlab.unittest.internal.testbrowser.TestBrowserActionsService.importFolder"
However, I am wondering if this is a feature that is not accessible to users. Thanks!
  2 件のコメント
Matlab Pro
Matlab Pro 2024 年 6 月 26 日
Hi
You are correct - now way to communicate with the TestBrowser other than manually. (so wierd..)
I have "overrided" it by creating a utility that mimics most of it + some additional features.
I am about to load it to the Exchange Server in few days
Please stay in touch
Liam
Liam 2024 年 6 月 26 日
Ok that's what I thought, just wanted to make sure I wasn't missing somthing. That is weird that it's not included, thank you for the sanity check!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeTesting Frameworks についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by