Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Original test assembly location before shadow-copy
Hi Michael, Thanks for posting! NCrunch's shadow copy works at a different level to the standard .NET shadow copy (which is only performed at runtime). As such, this kind of behaviour currently can't be implemented with the way NCrunch is designed. There are many ways you can work around thi…
13 Mar 2012 21:52 UTC
-
Test category not working with MSTest
Hi David, Thanks for posting! Yes, NCrunch is supposed to support this attribute, but it looks like there is a problem here. As a workaround, you should be able to use the TestProperty attribute instead, as such: TestProperty("Category", "MyCategory") Cheers, Remco
13 Mar 2012 21:48 UTC
-
NCrunch for JavaScript?
Hi, thanks for posting and I'm glad your enjoying NCrunch! Right now I have no short term plans for implementing javascript support with NCrunch. This may change in future, but it would take considerable investment to implement. Cheers, Remco
13 Mar 2012 21:47 UTC
-
Tests that use RazorEngine get odd exception when NCrunch is the runner.
Hi, Thanks for posting and for sharing the sample project. I can assure you that there is no static linking between your code and the NCrunch binaries, and there won't be any mention of NCrunch in your production code. Basically this is a runtime issue that has occurred because of an extension …
13 Mar 2012 21:01 UTC
-
Test using WebClient fail
Hi, This sounds like an integration test, so it's probably making a few assumptions about the environment it's executing in. NCrunch runs tests in a way that is structurally very similar to other test runners, but there are some notable differences in the execution environment. Have a read of […
13 Mar 2012 20:58 UTC
-
NCrunch silently failing to build a project.
Gotcha. Are you able to check the build revision of NCrunch that you're using? The version of NCrunch that was initially pushed out with 1.38 (1.38.0.16) has this problem. Because of early reports and knowing that it was easy to fix, I implemented a fix and dropped a new revision out on the downl…
13 Mar 2012 20:53 UTC
-
System.InvalidProgramException: Common Language Runtime detected an invalid program
Thanks - this looks like a similar issue. I'll let the TypeMock guys know about it.
13 Mar 2012 20:44 UTC
-
System.InvalidProgramException: Common Language Runtime detected an invalid program
I've had a response from TypeMock support. It seems like this was an NCrunch/Isolator integration issue that surfaced with the release of Isolator 7. A fix has been implemented in the latest revision of Isolator 7, so hopefully updating your version of Isolator will solve this problem. Please let…
12 Mar 2012 21:26 UTC
-
WaitHandle.WaitAll() on STA thread
Thanks, I'll do some further testing around here and will see if I can get it sorted for the next release.
12 Mar 2012 21:23 UTC
-
WaitHandle.WaitAll() on STA thread
Hi James, The behaviour for this is likely to be test runner specific, as test runners will often implement different behaviour in this area underneath NCrunch's integration points. Which framework are you having problems with? One way that comes to my mind would be to spawn your own thread i…
12 Mar 2012 20:28 UTC
-
Failure reading resource file
Thanks! This does definitely help a lot. Does enabling the 'Copy Referenced Assemblies To Workspace' option make any difference?
12 Mar 2012 20:25 UTC
-
Failure reading resource file
In the Tests Window, there's an option to browse to the NCrunch workspace for project by right clicking on the failing project and looking under the Advanced menu. Probably what I would suggest would be to compare the contents of this workspace with the project directory that houses your project …
12 Mar 2012 08:27 UTC
-
NCrunch silently failing to build a project.
Were there any details showing in the processing queue? Often if NCrunch encounters an internal error, it will only show the details of the error in the processing queue. Most likely this had little to do with your build, and it was caused by a defect somewhere in the NCrunch engine. If you can…
12 Mar 2012 08:24 UTC
-
Copying large files using [DeploymentItem] is a race condition?
Thanks - if you can create an isolated reproduction that would be extremely helpful. I'm not sure if this is a problem I could solve without it.
11 Mar 2012 23:34 UTC
-
NCrunch silently failing to build a project.
Can you describe the symptoms of the failure in more detail? Was the failing project shown with an X in the Tests Window? Was the build failure actually correct (i.e. was it supposed to have failed)?
11 Mar 2012 23:33 UTC
-
Use the same color for the risk/progress bar as is used for the markers.
Thanks, I'll see what I can do :)
11 Mar 2012 23:30 UTC
-
Use the same color for the risk/progress bar as is used for the markers.
I don't see why not. Is it the risk/progress bar that you're having difficulty with? Or the new corner indicator? Or both?
11 Mar 2012 21:05 UTC
-
Option to Run Tests on Keystroke OR Run Tests on Save
Hi, thanks for the suggestion. This feature is on the list of things to add. I haven't yet worked out which release it will be in - but it has been very much requested :) Cheers, Remco
11 Mar 2012 21:04 UTC
-
Doesn't display green cross icon when expected exception throws in NUnit test
Hi, thanks for posting! This feature actually came into existence by accident, but I liked it so much that I thought it would be a good one to keep. Unfortunately it only works for MSTest, because other test frameworks swallow up the expected exception in such a way that NCrunch isn't able to pa…
11 Mar 2012 21:02 UTC
-
PostSharp Issue causing project build failure
Hi, thanks for posting! Make sure that you've included all of the post sharp binaries and resources into your project(s) by using the '[url=https://www.ncrunch.net/documentation/reference_project-configuration_overview]Additional files to include[/url]' configuration setting. This error is a com…
11 Mar 2012 20:59 UTC