PayrollTestPage.TestTwo

Change an employee between two paydays



First we add two employees.

payrollTest.Employees
idnameaddresssalaryvalid()
1400June Languid10 Adamant St; Laurel, MD 207071005true
1401Kelp Holland12B Baker St; Cottonmouth, IL 600662000true

Then we pay them.

payrollTest.PayDay
payDatecheckNumbervalid()
1/31/20013000true

Make sure their paychecks are OK.

payrollTest.PaycheckInspector
idamountnamenumber
14001005 June Languid 3000
14012000 Kelp Holland 3000

Add a new employee.

payrollTest.Employees
idnameaddresssalaryvalid()
1500Jane Blow1 Sixth St; Ratus, IA 452501500.00true

Change an existing employee.

payrollTest.ChangeEmployees
idnameaddresssalaryvalid()
1400June Bride10 Adamant St; Laurel, MD 207071005.00true expected
false actual

Pay them again.

payrollTest.PayDay
payDatecheckNumbervalid()
2/28/20014000true

Make sure the paychecks are still being generated properly.

payrollTest.PaycheckInspector
idamountnamenumberdate
14001005June Bride expected
June Languid actual
4000 2/28/2001
14012000Kelp Holland 4000 2/28/2001
15001500Jane 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]