This repository manages Quality Engineering (QE) artifacts, test plans, and testing strategies for OpenShift Virtualization enhancements, ensuring features meet defined quality standards before release.
Centralize QE documentation and test planning to ensure:
- Clear visibility of test coverage, resources, and risks
- Systematic quality assurance for all OpenShift Virtualization features
- Formal QE sign-off requirements are met
- Automation is merged for GA (mandatory)
- New Feature? → Start with the STP Guide
- Planning Tests? → Read Testing Tiers Guide
- Writing STP? → Use the STP Template
- Understanding QE Process → See STP Guide
- Test Requirements → Review Testing Tiers
- Approval Process → Check Process Flow
| Guide | Description |
|---|---|
| STP Guide | Guide to Software Test Plans: purpose of each part, lifecycle, and best practices |
| Testing Tiers Guide | Differences between Unit Tests, Tier 1 (Functional), Tier 2 (End-to-End), and Tier 3 (Extended) tests |
| Template | Purpose |
|---|---|
| STP Template | Software Test Plan template for feature testing |
| Child STP Template | Per-SIG child STP for multi-SIG features |
| Term | Definition |
|---|---|
| STP | Software Test Plan - Overall roadmap for testing |
| NFR | Non-Functional Requirements (performance, security, monitoring, etc.) |
| Tier 1 | Functional tests covering individual features |
| Tier 2 | End-to-end tests covering complete workflows |
| Tier 3 | Extended validation tests with higher execution cost |
Unit Tests → Tier 1 (Functional) → Tier 2 (End-to-End) → Tier 3 (Extended)
Many Moderate Few Fewest
Isolated Feature-level Full Integration Dedicated Cycles
See Testing Tiers Guide for details.
graph TD
A[Feature Defined] --> B[Feature Review]
B --> C[STP Creation]
C --> D[STP Approval]
D --> E[Test Implementation]
E --> F[Automation Merged]
F --> G[QE Sign-off]
-
Feature Review (Pre-STP)
- QE reviews feature requirements and enhancements
- Developer Handoff/QE Kickoff meeting
- Confirms testability and acceptance criteria
-
STP Creation
- Document scope, strategy, environment, risks
- Define Tier 1 and Tier 2 test coverage (Tier 3 where applicable)
- List untestable aspects with stakeholder agreement
-
Enhancement Freeze (EF)
- STP written, reviewed, and approved
- Entry criteria met before testing begins
-
Test Implementation
- Develop test cases per STP
- Implement automation
- Track against testing goals
-
Code Freeze (CF)
- Test automation must be merged for GA
- All high-priority defects resolved
- Automation merged and acceptance criteria verified
-
QE Sign-off
- Feature meets all acceptance criteria
- Automation running in release checklist jobs
- Documentation reviewed and approved
This repository uses automated linting to maintain consistent Markdown formatting.
| Tool | Purpose |
|---|---|
tools/check_stp_moves.py |
Validates existing moved-STP stubs as part of pre-commit. |
Install uv first using your package manager or the official guide, then install pre-commit:
export PATH="$HOME/.local/bin:$PATH"
uv tool install pre-commit
uv tool update-shell
export PATH="$HOME/.local/bin:$PATH"
pre-commit install# Run all pre-commit hooks manually
pre-commit run --all-files
# Run on specific files
pre-commit run --files README.md docs/stp-guide.md
The move validator and its tests use pre-commit-managed Python environments and run in both local pre-commit and pre-commit.ci. See .markdownlint.yaml for complete Markdown configuration with detailed comments for each rule.
The Quality Owner is the QE sign-off function, and must be someone other than the STP author — normally the author's lead. The QE Owner(s) named in the metadata own and write the testing plan; they do not sign it off.
- Write and maintain STP
- Review design and identify testing challenges
- Ensure NFRs are addressed
- Manage risks and document untestable aspects
- Ensure automation runs in release checklist jobs
- Sign off the STP per the sign-off functions in the STP Guide
- Agree to risks associated with untestable aspects
- Coordinate feature enhancement and STP reviews
| Question | Answer |
|---|---|
| Do PRs need STP sign-off? | No. Code PRs are approved by the SIG as usual; the STP itself is signed off by the Feature Owner, Quality Owner and Product Manager (see the STP Guide). |
| What if PRs miss the deadline? | STP author files for an exception; maintainers decide based on context. |
| How to raise attention for my STP? | Join bi-weekly QE recurring meetings to introduce your STP. |
| What if feature relates to multiple SIGs? | One SIG must own it. Reach out to other relevant SIGs for review. |
- Create the STP from the template, which defines structure and format
- Follow the STP Guide for purpose and process
- Ensure proper test tier coverage per Testing Tiers Guide
- Get stakeholder approval before testing begins
- Ensure automation is merged before GA
For questions or assistance:
- Join QE bi-weekly meetings
- Open an issue in this repository
- Contact the QE team lead