Important Testing Terminology
We shall be giving a brief overview about the various Testing Terminology used in the process of software testing –
- AUT or Code (or application) under test: Code which is tested is called the code under test. If you are testing an application, this is called the application under test.
- Test Fixture: Test fixture is a fixed state in code which is tested and used as input for a test. Also described this is a test precondition.
- Unit tests and unit testing: Unit test is a piece of code written by a developer that executes a specific functionality in the code to be tested and asserts a certain behavior or state. Such that the percentage of code which is tested by unit tests is typically called test coverage.
- Integration tests: The integration test aims to test the behavior of a component or the integration between a set of components. Such that Integration tests check that the whole system works as intended, thereby reducing the need for intensive manual tests.
- Performance tests: Performance tests are used to benchmark software components repeatedly. It is used to ensure that the code under test runs fast enough even if itโs under high load.
- Behavior vs. state testing: A test is a behavior test (also referred as interaction test) if it checks if certain methods were called with the correct input parameters. A behavior test does not validate the result of a method call. On the other hand state testing is all about about validating the result.