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

2 visualizaciones (últimos 30 días)
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

Respuestas (1)

Preethi Pandian
Preethi Pandian el 9 de Abr. de 2021
Editada: Preethi Pandian el 9 de Abr. de 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

Categorías

Más información sobre Run Unit Tests en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by