17.5. Adding to the StorytestsMitra and Don got together to write some further tests for the template stories. They quickly wrote the test shown in Figure 17.8, which allows for more than one item per guest.
They then used that template, "coffee break," to test that the number of rental items was rounded up. Don calculated out loud: "With 21 guests, there will be 21 divided by 20, which is 1.05. We round that up to 2. With cups, there will be 21 divided by 0.9, which is 23.33. That rounds up to 24." This resulted in the test shown in Figure 17.9. Figure 17.9. Template with RoundingAs these tests were completed, they were passed on to the programmers, who used them in the implementation of the new stories in RentEz. Further storytests were developed over the next 3 weeks and these included some ColumnFixture tables for testing rounding with a variety of examples. |
Friday, November 13, 2009
Section 17.5. Adding to the Storytests
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment