PRUnit Logo
Back to PRUnit Home

Screenshots - Example Test Activity

Here is an example of a test activity that you would write to unit test an activity-rule. Notice the "Assert" calls made on steps 6 & 8 - if the expected and actual values differ, an exception is raised indicating to the user the test failed.

Back to PRUnit Home
Last Update: 2007-07-07 Maintained by Paul Evans