Closed kreuzberger closed 1 year ago
Using sphinx >= 6.0
Ok, i see 2 potential errors: First: if NO LINK is found, the functions returns ALWAYS the desired value. This should return none. Second: the function checks only "links", i assumed it searches "links_back" also.
:edit: Ok, and from the docu ( i missed the restrictions hint) incoming links are not available with dynamic functions. So second is just not valid
Hi!
I try to use
check_linked_values
dynamic function to resolve the results from importet junit file to my previously defined test cases.Attached files contains the junit xml (one tests with status fail) and the index.rst with the report definition. Expected: in the needstable one row gets red, other rows have no color due to
check_linked_values
returning only failed for ONE case. But the result is that EVERY row is marked failed. Doescheck_linked_values
perform a deep search of all linked values (and therefore for the complete file test file itself?). Or what is wrong in my usage of dynamic function?Content of report index.rst
The content of the xml file is:
Attached files: doc_test_ctest_file_result_filter.zip![Screenshot_20230223_092144](https://user-images.githubusercontent.com/579125/220855123-d561bd47-d751-44bb-83ef-e8f7050bbbab.png)