9

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.

2
  • I would imagine that dots roughly show elapsed time and S means success? May 6, 2012 at 15:25
  • @AndréCaron Can't be, it ran 327 tests but only showed a few dozen S.
    – user395760
    May 6, 2012 at 15:34

1 Answer 1

13

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.

1
  • Thank you ThiefMaster. I did not know about the plugin, as this is a foreign module. I was only going to make sure it passes in my environment. May 6, 2012 at 15:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.