Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

UI Testing

We have 2 "scripts" or checklists that we use to help test application manually.
http://code.google.com/p/eas/wiki/EASTutorialChecklist
https://eas.googlecode.com/svn/trunk/docs/testing.xlsx

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.

Running the Unit Tests

From the command line run

https://sfgovdt.jira.com/svn/MAD/trunk/web/run_tests.cmd

which goes through the settings.py and calls into

https://sfgovdt.jira.com/svn/MAD/trunk/web/test_suites.py

  • No labels