We have been so lucky to receive license an open source license for NAV that contributors are free to use! Contact Morten Brekkevold for details if you have contributed to NAV to receive a copy of the license.
In the run configuration (nav-bar, left for the green RUN arrow), click edit run configurations):
Run configuration options should be the following:
$NAV-ROOT/python/runtests.py
../tests/unittests
$NAV-ROOT/python
NAV UNITTESTS run configuration should now be available from the drop down of various run configurations.
Run it once .. a panel pane at the bottom screen panel pops up and it starts looking for tests and running em.
Ignore output saying Empty test suite, that's just test cases which contains no unit tests so no worries.
BUT to the left at this bottom screen panel, below the green double arrow, CHECK IT. (tooltip says: toggle automatic rerun of tests on code change)
Be a happy hacker practicing TDD!
Note 1: Bottom screen panel can be toggled by clicking in bottom left corner!
Note 2: Yes, it will run your tests, maybe not right after you click SAVE, but soon after.