Update CodeLens test stats
In Visual Studio 2015, Code Lens shows me 0 passing tests, while NCrunch shows me all green markers.
Maybe it is possible for NCrunch to update the CodeLens test statistics.
Matthew Steeples commented
Hi Remco, Not saying that you need to reconsider implementing this feature (as we would find it useful if you could update the Test Runner numbers rather than creating a new item) but Codelens does look to be extensible through a public and supported API - https://github.com/microsoft/VSSDK-Extensibility-Samples/tree/master/CodeLensOopSample
Craig Shea commented
So, the CodeLens statistics you're seeing are for "integrated" unit test frameworks, e.g. NUnit, MSTest, xUnit, which use the VS Test Runner. Since NCrunch is using its own runner which does not integrate with the VS Test Runner itself, it does not update the "out of the box" CodeLens.
However, this does not necessarily negate the ability for NCrunch to be able to supply its own CodeLens--though, I'm not sure that it's really needed since this information is already provided in the markers shown to the left of covered code.