Goto TestCaseSourceAttribute's source from Tests window.
I would be nice if it was possible to opt-in to change behavior of the context menu "Go to selected test" in that way:
With NUnit, one can write:
public static IEnumerable<TestCaseData> MyTestCaseSourceMethodName()
// return test cases...
public void MyTest(int someArgument)
// do test...
The test case factory method can be an separate (static) class.
In my case, I have a test with several dozens of test cases.
When a test fails, I can easily go to the failing test implementation, but I cannot easily find the culprit test case.
Craig Shea commented
Wow, this would be nice, but not sure it's possible. To do this, it would need to most likely rely on a lot of internal behavior of Nunit, which could change at any time. And since NCrunch is really test framework agnostic, it really doesn't want to take a dependency on internal test framework behavior.
But I hear you, this would be really nice if it were possible.
Sorry for typo: read "It would be nice if [...]"