Python unittest cases on jenkins using

0 votes
I’m trying to execute python unit test cases on Jenkins. Is it possible to get Junit style XML output from the builtin unittest package?
Aug 6, 2018 in Jenkins by Hannah
• 18,030 points
856 views

1 answer to this question.

0 votes
XML reporting is now building. Use the --with-xunit command line option and it will produce a nosetests.xml file. For example:

nosetests --with-xunit

Then add a Publish JUnit test result report post build action, and fill in the Test report XMLs field with nosetests.xml
answered Aug 6, 2018 by Kalgi
• 51,830 points

Related Questions In Jenkins

0 votes
1 answer

Error while talking to remote Oracle DB using Jenkins-CI

I installed Oracle XE to talk to ...READ MORE

answered May 1, 2018 in Jenkins by shubham
• 6,910 points
408 views
0 votes
1 answer

running a Jenkins job on multiple virtual servers.

Your goals can be achieved by using ...READ MORE

answered May 25, 2018 in Jenkins by shubham
• 6,910 points
318 views
0 votes
2 answers

How to start Jenkins on a different port rather than 8080?

In case you want to change the ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 50,440 points
5,690 views
+1 vote
4 answers
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,400 points
419 views
0 votes
1 answer
0 votes
2 answers

will running multiple Jenkins masters on same host increase the performance?

While using one big master, u can ...READ MORE

answered Aug 7, 2018 in Jenkins by Kalgi
• 51,830 points
970 views
0 votes
1 answer

Jenkins Pipeline using Openshift

Create a new service account in openshift ...READ MORE

answered Aug 8, 2018 in Jenkins by Kalgi
• 51,830 points
149 views