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

Unserializable test parameter reports random test as source of error instead the error source #2646

Open
taori opened this issue Jan 13, 2023 · 0 comments

Comments

@taori
Copy link

taori commented Jan 13, 2023

After some digging through test results i found out that the test which reported an error was not the source of the error, but this signature instead:

// [Theory]
[InlineData(1,4, new[]{0, 4})]
public void Testmethod(Index start, Index end, int[] remainder)
{
}

This signature resulted in this error:
"Result reported for unknown test case: [UNRELATEDTESTMETHODNAMESPACE]". The error sent me completely off track. Ideally analyzers point out this issue or error output is improved

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

No branches or pull requests

2 participants