Test plans
Test Plans allow you to organize and manage groups of test cases that can be executed together as a single unit.
Overview
Test Plans are collections of test cases that you want to run together regularly. This feature provides flexibility in running tests through multiple methods: API triggers, scheduled runs, or manual execution through the UI.
Test plans help streamline your testing process by:
- Organizing related test cases into logical groups
- Enabling automated execution on schedules
- Supporting API-driven test automation
- Managing test dependencies efficiently
Creating a Test Plan
- Navigate to the Test Plans section
- Click the “Create Test Plan” button in the top right
- Provide the following information:
- Name: A clear, descriptive name for your test plan
- Description (optional): Additional context about the test plan’s purpose
- Click “Save” to create your test plan
Adding Test Cases to a Test Plan
When adding test cases to a test plan, keep in mind:
- Dependencies will be automatically included in runs, even if not visible in the UI
- Consider creating separate plans for:
- Frequently run core tests
- Less frequent tests that run on a schedule
Execution Methods
Github Actions Integration
You can automate test execution by integrating Test Plans with your GitHub workflows. This integration allows you to:
Trigger tests automatically after deployments Run tests on pull requests Execute tests on any GitHub event
Read more how to setup Github Actions.
API Execution
Test Plans can be triggered programmatically through the API. For detailed information about available endpoints and parameters, refer to the API reference documentation.
Scheduled Execution
You can configure Test Plans to run automatically at specific times or intervals:
- Navigate to the Results page
- Click the “Schedule” button
- Configure cron for the schedule and select Test plan
UI Execution
To run a Test Plan manually:
- Navigate to the Test Plans section
- Locate your Test Plan
- Click the “Run Tests” button
Best Practices
-
Optimize Test Organization:
- Group related test cases together
- Create separate plans for different testing frequencies
- Keep plans focused and maintainable
-
Dependency Management:
- Be aware that dependent test cases will be included automatically
- Review dependencies when setting up new test plans
-
Schedule and Workflow Optimization:
- Schedule less frequent tests during off-peak hours
- Configure GitHub workflows to run tests at key points in your development process (deployments, PRs, merges)