Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
NCrunch fails to build Pex generated tests
Hi, thanks for posting! NCrunch doesn't support the Moles framework, as this framework requires the use of a specialised profiler to be loaded into the test environment in order to work correctly (which NCrunch currently cannot handle). Sorry. Cheers, Remco
07 Aug 2012 08:45 UTC
-
Using NCrunch with JustMock
Hi Yanglee, thanks for posting! Do you have any references from your test project to a Telerik.JustMock.dll? NCrunch looks for a reference to this assembly in order to determine whether to use the JustMock proxy process. I'm wondering if its possible that the version of JustMock you're using pe…
07 Aug 2012 08:44 UTC
-
Unit testing with classes from Roslyn.Services namespace results in a SecurityException
Thanks. I'll note this down to look into and fix in a future revision. Did you have any luck with adding the security configuration into the .config file?
04 Aug 2012 22:13 UTC
-
Unit testing with classes from Roslyn.Services namespace results in a SecurityException
Hi Distilled, Thanks for posting! I suspect this may be due to a difference in the serialization security level between the NCrunch test runner and the other test runners you're using. There is a way you can control this security level via the .config file used for your test environment. I…
04 Aug 2012 00:09 UTC
-
Selenium Browser Drivers
Hi Mark, Thanks for posting! It looks to me like your chromedriver.exe is being referenced from the test/project using a relative file path. There's no reason why this can't work with NCrunch, but you need to let NCrunch know about the file so that it can copy it to the workspace used for tes…
01 Aug 2012 21:36 UTC
-
Forum Login VS Wiki Login
Hi Daryl, Thanks for posting! Right now both systems are completely separate and use different authentication systems, with the Wiki currently using closed logins only. Were you looking to post a comment or adjust anything in the Wiki? If you can describe what you'd like to change, I may b…
31 Jul 2012 21:43 UTC
-
Parallel test execution constraints question
Hi Wilhelm, Thanks for posting! I can't see any way to do this without creating an individual resource for each possible combination between A and B tests, which I presume is something that's occurred to you but is considered not an option because it's very messy and hard to maintain. Can y…
31 Jul 2012 21:41 UTC
-
Recursive folder searching in 'Additional files to include'
Hi Marqus - You can. The syntax is slightly different to what you've described though. Instead, try using: TestData\**.* Cheers, Remco
31 Jul 2012 21:31 UTC
-
StructureMap issue AssemblyInitialize
Unfortunately it's quite a difficult thing to change, as it is very much tied into the architecture NCrunch uses in order to run tests. The overhead of launching test processes and sending profiled data back and forth is very high, so the batching makes a big difference in the overall performance o…
27 Jul 2012 22:10 UTC
-
StructureMap issue AssemblyInitialize
Hi, thanks for posting! NCrunch has difficulty with these tests because it uses test processes in a different manner to VS's MSTest runner. The standard MSTest runner will spawn a test process, then run all the tests one by one until completion, then tear the process down. NCrunch will spaw…
27 Jul 2012 10:36 UTC
-
Show project type column in the Configuration Pane
One of the design goals of the configuration pane was to try and keep it as simple as possible (so as to avoid confusion), so I'm not sure how readily I can introduce this feature, but thanks for the suggestion!
26 Jul 2012 22:21 UTC
-
"Track Active Item in Solution Explorer" is not respected when double clicking a failure or test
Hi, thanks for posting. It sounds to me like the file being opened by NCrunch is not the same as the file actually represented in your solution. This is theoretically possible if NCrunch has issues with mapping data returned from the build process. If you double-click a test to open up a file…
26 Jul 2012 22:19 UTC
-
How to completely UNINSTALL NCrunch from VS2010?
Hi thanks for posting! NCrunch is just a standard windows program like any other, and if you installed it via MSI, it uninstalls from the 'Programs and Features' list. Otherwise, all you need to do is remove the following directory with its contents (with your IDE closed): Program Files (x8…
26 Jul 2012 22:14 UTC
-
Automatically pin new tests in 'Run pinned tests automatically...' mode
Yeah this is annoying. I've been thinking about adding it as a checkbox option on the engine mode. Thanks for suggesting it :)
26 Jul 2012 22:11 UTC
-
Huge Memory usage
Nice analysis! Thanks for the memory dump. This does help to confirm my suspicions that the leaks are being caused internally in MSBuild. Whether or not NCrunch's manner of use of MSBuild is contributing to this is an interesting question and I'll continue looking into this. The upcoming 1.41b r…
26 Jul 2012 00:06 UTC
-
Hyperlinks do not detect open document
Hi Mike - Thanks for reporting this issue. The issue is caused by NCrunch failing to properly interpret build errors inside files that are specified in their project file using backwards relative paths (as would be the case if you are referencing files between projects). A fix is being prepar…
26 Jul 2012 00:02 UTC
-
Go to selected test doesn't work for MSpec
This is caused by a technical limitation of tests without a body, as these tests have no representation in the PDB file and therefore NCrunch isn't able to 'find' them in the source code. I'm afraid there aren't any quick fixes to this. It will need to be addressed as a long term problem. Thank…
25 Jul 2012 23:58 UTC
-
NCrunch failing to build MVC Integration Test sample
Hi, thanks for posting! Great to see NCrunch building up adoption in Auckland. Essentially your test project has what I like to call an 'Implicit' reference to the contents of your web project. NCrunch treats each project as a completely separate unit to be built and tested independently, so th…
25 Jul 2012 23:42 UTC
-
NCrunch ignoring preprocessor, but only for certain projects
In theory, setting the 'Use build configuration' to 'UNITTEST' for each of your projects should solve your problem - though as you've described it sounds as though something more complicated is going on. Would you be able to show me an extract of the XML from one of your project files showing the…
24 Jul 2012 22:16 UTC
-
Cannot process test project because of ProcessLoadTimeoutException
This is of some interest to me as NCrunch has several reported problems with the latest version of TypeMock. Which version of TypeMock are you using and which installer solved the problem? Is everything working correctly now? Cheers, Remco
24 Jul 2012 22:02 UTC