... // Check if the log of the insert // operation contains the word ERROR. assertFalse( "The script should returne at least one error", fileText("/root/derbytest.log") .contains('ERROR') ) ...
PUnit Example III
... // Check on data that was inserted into a table. assertTrue( "The log should contain a SELECT result", fileText("/root/derbytest.log") .contains('Grand Ave.') )}
PUnit
Next problem?
Scalability
How do we test on different OS?
How do we run parallel tests on multiple architectures?