Test Suites
- A test suite is a bunch of tests that get run on a piece of
code.
- It is crucial to the development of good code.
- You can run functional tests, put in user keyboard input,
compare screen shots, anything. The key is that it needs
to be done automatically.
- On VB1 we had a check-in suite. That is, before you could
submit code, you grabbed the write cookie and the current
system. Built with your changes. Then ran the test suite.
If you passed, you could submit the code and then give back the
write cookie. It took 2 hours to run on a good machine.
- There was also a 2 week test cycle run on dozens of machines.
This occasionally popped up old bugs that were then
reactivated in raid.
- The test suite is the key component in Extreme Programming