A Test Object is the work product that is the subject of testing. Depending on the test level, it can be a single function, a module, an API, a complete application, a database, or a document such as a requirements specification.
Key components of defining a test object include:
- Test Level: In unit testing the test object is an individual unit of code, in integration testing it is the interfaces between components, and in system testing it is the whole system.
- Version and Configuration: The exact build, version and configuration must be identified so results can be reproduced and traced.
- Test Basis: The requirements, designs or user stories that describe how the test object is expected to behave.
- Scope Boundaries: A clear statement of what is part of the test object and what is out of scope, such as third-party services.
Defining the test object precisely keeps testing focused, helps estimate effort, and makes it clear exactly what a set of test results applies to.


