Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. v1.37b - Debug variables

    Interesting ... this is probably caused by the instrumentation. I'll need to take a closer look to figure out why it's happening and if it's preventable. Thanks for letting me know.

  2. Hard Drive usage going up

    Hi Greba, Thanks for sharing the details. I'm wondering if you might be able to confirm for me whether you're doing any cross process testing or anything that might hold file locks on the workspaces? One way to confirm this is if you go through some of the instructions above, but after closing …

  3. Use in solution with VC++ project

    Hi Pedro, At the moment NCrunch doesn't support C++ projects. The best workaround I can offer would be to avoid creating project references to C++ projects inside your solution - use assembly references instead. Using the IDE, delete all references from other projects in your solution to your C…

  4. Cannot build VB.Net projects. Get error vbc, NCRUNCH; ^^ ^^ ' is not valid: Character is not valid.

    What happens if you try the following? <DefineConstants>DEBUG</DefineConstants>

  5. Cannot build VB.Net projects. Get error vbc, NCRUNCH; ^^ ^^ ' is not valid: Character is not valid.

    Thanks for the prompt response. A workaround to the problem would be to make sure the opening and closing tags are both on the same line in the source .proj file. I'll make sure a fix is included in the next release for this. Cheers, Remco

  6. Cannot build VB.Net projects. Get error vbc, NCRUNCH; ^^ ^^ ' is not valid: Character is not valid.

    Would either of you guys be able to show me the DefineConstants tag after it's been corrupted by NCrunch? You can find this by doing the following: - Let the build fail with the error - Right click the failed project in the Tests Window, go to Advanced and choose 'Browse to workspace' - Look fo…

  7. How do I use with typemock?

    Hi Pete, Thanks for posting! NCrunch should auto-detect TypeMock and host it in the task environment. Are you able to provide any more information about how the tests are failing? If you're able to submit a bug report after your tests fail, this would be very useful in identifying why it's not w…

  8. Hard Drive usage going up

    NCrunch will generally clean up workspaces when the process exits, but sometimes this is impossible (due to locks being held on the files by background processes etc). To prevent the drive from getting cluttered, NCrunch will automatically clean up any leftover workspaces when it is restarted and …

  9. Cannot build VB.Net projects. Get error vbc, NCRUNCH; ^^ ^^ ' is not valid: Character is not valid.

    Ouch - is there any chance I could get a copy of that DefineConstants tag?

  10. Problem with NUnit TestCase attribute

    I understand the perspective, but this could cause considerable confusion - as the test actually did run and does also exist. Tests that are ignored by NCrunch are basically screened out at the analysis stage - as far as the result of the system is concerned, they don't exist. Unless a third sta…

  11. NUnit Assert.Ignore causes failed test

    Hi, thanks for posting. The reason for this is that NCrunch doesn't make use of an 'Inclusive' status to define tests that make use of Ignore. There's some more information about plans here in this thread: [url=http://forum.ncrunch.net/yaf_postst11_Problem-with-NUnit-TestCase-attribute.aspx]http…

  12. Problem: no exceptions seen, no X symbols with Nunit

    Thanks! I see a fix that needs to be applied here. I'll see what I can do about getting it into the next version. If you're able to set your tests to run with an EN culture, it should pick up the stack traces correctly until I can fix the issue - though I'm not sure if this will cause other proble…

  13. Problem building a project with custom BeforeBuild target

    Hi Igal, Thanks for posting! The pre/post build event suppression at the moment only applies to the pre/post build event properties. To suppress the beforebuild/afterbuild targets, you simply need to apply an MSBuild condition to them, as such: <Target Name="BeforeBuild" Condition="$(NCrunch)…

  14. Problem with NUnit TestCase attribute

    Yes - you are correct. NCrunch currently doesn't have a status to identify tests as being inconclusive - if they are inconclusive, it simply assumes a failure. My current plan in this area is to implement a configuration option that lets you control whether an inconclusive test should be conside…

  15. Problem: no exceptions seen, no X symbols with Nunit

    Hi - thanks for reporting this problem. It looks as though NCrunch isn't taking into account the localisation of your stack traces. Could you let me know anything more details about your current locality/culture? Do you have the culture set globally (i.e. in your O/S) or is it just within the t…

  16. better support Fsharp in VS11

    Hi, thanks for posting! Support for VS11 is still a bit hit and miss in areas, as this version of Visual Studio is still a developer preview. Of course, eventually NCrunch needs to support whatever VS11 matures into, so any advice you can give me on problems exhibited here is enormously helpful.…

  17. NCrunch FsUnit issue

    Hi - thanks for posting! I saw a conversation on twitter about this one and it looked as though your problem had been solved. Was it the version of the compiler that you were using? Cheers, Remco

  18. Black dots with xUnit.net 1.9.0.1566 and NCrunch 1.37.0.46b

    Hi, thanks for posting! The first thing that hits my mind is that you may have a strange relationship between your test project and the project under test. Normally this should be a 'project reference', though if you've set this up to be an assembly reference to the compiled binary in the bin\de…

  19. Tests inconsistent with Pass/Fail status

    Hi John, I have a feeling this test many only be passing when it is executed with a clean test process. The Run/Prioritise tests command and Debug tests command will always re-use any existing process that is pre-loaded. This is done so that NCrunch can kick off the test quickly. The Break…

  20. CTRL and ALT keys stop working

    Hi Jason, Thanks for posting! The issue with your integration test makes sense. NCrunch records results from the tests under execution using the current appdomain, so if you unload it then you'll unload the test results with it. What is the objective of this test? You may find it useful to …