New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not working test-reports "links" option in sphinx-needs versions >= v1.0.2 #51
Comments
Thanks for reporting and adding a detailed error description 👍 I was able to reproduce it and could create a test case. But it looks like the handlers for need_incoming and need_outgoing are not called if When I add a dummy-need, which is also setting a .. spec:: A dummy need
:id: SPEC_001
:links: TESTSPEC_123 This means the Argh, I think I have it. This mechanism is not yet part of Sphinx-Test-Report, so the handlers get not called if no other Sphinx-Needs "links" are used somewhere in the same file. Give me some minutes :) |
":links:" where not handled correctly, if not other Sphinx-Need object was part of the same document. Fixes #51
":links:" where not handled correctly, if not other Sphinx-Need object was part of the same document. Fixes #51
":links:" where not handled correctly, if not other Sphinx-Need object was part of the same document. Fixes #51
Fix is out with PR #52. @magyarosiR can you please test, if the version on master solves all the problems now? |
Thank you for your quick solution @danwos, it is works fine locally. I used the |
After I increase Sphinx, Test-Reports and Sphinx-Needs versions I got an error message after I built my project:
or
Versions:
I played with the versions and with my implementation and I realized that problem is coming up, when increasing Sphinx-Needs version above 1.0.2. When I used <=1.0.2 everything works fine.
I have connection between Test Results (Test Cases, Test Suites from Test-Reports extension), and other own created need types using extra options. Between Test Cases (or Test Suites) and Test Specifications I am using the
:links:
extra option from Test-Results extension.When I want to link from a Test Case or Test Suite to a Test Specification I got this error message, without linking the project works.
Example implementations of Test Suite and Test Case in reStructuredText:
I got a feedback from Useblocks side to remove Sphinx parallel build while this bug has been fixed, after I removed I got the error message below:
Important finding:
If I put the "target" need in the file where the Test Case or Test Suite is, the build process is successful.
The text was updated successfully, but these errors were encountered: