Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
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.
27 Mar 2012 21:17 UTC
-
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…
27 Mar 2012 21:15 UTC
-
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
27 Mar 2012 09:02 UTC
-
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 …
26 Mar 2012 21:34 UTC
-
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 …
26 Mar 2012 21:27 UTC
-
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…
26 Mar 2012 21:22 UTC
-
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 …
24 Mar 2012 21:32 UTC
-
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…
24 Mar 2012 03:25 UTC
-
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…
24 Mar 2012 03:19 UTC
-
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 …
21 Mar 2012 20:57 UTC
-
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…
20 Mar 2012 21:42 UTC
-
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.
20 Mar 2012 21:40 UTC
-
xUnit tests with FSharp are not recognized
Thanks. I'll take a look at it and will see what I can do :)
20 Mar 2012 21:39 UTC
-
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…
20 Mar 2012 21:38 UTC
-
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…
20 Mar 2012 21:30 UTC
-
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?
20 Mar 2012 09:16 UTC
-
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.
19 Mar 2012 22:25 UTC
-
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 Mar 2012 20:50 UTC
-
Failure reading resource file
Excellent thanks! Hopefully others will also find this useful :)
19 Mar 2012 20:41 UTC
-
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]
19 Mar 2012 20:40 UTC