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

2 views (last 30 days)
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

Answers (1)

Preethi Pandian
Preethi Pandian on 9 Apr 2021
Edited: Preethi Pandian on 9 Apr 2021
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

Products

Community Treasure Hunt

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

Start Hunting!