Skipping invalid test suites
Hi, Now pytest-cpp just skip executable if it's not a valid test suite. Sometimes it leads to a situation when we just skip some tests without any notification just because they fail on start. So we get clean test report though we have a serious issue. Is it possible to catch invalid test suites and add them to the xml report?
Hi @KBac,
Hmm yeah I think this has happened with me a few times in the past. Seems like an useful feature. I suspect you are using GoogleTests, is that right?
Hi @nicoddemus , You are right. I'm using gtest.
And for example, I occasionally link my tests with shared library instead of static. So when pytest runs them they even don't start as they can't find this *.so file. I realized that I have an issue just because the number of tests in test report became dramatically low. But all of them passed.