Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the character `S` stand for in nosetest output

I am running python nosetests on a foreign module. The dots mean that a test passed. What does S stand for?

c:\vendor\test>nosetests
................................................................................
........................................SS......S.S.............................
.........SSSSSSSSSSSSSSSSSS......S....SSSS.................S..S...SSSSSSSSSSSSSS
SSSSSSSSS.SSSSSSSSSSSSSSSSSSSSS..........SS.....SSSSSSS............
----------------------------------------------------------------------
Ran 327 tests in 629.369s

This seems so obvios that it is hardly mentioned, could not find it in the docs, in the man page and not using google. Sorry I am not a python native.

like image 393
Alojz Janez Avatar asked May 06 '12 15:05

Alojz Janez


1 Answers

S means skipped, . means success.

http://readthedocs.org/docs/nose/en/latest/plugins/skip.html

This plugin installs a SKIP error class for the SkipTest exception. When SkipTest is raised, the exception will be logged in the skipped attribute of the result, ‘S’ or ‘SKIP’ (verbose) will be output, and the exception will not be counted as an error or failure.

like image 179
ThiefMaster Avatar answered Oct 01 '22 23:10

ThiefMaster