I suggest you ...

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.

57 votes
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)

We’ll send you updates on this idea

Jeroen Smits shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • Craig Shea commented  ·   ·  Flag as inappropriate

    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.

Feedback and Knowledge Base