Forum member

Balfa

14 posts

Posts by Balfa

  1. ExcludeFromCodeCoverage ignored in optimized instrumentation mode?

    If I switch from legacy to optimized instrumentation modes, my code coverage for a certain project drops from 78.23% to 50.33%. This project makes significant use of the [ExcludeFromCodeCoverage] attribute, and looking at the metrics screen, those classes that should be exclude are showing as 0.00% …

  2. NCrunch can't build projects in VS 2015 RTM that include Specflow

    Oops. http://forum.ncrunch.net/yaf_postst1608_Build-fails-with-VS-2015-RTM.aspx has just been pointed out to me. I did look around for this before I posted, honest! Thanks for your feedback there :)

  3. NCrunch can't build projects in VS 2015 RTM that include Specflow

    If I create a brand new class library in VS 2015 RTM and add the "SpecFlow" NuGet package (version 1.9.0), I can build just fine in Visual Studio, but NCrunch fails to build with the following error: ..\packages\SpecFlow.1.9.0\tools\TechTalk.SpecFlow.targets (47, 5): Unable to cast object of type…

  4. Ignore categories of tests

    Maybe this will be the killer feature I need to justify upgrading ;) https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/6068948-ignore-categories-of-tests Thanks for your answers.

  5. Ignore categories of tests

    Ah, I just realised it's probably because I'm still on version 1 that don't see any Category rows (or anything Category-related) in the Tests Window.

  6. Ignore categories of tests

    I don't fully understand what you mean about the ignore options working at category level. I can't see anything category-related inside the Tests window. How do I add one of these ignores that does work at category level?

  7. Ignore categories of tests

    With NamedTestSelector and RegexTestSelector, I can ignore a single test or a collection of tests, but I can't see a way to ignore a Category (using the NUnit categories as described at http://www.ncrunch.net/documentation/concepts_test-categories ). I have a category of integration tests called "Da…

  8. Upgrade licensing question

    Cool, thanks for clearing that up :)

  9. Upgrade licensing question

    We purchased v1 in October 2012 and I'd like to clarify something. If we're not in a situation to purchase an upgrade at the moment, can we sit on version 1 for the next 18 or 24 or 36 months or whatever, and then avail of the upgrade pricing at that time to get the latest version at that moment plu…

  10. DLLs Copied to project(s) root directory

    This happens to me fairly frequently ever since I started using NCrunch over a year ago. I've seen DLLs randomly appear in both the solution root directory (which contains no .csproj) and in project root directories, but it seems to happen more often on the solution level. I'm not sure I've ever se…

  11. No coverage markers after upgrading

    Blimey, I found this: https://www.ncrunch.net/documentation/troubleshooting_missing-code-coverage After following those instructions -- replacing "2012" with "2010" (and "11.0" with "10.0" ;) ) -- it's fixed! Hooray!

  12. No coverage markers after upgrading

    I just upgraded from NCrunch_VS2010_1.39.15b to NCrunch_VS2010_1.41.0.50 and now I have no more coverage markers anywhere in my code. Not in the test classes themselves, not in the code being tested, nowhere! Everything still works as before. All my tests show in the NCrunch Tests window, and the j…

  13. minimum execution time in tooltip

    When hovering over a tooltip, we see something like: Covered by 3 passing tests Average execution time per test is 208ms Total execution time for all tests is 624ms Since the last line is just a simple function of the first two lines, it doesn't seem to me like it's that useful. Maybe replac…

  14. NCrunch build fails when project contains an app.manifest

    Hi, I have an application that's failing to build in NCrunch. I get the following error in the NCrunch Tests pane: [code]NCrunch: If you are experiencing problems in getting this project to build, have a look at https://www.ncrunch.net/documentation/troubleshooting_project-build-issues c:\W…