Demo project showing how to use the reqstool-maven-plugin or reqstool-gradle-plugin to create requirements traceability artifacts.
This project demonstrates:
- Using
@Requirementsand@SVCsannotations in Java code - Automatic generation of annotations from source code
- Assembly of a ZIP artifact containing requirements, test results, and traceability data
- Integration with the reqstool Python client for requirements analysis
- Support for both Maven and Gradle build systems
Each requirement ID is named to reflect the scenario it demonstrates:
| Requirement ID | Scenario | What it demonstrates |
|---|---|---|
REQ_PASS |
Fully implemented & verified | Code annotated, automated tests pass, manual verification passes |
REQ_MANUAL_FAIL |
Manual verification failed | Code annotated, automated tests pass, but manual verification reports a failure |
REQ_NOT_IMPLEMENTED |
Not implemented | Requirement defined but no @Requirements annotation in code |
REQ_FAILING_TEST |
Automated test fails | Code annotated, but the implementation has a bug causing the test to fail |
REQ_SKIPPED_TEST |
Test is skipped | Code annotated, but the test is @Disabled (e.g. pending integration) |
REQ_MISSING_TEST |
Test not written | Code annotated, SVC defined, but no @SVCs test exists for the SVC |
- Java 21+
- Maven 3.9+ or Gradle 9.3+
- Python 3.8+ (for reqstool client)
mvn clean verifygradle clean build# Install reqstool client
pipx install reqstool
# Run status report
reqstool status local -p ./docs/reqstoolFull documentation can be found here.
See the organization-wide CONTRIBUTING.md.
MIT License.