At first it can be difficult figuring out how to do acceptance tests. With a little practice, it becomes easy.
Here are some of the sample stories from the story chapter, with suggestions for how they might be tested.
Union dues vary by union and are taken only in the first pay period of the month. The system computes the deduction automatically. The amount is shown in the attached table.
This is an easy one, of course: the test pays some employees from various unions and checks whether they are charged the right dues, in the first pay period. Another test checks the subsequent pay periods to make sure dues are not taken.
When a transaction causes a customer's account to go into overdraft, transfer money from the overdraft ...