SchemeUnit: Organising Your Tests

Table of Contents | Further Reading

I recommend that you have one test suite for each unit. So if you have a module called my-unit there will be corresponding test suite my-unit-test.

I suggest you collect all you test suites in a single file named after the collection you are working on. E.g all-my-collection-tests.ss if you are working on a collection called my-collection. In this file require all the unit tests and wrap them with a test/text-ui call to make running the tests a single mouse click in DrScheme.


Noel Welsh
Last modified: Tue May 21 00:09:05 BST 2002