| # PayrollTestPage.TestTwo
| # Change an employee between two paydays First we add two employees.
payrollTest.Employees
id | name | address | salary | valid()
1400 | June Languid | 10 Adamant St; Laurel, MD 20707 | 1005 | true
1401 | Kelp Holland | 12B Baker St; Cottonmouth, IL 60066 | 2000 | true
Then we pay them.
payrollTest.PayDay
payDate | checkNumber | valid()
1/31/2001 | 3000 | true
Make sure their paychecks are OK.
payrollTest.PaycheckInspector
id | amount | name | number
1400 | 1005 | June Languid | 3000
1401 | 2000 | Kelp Holland | 3000
Add a new employee.
payrollTest.Employees
id | name | address | salary | valid()
1500 | Jane Blow | 1 Sixth St; Ratus, IA 45250 | 1500.00 | true
Change an existing employee.
payrollTest.ChangeEmployees
id | name | address | salary | valid()
1400 | June Bride | 10 Adamant St; Laurel, MD 20707 | 1005.00 | true expected false actual
Pay them again.
payrollTest.PayDay
payDate | checkNumber | valid()
2/28/2001 | 4000 | true
Make sure the paychecks are still being generated properly.
payrollTest.PaycheckInspector
id | amount | name | number | date
1400 | 1005 | June Bride expected June Languid actual | 4000 | 2/28/2001
1401 | 2000 | Kelp Holland | 4000 | 2/28/2001
1500 | 1500 | Jane Blow | 4000 | 2/28/2001
fitnesse.FitFilter
payrollTest.CleanUp
fit.Summary
counts | 17 right, 2 wrong, 0 ignored, 0 exceptions
input file | System.in
input update | Thu Feb 13 19:16:01 CST 2003
output file | System.out
run date | Thu Feb 13 19:16:01 CST 2003
run elapsed time | 0:00.45
[.FrontPage][.RecentChanges][ClassPath][.PayrollTestPage]