useblocks / sphinx-test-reports

Documents test-results inside Sphinx
https://sphinx-test-reports.readthedocs.io/en/latest/
MIT License
28 stars 18 forks source link

tr-link not wokring with need-parts #73

Open danwos opened 4 months ago

danwos commented 4 months ago

If need-parts are used, tr_link does not check, if a given id (containing a string like 'need_id.part_id`) fits the target option.

Used like:

.. test-file:: My Test Data
   :file: teen_car/test_run_1.xml
   :id: TESTFILE_1
   :auto_suites:
   :auto_cases:
   :links: [[tr_link('case_name', 'id_complete')]]

Where [[tr_link('case_name', 'id_complete')]] is the part which should make it work. Using id instead of id_complete works.