NCrunch is a great tool. However, I wanted to report a cosmetical issue when showing NCrunch details of a single line in the text editor. Unfortunately, attaching an image to this post is unnecessarily complex (I cannot just serve an image on the web) so I will try to describe on how to reproduce and what the effect looks like.
Steps to reproduce:
- Write a unit test that calls a method with a string argument including an underscore character followed by any alphanumerical character; example:
Quote:sut.Validate("abc_def").Should().BeTrue();
- Make the test fail on the line, the method gets called (here by making "Validate" return false)
- With the mouse cursor click on or hover over the VS code editor border over the NCrunch red cross signalling that a test has failed at this line
Observation:
In the popup/tooltip window, the expectation of the unit test assertion is printed. Here the underscore character is no longer printed separately but underlines the following character (here: abc
def) just as known from UI accelerators.
I'm running Visual Studio 15.9.10 Professional, NCrunch 3.22.0.1, NUnit 3.11.0, NUnitTestAdapter 3.11.2, and FluentAssertions 5.5.3 on a German Windows 10 1809 with US English UI, German locale and Visual Studio in English.
Cheers and keep up the good work,
Kristian