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
Support for CTest #49
Comments
By testing this i have some questions about the workflows, considering "normal" sphinx-needs handling.
So should i define 4 test-case with the 4 different files and how to match my super Test-definition to "pass
How should i manage to get "TEST_MY_FEATURE" also be passed? (e.g. in test-reports) or how to handle this properly? Any help appreciated 😄 |
Thank you for integration of the PR. Could you help me on the workflow answer above? This affects how and when my testcases could updated due to "real" test results via some script magic? Also affects the differnt naming of tests and test-case directives using needs or test-reports? |
Regarding your questions, please be aware that Sphinx-Needs and the related extensions are more of a toolbox and normally do not have a hard-coded process, which one must follow. For me The question for the workflow is in my eyes more difficult to answer, as the context is important. For getting the test-results all the way up to the requirements, you can use the Dynamic function check_linked_values. |
ok, that answers most of my questions and does match with my current workflow. Thanks for the hint with check_linked_values. I will try to get it run. The exception in case of test-case directive missing the files (gives a Warning this is ok) is intended or a bug? |
It's intended because it's defined as some kind of data source and its existence is normally expected by the user. But for sure we could add a configuration value to allow this. |
ok, no need to change/configure. I was just wondering that first a warning is emitted (and sphinx builds further) and after that the exception occurs. Due to the nature of the workflow its ok that the file must exists. Like you described, the part of the test protocol should be "processed" after the build then the file exists. Thanks! |
In CMake/CTest Tool used for test runs could generate junit xml files. The files are not properly parsed due to some missing tags seemed to be required by sphinx-test-reports.
ctest.xml.txt
The text was updated successfully, but these errors were encountered: