Automated Testing
Writing and running tests for individual units or components of the software.
Also Known As
- Automated Testing (in DevOps)
- Build Quality In (in Lean Software Development)
- Component Testing
- Module Testing
- Test Driven Development (TDD) (in DevOps)
- Test Driven Development (TDD) (in Extreme Programming)
- Unit Testing (in Extreme Programming)
- Unit Testing (in Scrum)
Related
Addresses / Mitigates
- Implementation Risk: Ensures that individual components work correctly.
- Regression Risk: Detects regressions early in the development cycle.
- Complexity Risk: Simplifies debugging by isolating issues to specific units.
Attendant Risks
- Schedule Risk: Writing and maintaining unit tests can be time-consuming.
- Complexity Risk: Managing a large suite of unit tests can add to the complexity.
- Software Dependency Risk: Creates dependencies on testing frameworks and tools.
- Map And Territory Risk: Unit Testing and code coverage doesn't reflect how a system will work when assembled.
Used By
- DevOps: Automated Testing and Test Driven Development (TDD) validate code changes to ensure they work as expected.
- Extreme Programming: XP emphasizes writing tests before coding, ensuring that the software meets its requirements from the start.
- Lean Software Development: Lean ensures that quality is built into the product from the beginning.
- Scrum: Unit testing is part of the Definition of Done in Scrum.
Description
"Unit testing is a software testing method by which individual units of source code—sets of one or more computer program modules together with associated control data, usage procedures, and operating procedures—are tested to determine whether they are fit for use." - Unit testing, Wikipedia
Unit testing involves writing and running tests for individual units or components of the software to ensure they function as expected. This practice helps in identifying and fixing issues early in the development process, making the codebase more reliable and maintainable.
See:
See Also
No documents tagged