Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Doesnt run [Theory] tests
Thanks - that confirms that the issue is with Gallio's static analysis of the Xunit tests. I'm not sure what can be done about this in the short term, but I am expecting to make some revisions around the Xunit integration in future so hopefully it will later be fixed.
09 May 2012 21:33 UTC
-
Doesnt run [Theory] tests
Hi, thanks for reporting this issue. Does the issue still occur if you set your 'Framework utilisation type for Gallio' to 'DynamicAnalysis' inside your NCrunch solution configuration?
08 May 2012 21:44 UTC
-
'continuous build' output available for (Ctrl)F5?
Hi, thanks for posting! The main vision of NCrunch has always been to try and get out of the way of the IDE and the normal build system. This is done for a number of reasons: Interference with other user/IDE processes - Having a continuous test runner constantly locking files and manipulating…
08 May 2012 21:43 UTC
-
Test Using DeployItem attribute throw errors
Hi, thanks for posting. It looks as though NCrunch is having difficulty with the DeploymentItem existing on the static fixture setup method. Does this work correctly for you if you move the item to the test method instead? Thanks! Remco
08 May 2012 21:28 UTC
-
Find test coverage issues report
In a sense, this is what the Tests Window was designed to do. I think a key feature that the Tests Window lacks is the ability to easily navigate back to the code via stack trace navigation - which is something I hope to fix soon. Thanks for the suggestion :)
06 May 2012 09:46 UTC
-
Test coverage at a glance
Thanks for the suggestion. I had been looking at summary markers for methods (perhaps with a different shape), although the idea of also having markers at a class level wasn't something I had considered - and it's definitely a good idea.
06 May 2012 09:44 UTC
-
Tests build & run in VS2010, but not in NCrunch
The tricky thing with solving this inside NCrunch is that doing so would require NCrunch to have a logical understanding of the entire workings of the build scripts being included by the <Import> tags in the proj file. In the case of Cavity, a very rudimentary understanding would be ok (as the scri…
06 May 2012 09:42 UTC
-
VS11 ShimNotSupportedException when using Shimming from Microsoft Fakes
Hi, thanks for posting! My first thought on reading this is that NCrunch's instrumentation is interfering with Fakes at a runtime level. There are other mocking frameworks that work in a similar way, and NCrunch has specific catch-points to deal with their logic. In the current version of NCrun…
06 May 2012 00:19 UTC
-
Tests build & run in VS2010, but not in NCrunch
Hi Alan! It's great to hear from you and I hope that all is well. I've had a go at running NCrunch against Cavity, and I think that you may have some work ahead of you to make NCrunch work correctly against a solution of this structure. NCrunch works by extracting individual projects from the…
06 May 2012 00:06 UTC
-
Indicators missing! Uninstalled extension by mistake.
Hi, thanks for posting! My assumption is that you're running VS2010, so please do correct me if I need to revise these instructions. When you uninstall a VS extension using the extension manager, it will immediately disable the extension by marking it for deletion. This creates a somewhat unu…
03 May 2012 22:38 UTC
-
very long time to build new workspace - possibly the cause is nuget
I like your idea of showing the message if the packages dir is empty or missing. To me this would probably catch around 99% of the error cases and could give a meaningful message asking the user to rebuild their solution before enabling NCrunch. I'll see what I can do about implementing this pro…
03 May 2012 01:16 UTC
-
very long time to build new workspace - possibly the cause is nuget
This is possible, but then there is the underlying question of why a user would be making use of nuget package restore. The main reason I could think of is if they were working with a solution under which all Nuget packages had been deliberately left out of source control. In this case, there is…
02 May 2012 23:47 UTC
-
very long time to build new workspace - possibly the cause is nuget
Hi, You're absolutely correct with all of the above. NCrunch is copying all the nuget references into each isolated workspace for each component, and this creates a lot of grinding. It also uses a lot of disk space. NCrunch won't recopy the nuget packages again once the engine is properly wo…
02 May 2012 22:09 UTC
-
Hotkey for "Ignore all tests outside current file" + counterparts
Hi, thanks for posting and thanks for the feedback! NCrunch has a feature that you might find interesting (you may have already seen it, but I thought it worth checking). If you right-click a test in the Tests Window (or the code coverage popup) to bring up the context menu, then look under 'Adv…
02 May 2012 10:35 UTC
-
Build failure - no space before base class
That's ok - do let me know if you experience another occurrence of the issue, I have a feeling we're getting close.
01 May 2012 22:43 UTC
-
Build failure - no space before base class
Thanks. Knowing that the issues are occurring within the scope of a single project helps to rule out a large number of dependency resolution and versioning issues, so this is good news. I think the best thing to do from here (if you are able to reproduce the problem again) would be to try to ide…
30 Apr 2012 23:19 UTC
-
System.NullReferenceException when running with isolator V7
Thanks - that's very useful. Are you able to share which precise version of Isolator you're using? I'll look into the problem here and will try to reproduce it.
30 Apr 2012 10:39 UTC
-
Tests with singletons
Hi, thanks for posting! The problem you're experiencing is most likely due to the sequence in which your tests are being executed. Other test runners will often have a fixed order in which they execute the tests you've selected (for example, alphabetical). NCrunch doesn't follow this pattern, a…
30 Apr 2012 10:38 UTC
-
System.NullReferenceException when running with isolator V7
Hi, thanks for sharing this issue. Are you able to share any code from the test? If you're able to show the test record/expectations this may help highlight the the issue. Also, can you confirm whether you're running the latest version of Isolator V7? The first release of Isolator V7 had som…
29 Apr 2012 21:54 UTC
-
Build failure - no space before base class
Sorry, a few more questions to help to better understand what is happening: - Are there any other references from the failing project(s) to types within the project that contains ViewModelBase? Do any of these references throw errors? - Are you using the 'Copy assembly references to workspace' …
26 Apr 2012 22:06 UTC