Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

UI Testing

TODO
I don't think we'll be any automated UI testing any time soon.
Rather, we need a few checklists that we can walk through.

Unit Testing

We have a modest number of python/django unit tests.
We do not have any unit tests for the javascript code.
When to write a test?
Here is when I consider writing a unit test.
When you find a bug, try to write a test that finds it.
If you start the debugger, consider writing a unit test test instead.
This can be expensive and so it is reasonable to debate this point.
Use your judgement.
Often writing a test is super easy and very much helps to prevent regressions.

...