diff --git a/handbook/troggle/trogtests.html b/handbook/troggle/trogtests.html index 3558c0c22..588c2e7a3 100644 --- a/handbook/troggle/trogtests.html +++ b/handbook/troggle/trogtests.html @@ -5,12 +5,13 @@
We have a suite of more than 100 smoke tests. +
We have a suite of more than 110 smoke tests.
These are 'end to end' tests which very quickly show whether something is badly broken. The tests are for two purposes only:
Current wisdom is that factory methods in the test suite are a superior way of managing tests for very long-term projects like ours. We have one of these make_person() in core/TESTS/test_parsers.py which we use to create 4 people, which are then used when testing the import parser for a fragment of an invented logbook in test_logbook_parse(). +
Current wisdom is that factory methods in the test suite are a superior way of managing tests for very long-term projects like ours. We have a couple of these create_user() and create_person() in core/TESTS/test_parsers.py which we use to create 2 users ('expo' and 'expoadmin') and 4 people, which are then used when testing the import parser for a fragment of an invented logbook in test_logbook_parse().
We could do with a lot more unit tests which test small, specific things. If we have a lot of these it will make future re-engineering of troggle easier, as we can more confidently tackle big re-writes and still be sure that nothing is broken.
@@ -82,6 +83,5 @@ and look for types of url which do not appear in the test suite checks.
Go on to: Troggle architecture
Return to: Troggle intro
Troggle index:
-Index of all troggle documents