You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem statement:
Several major projects have test plan comprising unit tests identified by a ID (like JIRA ID). These IDs are important when generating test reports for complete traceability. Current test report only gives test name along with PASS or FAIL with message, which makes it difficult to report generation with test IDs.
Proposal for Unity:
Enable Unity to print test ID along with test name.
Allocate a field to store CurrentTestId along with CurrentTestName
Test runner should clear CurrentTestId post assigning CurrentTestName
Each test should set CurrentTestId from the test function with a unity macro.
UnityTestResultsBegin function to print the ':' and CurrentTestId after test name.
Proposal for overall report generation:
Add a configuration for base URL in report generation plugins
Various report generation plugins can parse this text report from unity and have a tag for test ID, which concatenates base URL to give full link. Such links in HTML could be very helpful.
Planning to keep this entire test ID and report generation as a compile time feature which would be disabled by default.
Activity
Letme commentedon Jan 6, 2026
Maybe you are missing something like https://github.com/melexis/xunit2rst ? We use Sphinx documentation engine (reStructured text) that can produce a link you are looking via traceability extension https://melexis.github.io/sphinx-traceability-extension/configuration.html#external-relationship-to-url-translation . It also has an option to generate full traceability from unit tests (implementation via doxy-link extension) to results, to itemized unit test plan, design, architecture, integration test plan and requirements (along with qualification test plan from robotframework).