Skip to content
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

Ignoring result #114

Open
GrimaceOfDespair opened this issue Jun 6, 2016 · 4 comments
Open

Ignoring result #114

GrimaceOfDespair opened this issue Jun 6, 2016 · 4 comments
Labels

Comments

@GrimaceOfDespair
Copy link

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

@CharliePoole
Copy link
Contributor

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.

@GrimaceOfDespair
Copy link
Author

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.

@CharliePoole
Copy link
Contributor

What are the versions for the nunit framework and the adapter?

@GrimaceOfDespair
Copy link
Author

  • NUnit.2.6.4
  • NUnitTestAdapter.2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants