Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. NCrunch with external dependencies

    Also - something else I forgot to mention .. if you haven't already, try turning on that 'Copy referenced assemblies to workspace' for ALL of your projects (not just the test project). Sometimes this makes a difference as the dependency may be deeper down the project tree.

  2. NCrunch with external dependencies

    Do you have any resource files that the SQL dependency makes use of but aren't included in your project file? You can quickly identify if this is the cause through the following: 1. Right click on the failed test in the tests window 2. Choose Advanced->Browse to workspace 3. Open an explorer w…

  3. Enable NCrunch menu option is disabled

    Thanks - I'm glad that did the trick :) There is an intermittent issue in there somewhere in the process termination. I haven't yet been able to pinpoint it, but if you can find anything that helps you to create the problem consistently I'd love to hear more about it. Cheers, Remco

  4. VerificationException while running tests

    Hi, thanks for posting! The tests in this project seem to be working for me, although my snapshot of the NHibernate source may be out of date. Which test specifically causes the problem for you? Is it all of them? Also, are you able to submit a bug report just after you finish running the …

  5. NCrunch with external dependencies

    Hi, thanks for posting! If you haven't read it yet, there's a page in the wiki that describes some common problems that can cause test related issues like the one you've described - https://www.ncrunch.net/documentation/troubleshooting_test-and-runtime-related-issues I have a feeling that the …

  6. Enable NCrunch menu option is disabled

    Hi Calvin - I'm wondering if you might be able to try downloading the latest version of NCrunch for VS11. Shortly after 1.38b was released, this problem was reported and I put up a new build revision with a fix for it ... it's quite possible that you were in the early batch of people to download…

  7. Navigate previous/next broken test using keyboard shortcuts

    Hi Ylee - I've been thinking a bit about this feature, particularly the navigation one. The interesting question around this is what should be considered a failure point. Naturally NCrunch has information on both build failures and test failures, and the navigation to a failing test could be …

  8. Enable NCrunch menu option is disabled

    Hi Calvin, Thanks for posting! I've had a look through the bug report you sent through, and it appears like an initialisation problem of some kind. Are you able to let me know which version of Visual Studio you are using? Also, does the problem occur if you open your solution directly from…

  9. Don't Build/Run when editing .js files

    Hi Douglas, Thanks for posting! NCrunch will automatically run a build as soon as any change is made to a file that is part of the solution. This is intentional behaviour as NCrunch needs to keep its workspaces updated and it can only be prevented by disabling NCrunch. As for your tests, it so…

  10. Integration with SpecFlow

    Hi, thanks for posting! NCrunch doesn't have any special code or integration with SpecFlow, though as you've described it does recognise the NUnit tests that specflow generates. Because NCrunch isn't aware of the custom tool, it will simply kick off tests whenever a change is made to one of the …

  11. Test Using DeployItem attribute throw errors

    If all is working correctly, you should see the files in both your NCrunch workspace and in the MSTest workspace (the 'Out' directory). If you set your 'log verbosity' to detailed (NCrunch global configuration), then clicking on the test task in the processing queue should give you detailed infor…

  12. v1.37b failing to build project that v1.26 did

    Thanks, this makes good sense. I'll see what I can do about implementing a fix.

  13. xUnit tests with FSharp are not recognized

    Thanks. I'll take a look at it and will see what I can do :)

  14. Stalling at: Running (First time run)

    Hi, thanks for posting! This is a rare problem that is caused by something in the security configuration of your workstation/user account. You may also find that other libraries or tools that you use could exhibit similar problems. Have a look at [url](- BROKEN LINK -)[/url] for more informatio…

  15. Test Using DeployItem attribute throw errors

    Hi, thanks for posting! NCrunch does support the DeploymentItem attribute, though it needs to be used in combination with the 'additional files to include' or while including the test resources in your project file. So basically, you need to do both of the above things you mentioned to make this…

  16. xUnit tests with FSharp are not recognized

    Hi, Thanks for reporting this. Does it make any difference if you set your 'Framework utilisation type' for XUnit/Gallio to 'DynamicAnalysis' for this solution?

  17. no stack traces when test fails

    Would you be able to submit a bug report after the error happens? I'll then be able to take a look at the log file this sends through.

  18. v1.37b failing to build project that v1.26 did

    It looks to me as though you have a derivative of NUnit.Framework.CategoryAttribute that takes an integer value in its constructor? What happens if you change your 'Framework utilisation type for NUnit' NCrunch solution setting to 'UseDynamicAnalysis' ?

  19. Failure reading resource file

    Excellent thanks! Hopefully others will also find this useful :)

  20. Test category not working with MSTest

    It's already there :) You can create a custom engine mode that will exclude tests from automatically execution by their category - [url]https://www.ncrunch.net/documentation/concepts_engine-modes[/url]