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
Since snitch supports the same test listing and filtering CLI interface as Catch2, in principle we should be able to reuse the Catch2 CTest integration to run the snitch tests.
In practice it does not work because, currently, snitch applies test filtering on the base name of the test case only, and not the full name reported in --list-tests. The base name and full name differ for typed (templated) test cases, e.g. full name foo <int> vs base name foo. Therefore CTest gets the full name from --list-test and then tries to filter the tests with this full name, and finds nothing.
The text was updated successfully, but these errors were encountered:
Since snitch supports the same test listing and filtering CLI interface as Catch2, in principle we should be able to reuse the Catch2 CTest integration to run the snitch tests.
In practice it does not work because, currently, snitch applies test filtering on the base name of the test case only, and not the full name reported in
--list-tests
. The base name and full name differ for typed (templated) test cases, e.g. full namefoo <int>
vs base namefoo
. Therefore CTest gets the full name from--list-test
and then tries to filter the tests with this full name, and finds nothing.The text was updated successfully, but these errors were encountered: