Sphinx-Test-Reports¶
Sphinx extension to import test results from JUnit XML files as linkable Sphinx-Needs (TOOL_SN) objects into the documentation. Supports automatic generation of test-suite and test-case needs with configurable IDs, custom types, and property-based linking to existing Sphinx-Needs objects. |
Analysis¶
ID |
Title |
Type |
|---|---|---|
JUnit XML test result file |
artifact |
|
Test case ID collision |
fault |
|
Test case need is not created |
fault |
|
Test case need contains wrong data |
fault |
|
Custom type is not applied to imported needs |
fault |
|
Custom type ID prefix collision with existing needs |
fault |
|
Test results table is empty despite imported data |
fault |
|
Environment need is not created |
fault |
|
Property link is not created |
fault |
|
Property link points to wrong target |
fault |
|
Undeclared property link type causes silent failure |
fault |
|
Test result status is not detected |
fault |
|
Test result status is incorrectly classified |
fault |
|
Test suite ID collision |
fault |
|
Test suite need is not created |
fault |
|
JUnit XML file cannot be parsed |
fault |
|
JUnit XML file contains unexpected schema |
fault |
|
Auto-generate test case needs |
feature |
|
Auto-generate test suite needs |
feature |
|
Configurable need types for imported results |
feature |
|
Filter and display test results |
feature |
|
Import test environment information |
feature |
|
Import JUnit XML test results |
feature |
|
Map JUnit properties to Sphinx-Needs links |
feature |
|
Use a dedicated custom type for imported test results |
restriction |
|
Set ``tr_case_id_length`` and ``tr_suite_id_length`` to avoid collisions |
restriction |
|
Declare all property link types in ``tr_property_link_types`` |
restriction |
|
Sphinx-Test-Reports |
tool |