Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
DeploymentItem results are inconsistent
Hi Danny, Thanks for the detailed response! My first suspicion is that the file not being deployed is missing from the NCrunch workspace, because it wasn't included in the project file - have a look at [url=http://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-depende…
19 Nov 2012 20:18 UTC
-
Test fails without error message
This usually means the test runner has had an internal failure. Check the processing queue for the test task that failed - do you see an error message in the bottom pane?
19 Nov 2012 19:59 UTC
-
Xunit Theory and Code Coverage Markers
Hi, thanks for posting! I'm wondering if this may be to related to the execution pattern taken by the tests while NCrunch is recording coverage. There's a good [url=http://www.ncrunch.net/documentation/troubleshooting_missing-code-coverage]description in the documentation[/url] of how NCrunch's …
19 Nov 2012 19:58 UTC
-
Color scheme reverts to default, but configuration still shows the correct colors. VS 2012
Hi, thanks for posting! The colour control for the tool windows is still a new feature, so it's quite possible there is a problem here. Do the windows adjust to their correct colouring when NCrunch is first enabled? NCrunch doesn't actually identify any tool windows until it is first switched o…
19 Nov 2012 19:55 UTC
-
Projects won't build
Hi Dan, Sorry, I missed your earlier post. I hope you don't mind me asking a few more questions to help narrow this down further. - What is your current setting for the 'Include Static References In Workspace' setting? Do any of your projects have this disabled? - How frequently does this oc…
19 Nov 2012 19:53 UTC
-
FxCop (CodeAnalysis) is running during NCrunch build
Hi, thanks for posting! The best way to handle this situation would be to find the property or build step inside your .proj that involves executing FxCop, and marking it with a condition so that it will only execute if NCrunch isn't present. You'll find an example of how to implement this [url…
16 Nov 2012 22:45 UTC
-
Tests don't fail when MSTest initialize function is incorrect
Hi Sam, Yes. NCrunch's implementation of MSTest is emulated rather than integrated, which means that issues like this do exist. The tricky thing is that introducing a version of NCrunch that changes this behaviour may very well cause tests to break for other users who have written tests now r…
16 Nov 2012 22:41 UTC
-
DeploymentItem results are inconsistent
Hi Danny, Thanks for posting! Are you able to show me the declarations of these DeploymentItems and the tests that use them? (test code inside the methods not needed unless you want to share it). This will help me to identify why NCrunch is failing in this situation. If you haven't already, …
16 Nov 2012 22:38 UTC
-
No coverage for [SetUpFixture] class (NUnit)?
Thanks for your feedback. It's quite a significant adjustment to change the way that this works, so I'm afraid that no changes in this area will be released as part of a minor revision. If this feature is changed, it will likely be in V2 or beyond. Cheers, Remco
15 Nov 2012 20:05 UTC
-
Optional argument causes build error when PCL does not target Silverlight
This makes sense. The instrumentation step is also used to write the debugging information of the assembly so that it points back to the right place. There isn't an easy fix for this... I think I'd rather focus on the main issue that caused you to need to turn off this setting in the first place :…
15 Nov 2012 20:04 UTC
-
Academic/Student License
Hi, I'm sorry but there is currently no plan in place for a discount/free student licensing scheme. This is largely because of the difficulty in administering such a system fairly and in a way that is not open to abuse. Sorry, Remco
15 Nov 2012 20:02 UTC
-
Test process with timeout failure hangs after debugging
Thanks - I just saw the bug report come through. I'll take a look and will see what I can do. Cheers, Remco
15 Nov 2012 10:54 UTC
-
Test process with timeout failure hangs after debugging
Hi - I couldn't reproduce this situation when testing locally. Would you mind submitting a bug report after you've had it happen to you? Thanks! Remco
15 Nov 2012 10:23 UTC
-
Execution error in integration test using Oracle
It sounds as though this problem may stretch a little further than the NCrunch test environment :) But I still think I can suggest something that will work in all situations. MSBuild can very easily make use of environment variables - so a simple solution would be to set an environment variable …
15 Nov 2012 07:44 UTC
-
Projects won't build
The problem seems consistent with a workspace synchronisation problem ... which is something that did show up in early versions of NCrunch, but hasn't been reported for quite some time. This makes me a little anxious as I was hoping to have seen the last of these sorts of issues (they are very hard…
15 Nov 2012 07:38 UTC
-
Execution error in integration test using Oracle
I believe I have a solution to this problem that will work in your environment. It involves editing the code in your test project files to explicitly specify the target platform of the output assembly based on whether x64 is supported on the machine executing the build. Basically, you'll need to…
15 Nov 2012 05:52 UTC
-
Execution error in integration test using Oracle
So if I understand this correctly - the team members working with x64 processors all make use of the x64 version of the oracle DLL, where the x86 team members use the x86 version of the DLL. Because the Resharper test runner defaults to the x64 processor architecture under x64 compatible CPUs and x…
15 Nov 2012 05:36 UTC
-
Projects won't build
Interesting.. When renaming the DisposeTestDataAttribute file, did you do so inside the NCrunch workspace? Or in your foreground solution?
15 Nov 2012 05:26 UTC
-
Projects won't build
Thanks for this! I'm taking a look at this issue now. It looks as though the engine has managed to work itself into an invalid state. I've noticed the following exception being thrown before this, and I'm wondering if it may have something to do with the issues appearing later down the line: …
14 Nov 2012 20:18 UTC
-
Stalled Engine
Hi Dan, Database transactions/locks are a common cause of tests hanging - especially under parallel execution. I'm hoping to improve some of the mechanics around the test runner to make these situations easier to analyse and control, with much of what you've suggested already part of the plan fo…
14 Nov 2012 20:07 UTC