FitNesseRoot.Fitnesse.UserGuide.WritingAcceptanceTests.FitFramework.PayrollTests.content.txt Maven / Gradle / Ivy
Imagine that we are writing a payroll system. This system has a number of functions.
* We can add employees to the payroll database.
* We can change existing employees.
* We can request that paychecks be created for a given payday.
Paychecks are output to a file in a simple text format.
We'd like to test this system. Here are a few acceptance tests to think about:
|>PayrollChequePrintingTest|''This test checks that paychecks for a few employees are printed correctly.''|
|^ChangeBetweenTwoPaydays|''This test adds some employees, pays them, then adds one more and changes an existing on. then pays again and checks to make sure the paychecks are correct.''|
----
^SetUp