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
When I run a set of tests that produce a lot of console output, I get this message for a subset of my tests:
Test adapter sent back a result for an unknown test case. Ignoring result for 'MyTest'
Note I have both succesful tests and "unkown test case' from tests in the same assembly.
When this happens, 'MyTest' seems to disappears from the Test Explorer window and CodeLens, and I keep getting the 'unknown test case' message for the same tests, until I do a rebuild. After rebuild, everything runs fine again.
Since the rebuild fixes the test detection, I'll link another maybe related issue here: #110
In order for us to know how to treat this report, we need to know the signature of the test that is not known to Visual Studio. If it's a test with parameters, you may find two results reported under one "test" in the explorer window, so check for that as well.
I've witnessed the quirks of parameterized tests numerous times, so I actually ignore issues with them by default. But: it's also occurring for void methods without args.
When I run a set of tests that produce a lot of console output, I get this message for a subset of my tests:
Test adapter sent back a result for an unknown test case. Ignoring result for 'MyTest'
Note I have both succesful tests and "unkown test case' from tests in the same assembly.
When this happens, 'MyTest' seems to disappears from the Test Explorer window and CodeLens, and I keep getting the 'unknown test case' message for the same tests, until I do a rebuild. After rebuild, everything runs fine again.
Since the rebuild fixes the test detection, I'll link another maybe related issue here: #110
And to conclude, the issue sounds a lot like the GTA throttling thing: csoltenborn/GoogleTestAdapter#15
The text was updated successfully, but these errors were encountered: