$$
\newcommand{\uex}{{u_{\small\mbox{e}}}}
\newcommand{\tp}{\thinspace .}
$$
Basic use of nose
- Implement tests in test functions with names starting with
test_
.
- Test functions cannot have arguments.
- Test functions perform assertions on computed results
using
assert
functions from the nose.tools
module.
- Test functions can be in the source code files or be
collected in separate files
test*.py
.