IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Testing modules > Component testing > Automating tests using Ant scripts > Use Ant scripts for testing in headless WebSphere Integration Developer > Use scripts in common testing scenarios
Create a script for test cases stored in a CVS repository
Test cases stored in a CVS repository require some special tasks in your script to extract them from the repository.
Your test cases and modules may be stored in a repository such as CVS. Since Ant has support for CVS, the test projects and modules can be extracted from CVS, built, deployed, tested, and undeployed.
The benefit of using this approach is that you do not need to manually manage a set of project interchange (PI) files.
Procedure
- The script for this case can be seen in Work with scripts. Rather than importing test cases and modules from a project interchange file, the project is checked out from a CVS rep
- Examine the pass/fail results in the returned XML file. See Example of an XML output file, which shows an example of the type of output you should expect.
You are required to have an understanding of
CVS commands in this situation as this task uses the CVS command to run.