๐งช Test Approaches
The next level in the test case hierarchy is the Test Approach, representing an abstraction layer over the System Under Test (SUT).
A Test Approach is a reusable template that captures a common testing pattern or action performed within the system.
๐ก Example
In a Web UI CRM system for broadband services:
- Test Suite:
Purchase Product - Test Approaches:
Purchase Fibre Connection,Purchase ADSL Connection
In an ETL data pipeline context:
- Test Suite:
Data Quality Tests - Test Approaches:
Out of Range Check,Missing Values Check
This abstraction makes test case creation faster, standardized, and scalable.
๐ Managing Test Approachesโ
On the Approaches screen, you can:
- ๐ Search by ID or name
- ๐ View which Test Suite each approach belongs to
- โถ๏ธ Run a test approach
- โ๏ธ Edit, ๐ซ Deactivate, or ๐๏ธ Delete approaches
- โ Use the (+) icon to expand and view related test cases
๐ Creating a New Test Approachโ
To add a new test approach:
- Click the โ New button.
- Fill in required details.
- You can also create test cases within the same screen.
๐ง Why Use Test Approaches?โ
Analogy
Think of a Test Suite as a playlist.
Each Test Approach is a music genre (e.g., Rock, Jazz), and each Test Case is a specific song in that genre.
This model allows for:
- Modular design
- Reusable patterns
- Cleaner test maintenance