| 1 | = Style Guide = |
| 2 | |
| 3 | == Testing == |
| 4 | ANUGA has a comprehensive test suite to ensure code quality. Please write tests for any new features, and write regression tests for bugs fixes. |
| 5 | |
| 6 | All 900+ tests in test_all.py should complete in minutes. |
| 7 | The system test suite validate_all.py has one test that takes just under an hour (Rigby flow test) and one that takes about 40 hours (Patong Beach). Okushiri should run in under ten minutes. |
| 8 | This suite is normally run in the background to make sure the actual model physics remains sane. |
| 9 | |
| 10 | |
| 11 | == Style == |
| 12 | Python code should use the [http://www.python.org/dev/peps/pep-0008/ PEP8] style guidelines. |