Place the following MSpec classes in separate files.
Code:
[Subject(typeof(fake))]
public class fake {
protected Behaves_like<FailSpecificationBehavior> a_failure;
}
[Behaviors]
public class FailSpecificationBehavior {
It should_fail = () => true.ShouldBeFalse();
}
Setup NCrunch/MSpec and allow the test to run.
Now open the NCrunch Tests window and select the test and right-click on it and select "Go to selected test".
I would expect this to navigate to the specification (possibly to the Behaves_like assertion), not to the assertion implementation in the underlying behavior. The vast majority of the time I navigate to a test it's because I want to debug or edit something in the specification, not the behavior implementation. The current behavior means that there's no way to navigate to the actual specification using NCrunch.