3,035
edits
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
===Where are they?=== | |||
/app/tests/ | |||
===Model Tests=== | ===Model Tests=== | ||
Example forthcoming. | Example forthcoming. | ||
| Line 34: | Line 37: | ||
?> | ?> | ||
</pre> | </pre> | ||
===Other tests=== | |||
In general we'd want to use the same framework for external tests -- stuff like: | |||
* PFS | |||
* Update | |||
* Maintenance and other /bin tests | |||
If that is not possible, they will be in the same directory with the thing they are testing (database migration tests, for example would live alongside the script in the same directory). | |||
Tests for external scripts are in /app/tests/services/. | |||
===Why do we write tests?=== | ===Why do we write tests?=== | ||
edits