When I want to execute a test in CodeSys TestManager, I need to click Test Repositories -> Edit Test Repositories -> Add -> select the .xml and give it a name.
Is it possible to automate this so I don't need to access the build node, open CodeSys and do the above steps?
Thanks in advance for the help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For those interested, I fixed this by writing a python script that collects the relevant data from the CodeSys XML and then writes it in a new XML in the JUNIT format. You can then get nice statistics in Jenkins when you post the xml to JUNIT (also install Jenkins Junit add-on).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I want to execute a test in CodeSys TestManager, I need to click Test Repositories -> Edit Test Repositories -> Add -> select the .xml and give it a name.
Is it possible to automate this so I don't need to access the build node, open CodeSys and do the above steps?
Thanks in advance for the help!
For those interested, I fixed this by writing a python script that collects the relevant data from the CodeSys XML and then writes it in a new XML in the JUNIT format. You can then get nice statistics in Jenkins when you post the xml to JUNIT (also install Jenkins Junit add-on).
Hi,
Would you kindly share this script? I am very interested in it.
Thank you in advance.
I am also very interested in how you went about converting the XML file into JUNIT format. Would you mind sharing?
I created a script to do the conversion to Junit XML here