35.3. SummaryCalculation tests can be carried out in two ways.
The tests will run faster with the first approach, but they will test less of the system. The system under test may be structured so that we're unable to take this approach initially. The tests will test more of the system with the second approach, but they will run slower, depending on whether they test through the user interface. Such tests are a useful first step with a legacy system. Once they're in place, the system can be test infected to allow the first approach. |