Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Result summary report in python nosetests

Im using nosetests command to execute python files, and i often run 100+ python files in one shot, many a times test case file will be skipped based on the @attr value. Is there plugin available to get the summary of the test case result or summary some thing like below

Test1 --> passed
Test2 --> failed
Test3 --> error
Test4 --> skipped
like image 451
chk Avatar asked Nov 10 '22 12:11

chk


1 Answers

Nostest results can be output to XML using the Xunit parameter:

If you enter the following at the command line:

$ nosetests --help

This give a range of options for nosetests, including the required parameter, i.e:

--with-xunit
like image 111
mickm Avatar answered Nov 14 '22 23:11

mickm