TestCompanion™ is a Test Harness framework based on a testing framework designed to allow data-driven testing of server-side Java applications.
Using the concept of data-driven testing, TestCompanion allows “test as you build” approach which helps reduce the possibility of errors early on in the cycle.
TestCompanion is used as a framework for:
- Unit Testing
- Regression Testing
- API Testing
- Integration Testing at component level
- Test-Driven Development
TestCompanion consists of two parts
- TestCompanion Studio – provides the user with an interface for test case creation and execution and provides tabular report structure
- TestCompanion Engine – helps the user execute the test cases built with the help of TestCompanion Studio
How it works?
- Test cases are developed using the Studio and XML is generated
- Test cases are then executed by the TestCompanion engine to provide results
- Special XML constructs are provided to create complex tests, including multithreading, iterating and providing test data from a CSV file

The TestCompanion control structures define a rich set of features, which allow for a variety of testing approaches. Below is a brief outline of the most important features of the test framework:
- Automates test script creation
- Identifies memory leakage during test execution
- Test cases can be parameterized for use with varied, controlled test input values
- Tracks the progress of the tests over iterative cycles
- Enables the running of JUnit test cases without any modifications
- Supports execution of test cases in multithreaded environments
- Provides a data repository, a storehouse of reusable test case objects
- Provides both GUI and Command line mode
- Supports Struts, EJBs, Servlets, JMS
- Generates text, XML reports
- Integrates with Eclipse IDE
- Supports CSV files for test data
Download
TestCompanion brochure