Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Metric not calculate tests coverage satelite dll by tests from main program
There is a way you can work around this without needing to swap the Reference for a ProjectReference - if you enable this setting: [url=http://www.ncrunch.net/documentation/reference_solution-configuration_infer-project-references-using-assembly]http://www.ncrunch.net/documentation/reference_solutio…
24 Jun 2014 10:12 UTC
-
Opposite of Isolated
Hi GreenMoose, Yes - I can see the initialisation routines being a bottleneck in your case. Fortunately, there is something you can do to help with this. NCrunch will execute tests according to their priority sequence, unless there are constraints in place (i.e. exclusively used resources, lo…
23 Jun 2014 23:55 UTC
-
Opposite of Isolated
Hi James, Assuming you have parallel execution enabled at solution config level, and your max number of processing threads is set higher than 1 (or you have other capacity via distributed processing), NCrunch will run ALL tests in parallel unless they've been specifically configured not to. This…
23 Jun 2014 23:42 UTC
-
Metric not calculate tests coverage satelite dll by tests from main program
Thanks for taking the time to make the sample project. This helped to highlight the issue very quickly. The problem is being caused by a 'Lost reference' between the projects. When creating a reference between projects in the IDE, make sure you do so using a 'ProjectReference' and not a 'Refere…
23 Jun 2014 23:29 UTC
-
Opposite of Isolated
I find this interesting and I am wondering if I am misunderstanding the way your test is operating. NCrunch will re-use test processes between test runs, so in theory, if you are using a static member to control the setup, then the same setup can apply for multiple test runs provided they still w…
23 Jun 2014 09:08 UTC
-
Opposite of Isolated
Hi James, I'm afraid I don't know of any way that NCrunch can reliably do this at the moment. But it does make good sense for a feature idea if you'd like to [url=https://ncrunch.uservoice.com]suggest it[/url]. Usually there are ways you can design the test code to make it work better in this…
22 Jun 2014 22:31 UTC
-
Engine execution exception when debugging through Specflow tests
Hi, Thanks for sharing this issue. I've been quickly able to recreate it in exactly the manner you described. The issue also appears outside of NCrunch, when performing the same actions with any other test runner. This suggests the issue is something with SpecFlow or the CLR itself. My unde…
22 Jun 2014 22:19 UTC
-
Can I change the color of the hyperlinks in the Test Output Window?
Awesome! Thanks for the feedback :)
22 Jun 2014 05:48 UTC
-
Can I change the color of the hyperlinks in the Test Output Window?
It's embedded in the code unfortunately. I think it can be improved from what it is at the moment. I'll see if I can do something about it in the next build.
21 Jun 2014 23:02 UTC
-
Can I change the color of the hyperlinks in the Test Output Window?
Thanks for the heads up. I haven't noticed any issues with Resharper in the alpha build, but if you can find any more information about this that might incriminate NCrunch, definitely do let me know.
21 Jun 2014 09:24 UTC
-
Disabling JustMock Integration
Wow, your post was a gem of useful information about this for probably more reasons that you would have initially thought. As you likely know, NCrunch works by statically instrumenting assemblies on disk. The instrumentation step is relatively fast, and allows NCrunch to discover tests at the sa…
21 Jun 2014 09:23 UTC
-
Can I change the color of the hyperlinks in the Test Output Window?
Thanks, this does look normal to me. The colour chosen for the link is a 50% tint of the foreground colour towards blue. You might be able to make it more visible by adjusting the [url=http://www.ncrunch.net/documentation/reference_global-configuration_ncrunch-tool-window-colors]NCrunch tool win…
21 Jun 2014 00:07 UTC
-
Don't start builds
The file containing the problem will be the project (.proj) file that NCrunch is showing the error for.
20 Jun 2014 23:06 UTC
-
RavenDB: System.InvalidProgramException : Common Language Runtime detected an invalid program
Thanks, this helps to narrow things right down. NCrunch doesn't perform any kind of manipulation of referenced DLLs, and by setting your projects in compatibility mode, you've excluded any other kind of manipulation. I strongly suspect this problem is being caused by the TypeMock profiler. Th…
20 Jun 2014 23:05 UTC
-
Exception logged when trying to build Fody's BasicFodyAddin solution
Hi, Thanks for sending through the bug report (it did actually come through), and sharing the clear steps to reproduce. This made it very easy to analyse the problem. This particular project has been hand-coded with custom build targets. The build targets included in the project don't refere…
20 Jun 2014 22:59 UTC
-
Disabling JustMock Integration
Hi, thanks for posting. NCrunch does auto-detect JustMock and automatically sets the proxy process file path. The intention of this is to make things easier for people that use JustMock. However, NCrunch will only load JustMock if it detects a dependency on the JustMock DLL file from the test…
20 Jun 2014 22:52 UTC
-
Can I change the color of the hyperlinks in the Test Output Window?
Hi Wade, Which version of NCrunch are you running? v2.5 introduced a change that should have resolved this problem.
20 Jun 2014 22:49 UTC
-
Don't start builds
Hi, thanks for posting! This is a very common problem that is always caused by misconfiguration inside the project file. There's a very useful documentation page that explains the problem in detail and suggests how you can fix it - [url=http://www.ncrunch.net/documentation/considerations-and-c…
20 Jun 2014 12:14 UTC
-
Copy Locally - Force Rebuild Every Time a Test is Run?
Hi Hugh, Thanks for posting! Unfortunately there isn't any feature in NCrunch you can use to force a project to rebuild before an individual test is run. Pre/post build events also unfortunately won't work in this situation, as they still require the repeat execution of a build step. I wou…
20 Jun 2014 00:55 UTC
-
RavenDB: System.InvalidProgramException : Common Language Runtime detected an invalid program
Hi, thanks for sharing this issue. Is the ICSharpCode project included in your solution? Or is this an assembly (DLL) you are referencing? Do you have a profiler based mocking framework installed such as TypeMock or JustMock? It's worth checking to see if this is related to the bitwise arc…
19 Jun 2014 22:25 UTC