Matlab Classbased Testframework: Tool to visualise and analyze results from XML-plugin

2 次查看(过去 30 天)
Hello Matlab-Community,
since last year i use the Matlab classbased testframework.
I now have over 20 testcases, with parametrisation these will be over 100 testcases.
At the moment i run all testcases at once at the testrunner and create a PDF-Report and a XML-File,
see also:
My goal:
Implement a testcase each day, run the testrunner for all testcases over night and visualise the data.
One option might be the Jenkins XML-plugin, but i haven´t worked with this so far:
Thank you in advance for your information.
Regards
Andreas

回答(1 个)

Preethi Pandian
Preethi Pandian 2021-4-9
编辑:Preethi Pandian 2021-4-9
Hi Andreas,
So I understand you want to automate running your tests overnight and have test report in your desrired format (PDF or XML) available after each run?
If you are using Jenkins as your continous integration tool, may I suggest you give a try using MATLAB Jenkins plugin.
This plugin has tasks that will automate running of your testcases through the run MATLAB tests step.
The plugin takes care of generating a test runner script for you and your desired test artifacts based on the selections you make using the plugin.
Hope this helps.
Documentation on how to use the plugin:
Regards,
Preethi

类别

Help CenterFile Exchange 中查找有关 Run Unit Tests 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by