All right, we've got Nose installed, so what's it good for? Nose looks through a directory's structure, finds the test files, sorts out the tests that they contain, runs the tests, and reports the results back to you. That's a lot of work that it saves you from having to do each time you want to run your tests (which should be often).
Nose recognizes test files based on their names. Any file whose name contains test
or Test
either at the beginning or following any of the characters _, .
, or (this is often referred to as "underscore", dot, or dash) is recognized as a file that contains unittest TestCases
(or Nose's own test functions, which we'll talk about later) which should be executed. Any directory whose name matches the same ...
No credit card required