$$
\newcommand{\uex}{{u_{\small\mbox{e}}}}
\newcommand{\tp}{\thinspace .}
$$
Unit testing with nose
- Nose is a very user-friendly testing framework
- Based on unit testing
- Identify (small) units of code and test each unit
- Nose automates running all tests
- Good habit: run all tests after (small) edits of a code
- Even better habit: write tests before the code (!)
- Remark: unit testing in scientific computing is not yet well established