Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. 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…

  2. 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

  3. 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

  4. 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 …

  5. 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 […

  6. 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…

  7. 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.

  8. 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…

  9. 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.

  10. 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…

  11. Failure reading resource file

    Thanks! This does definitely help a lot. Does enabling the 'Copy Referenced Assemblies To Workspace' option make any difference?

  12. 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 …

  13. 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…

  14. 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.

  15. 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)?

  16. Use the same color for the risk/progress bar as is used for the markers.

    Thanks, I'll see what I can do :)

  17. 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?

  18. 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

  19. 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…

  20. 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…