IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Testing modules > Component testing
Automating tests using Ant scripts
If you want to automate your testing of component test projects, test suites, and test cases, you can use Ant scripts to invoke the headless (command line) batch processing environments of either IBM Integration Designer or IBM Process Server. Ant scripts enable you to automatically perform numerous tasks in batch processing environments, such as building, deploying, and testing your component test projects. The headless environments are used exclusively to perform batch processing of Integration Designer modules.
You cannot use these headless environments to deploy modules contained in process applications or toolkits to either a IBM Process Center server or a process server on Process Center.
Unless you have a specific reason for using the batch processing environment of Integration Designer, it is generally recommended that you use the batch processing environment of Process Server to gain access to standard tools like serviceDeploy and wsadmin.
The following sections describe how to automate tests using Ant scripts.
- Use Ant scripts for testing in headless IBM Integration Designer
In the headless (command line) batch processing environment of IBM Integration Designer, you can use Ant scripts to automate the testing of component test projects, test suites, and test cases. Ant scripts enable you to automatically perform numerous tasks, such as building and deploying your projects. Although you can use the headless environment of IBM BPM.- Use Ant scripts for testing in headless IBM Process Server
In the headless (command line) batch processing environment of IBM BPM, you can use Ant scripts to automate the testing of component test projects, test suites, and test cases created in IBM Integration Designer. Ant scripts enable you to automatically perform numerous tasks, such as building and deploying your projects. Although IBM Integration Designer provides a headless batch processing environment that you can use to test component test projects, it is generally recommended that you use the headless environment of IBM BPM to use standard tools like serviceDeploy and wsadmin.