Before writing the code that implements the full process testing, an effort needs to be made to complete and successfully execute all of the outstanding unit tests. Once this is complete, we can logically take it as a given that any failures that arise in the process tests are because of something in that process, though we may want to take steps to verify sub-process steps, and raise failures for certain conditions. This may well evolve as the process tests are written.
Each business object that has a set of corresponding processes needs to check for any/all of the following processes that apply:
- Creation of the object, and both local and remote persistence of its data:
- By each role that is allowed to perform an update
- Making sure to test both valid and invalid update attempts
- Updating the object's data:
- By each role that is allowed...