Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Disable bower/gulp/etc. in NCrunch builds?

    [quote=bstenzel;7958]Thanks for your reply. Dead-on; bower and gulp are integrated with custom build targets. Prefixing all the conditions with "'$(NCrunch)' != '1' And " brought the build time in NCrunch down to under one second. There's still a curious delay of a couple seconds before it actually …

  2. Can NCrunch be improved in the "analyze stage" somehow?

    That's definitely on the extreme side for project size. I can understand the issue you have with the session factory initialisation, and this is tough to work around for best performance. The only suggestion I can offer here would be to look at ways that you might be able to move some of the code …

  3. Disable bower/gulp/etc. in NCrunch builds?

    Hi, Thanks for posting. I admit that I'm not sure how bower and gulp are integrated into your build, but normally build integration is done with custom build targets hooked in with build <Import> tags inside the project XML. NCrunch has an environment variable that it always sets when build…

  4. NCrunch does not ignore TestCase tests correctly with NUnit 3

    A fix for the testcase ignore issue is now available: [url=http://downloads.ncrunch.net/NCrunch_Console_2.18.0.1.msi]http://downloads.ncrunch.net/NCrunch_Console_2.18.0.1.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_2.18.0.1.zip]http://downloads.ncrunch.net/NCrunch_Console_2.18.0.…

  5. SetUpFixture for specific namespace gets executed when running a single test in different namespace

    Thanks. I've managed to reproduce this issue and have prepared a fixed build for you: [url=http://downloads.ncrunch.net/NCrunch_Console_2.18.0.1.msi]http://downloads.ncrunch.net/NCrunch_Console_2.18.0.1.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_2.18.0.1.zip]http://downloads.nc…

  6. Having trouble with a Portable Class Library (PCL) - Load Failure

    I've managed to reproduce this issue using a Universal Class Library project template. It looks like this project type has the same structure as a DNX project, with a few differences. Sorry, I won't be able to provide you with a solution to this problem until DNX support is added to NCrunch. Univ…

  7. Having trouble with a Portable Class Library (PCL) - Load Failure

    Hi, thanks for sharing this issue. It looks like NCrunch is unable to properly identify this project type, and it thinks it's compiling a DNX project. Do you know which VS project template was used to create this project? Or can you share any sample code using the [url=https://www.ncrunch.net…

  8. Can NCrunch be improved in the "analyze stage" somehow?

    Hi, Those are some fairly extreme times for a single project. How large is this project? Broadly, there are two things that happen in the analysis step that could take a long time: 1. The creation of an application domain for discovery and testing: Before NCrunch can invoke a test framewor…

  9. NUnit tests with the same name inside the same project.

    The ItShouldThrow example you've given above looks perfectly fine. Remember that NCrunch also uses fixtures, namespaces and projects to disambiguate tests from each other. Having two tests under the same name should be physically impossible without using TestCaseSource or a very interesting parame…

  10. NUnit tests with the same name inside the same project.

    [quote=GreenMoose;7938]Thanks. Having unique test names for us is a bit cumbersome since it breaks the "BDD style" test layout "WhenCustomerIsAuthenticated" (fixture) -> "ItShouldNotThrow", "ItShouldCreateALogEntry", "ItShouldCreateEmailNotification" (tests) etc. [/quote] I wouldn't think tha…

  11. NCrunch does not ignore TestCase tests correctly with NUnit 3

    [quote=DeltaEngine;7936]Thanks. I also have to say that NCrunch NUnit 3.0 Support is the best. ReSharper 10 is completely broken (executes all tests instead of the selected one, even ignored ones, text output is broken, etc.), CodeRush still does not support it, the NUnit Test Adapter plainly does n…

  12. MissingMethodException after moving from VS 2012 to VS 2015

    [quote=abelb;7933]I found the culprit. It turned out that after conversion to VS 2015, the NUnit test F# project referenced the F# 3 runtime, while other parts referenced the F# 4 runtime. Don't know why it wasn't consistently updated. Strangely, some of the assemblies still target the F# 3 runtime,…

  13. MissingMethodException after moving from VS 2012 to VS 2015

    Is the referenced assembly loaded into the GAC perhaps? GAC resolution takes priority over everything else, and it can result in considerable mess in some situations. If not, does setting the engine in [url=http://www.ncrunch.net/documentation/troubleshooting_compatibility-mode]compatibility mod…

  14. SetUpFixture for specific namespace gets executed when running a single test in different namespace

    Hi, thanks for posting. Can you confirm which version of NUnit you are using?

  15. NCrunch does not ignore TestCase tests correctly with NUnit 3

    Hi, thanks for sharing this issue. My guess would be that the ignore attribute is being applied at the test level and it isn't working its way down into the individual test cases. As a result, NCrunch isn't applying it correctly. As you've discovered, the workaround is to manually ignore the …

  16. NUnit tests with the same name inside the same project.

    [quote=GreenMoose;7918] Does this mean I should not have 2 tests within same project where the test names both are named e.g. "ItShouldThrow", no matter namespace/fixture name etc. ? [/quote] The uniqueness of a test is determined by: - Project - Namespace - Fixture - Test 'name' as reporte…

  17. How to choose what projects and solutions not to test

    Hi, thanks for posting! I'm sorry in that I'm having a hard time understanding exactly what you're asking. Are you saying that you want to try and use NCrunch across multiple solutions at the same time? Or that you want to consolidate coverage reports together for multiple solutions? In the …

  18. Early versions of .NET 4.6 under x64 where a serious GC performance...

    The grid nodes don't detect this problem, but they aren't as heavily affected by it. The amount of algorithmic processing on the nodes by NCrunch is actually very low - they mostly just spawn processes and call into user code. I would expect that there is no action you need to take here, but if yo…

  19. Ncrunch output window text wrapping

    Hi Paul, Thanks for posting! Sorry, at the moment this isn't possible. The only thing I can suggest is that you put it forward as a [dead link] and try copying/pasting stacks out of the window to try viewing them in another editor.

  20. Coverage info vanished

    Hi Ilya, Thanks for reporting this problem. Please accept my apologies for the website being down – it seemed to hit some kind of DB related problem overnight and has since recovered. It looks to me like there is an inconsistency here being caused by a race condition in the test. The test st…