Forum member

MikeHanson

11 posts

Posts by MikeHanson

  1. Chained Method Calls Across Multiple Lines - Not Covered

    I see, I will double check the tests to make sure something is returned. I remember when I wrote this some time ago that creating test ValidationError and ValidationResult objects for testing purposes was very messy. So very possible we skipped some tests on the basis of value vs time invested. …

  2. Chained Method Calls Across Multiple Lines - Not Covered

    Thanks for the quick response Remco. I understand better now why this occurs, but that suggests there might be something else not quite right. The very next statement after the aforementioned one is: var fullErrorMessage = string.Join("; ", errorMessages); And this statement is recognise…

  3. Chained Method Calls Across Multiple Lines - Not Covered

    When statements that include chained method calls are formatted across multiple lines only the first line is identified as covered, other lines are reported as not covered, which in turn affects coverage metrics calculations. I have the following in a C# class var errorMessages = exception.En…

  4. TestCaseSource test not being recognised

    Thanks for the quick response. I got so hung up on the fact the test wasn't listed that I forgot to make sure it was working. The problem is indeed down to references, not only could NC not find ChutzPah but when I added an implicit reference to that, ChutzPah couldn't find the AllSpecs.html file.…

  5. TestCaseSource test not being recognised

    Using this [url=http://nullorundefined.com/2013/02/13/integrating-javascript-unit-testing-into-nunit/]blog post[/url] as a template I am trying to get our Jasmine Specs integrated into NCrunch, but try as I may I cannot get NCrunch to even list the test method let alone run it. It runs fine in ReSh…

  6. JS testing support

    Just like to add my vote for including this feature if at all possible.

  7. Use personal license at work?

    Excellent, I will be buying my copy as soon as it is available.

  8. Use personal license at work?

    Will the new licensing model mentioned in your recent posts support me using my personal license at work. As a long time contractor I come across a lot of variation in tools provided, so I have personal licenses for my preferred tools and use them at work where licensing allows. R# and Visual SV…

  9. Hyperlinks do not detect open document

    Hi Remco Thanks for the fast response. That may well be the case, that it is only build errors where this happens. I will pay more attention and confirm it when I get to work this morning. Also thanks for a great product, I am a much more productive agile developer for it. Mike

  10. Hyperlinks do not detect open document

    Using NCrunch with VS 2010 and solution that includes both .NET and Silverlight projects. To test my Silverlight code using standard NUnit library I use Project Linker to maintain a standard .NET 4 class library project that contains the same code. My unit tests are run against the linked projec…

  11. Integration with SpecFlow

    Loving NCrunch rapidly becoming an essential tool that I wouldn't want to be without. I too use SpecFlow in conjunction with SpecSalad, NUnit and a UI automation framework such as Watin or WebAii. Since these tests are almost always going to be tests that drive the UI I won't want to run them co…