chk
chk

Reputation: 308

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

Upvotes: 5

Views: 2987

Answers (1)

mickm
mickm

Reputation: 391

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

Upvotes: 2

Related Questions