Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. gamification options?

    Hi James - I can certainly see a connection here between NCrunch and gamification. Many people comment on how getting the markers to turn green seems like a game. Most likely this stems from the the fact that NCrunch gives you near immediate positive/negative feedback on success or failure of y…

  2. Project failing to build - where to find the errors?

    This makes good sense. Usually where I've seen this problem it relates to included build files that specify their own <ProjectReference> or <AssemblyReference> tags. NCrunch needs to manipulate/remove these tags in order to control the assembly references used during the build process. I have a…

  3. Project failing to build - where to find the errors?

    Most build errors should be shown in the Tests Window. As you have a customised build, it's possible that the build is failing due to an NCrunch internal problem of some kind - in which case you should have a look in the processing queue instead, which gives a much more physical output from the bui…

  4. Coverage shows black when tests cover the code

    Thanks - I'm wondering if you wouldn't mind answering a few more questions to help me narrow down where it's going wrong. - Do you have anywhere in your solution multiple tests under the same physical name? - How many tests are covering the class in question? Are they all in the same test assemb…

  5. Markers disappearing

    Thanks - this makes good sense. I fully agree that the configuration options are very simple at this stage and are in need of some improvement. Thanks for the feedback.

  6. Markers disappearing

    Hi Moss, Thanks for posting! If you look under the processing queue, do you see any errors against any of the build tasks? Also, can you share the exact file path you have configured NCrunch to point to on your RAM disk? Thanks! Remco

  7. How does NCrunch determine what to put in the output location it uses to run the tests?

    Hi Sam - NCrunch does use the .proj file to establish file dependencies for your projects, although this logic is not sophisticated enough to be able to parse the complex and dynamic dependencies that can exist in pre/post build events. To solve this problem I would recommend you use the 'Addi…

  8. Testing Issue with interactive tests

    Hi Sebastian - The most likely cause of this problem is that the tests are making assumptions about the locations of DLLs that they are depending on. Normal (non-NCrunch) test runners will generally run tests within a directory that contains all the DLLs that are to be loaded into the test runne…

  9. Wizard memory

    Thanks - this makes good sense. I'll see what I can do.

  10. Visual Cue on test re-run

    NCrunch does show this, though I'm not sure how obvious this is in the documentation and its visibility may depend upon your colour scheme. Basically NCrunch will fade the markers that are covered by any tests for which the results may not be current. You'll notice that as soon as you make a cha…

  11. Coverage shows black when tests cover the code

    Hi Sam - Can you share any more details about the structure of these tests? Note that NCrunch's code coverage is very physical in its nature - if you have static constructors or load-on-demand resources they will usually be considered as covered only by the first test that touches them in the te…

  12. Strong Name Validation Failed

    Would you be able to answer some of the questions below? This will help me to better establish why the issue is occurring: - Is the assembly 'Company.Product.TDD.Tests' derived from a project within the same solution you are using NCrunch on? - How is the above assembly referenced from other pr…

  13. Strong Name Validation Failed

    Hi - Thanks for posting! It looks to me like you have a complex signing scenario set up within this solution, so the best way to get this working with NCrunch is definitely to set the 'Prevent signing of output assembly' to TRUE for ALL of the projects in your solution. Hopefully this will reso…

  14. Coverage markers do not display, but NCrunch build works

    Hi George, Thanks for the feedback! As you've correctly pointed out, there isn't any validation performed right now on the workspace base path. I'll make a note to add something in. I've tried to encourage people to use RAM disks in the NCrunch documentation, partly because I sometimes use…

  15. Build failure - no space before base class

    Based on the description you've just given and some errors found in the log file you just submitted, I have a theory on what's causing this. Basically, when you run the SDK build script it's holding a read/write lock on the binaries that are being referenced from your working solution. This is c…

  16. Test Using DeployItem attribute throw errors

    Hi Digicoder - I've looked into this in a bit more depth, and I've been having trouble getting MSTest to use the DeploymentItem myself when it is applied to a ClassInitialize method. Do you know if there are any circumstances under which this should work? Looking through various scraps of docum…

  17. Build failure - no space before base class

    Hi John, Nice analysis. The csproj encoding changes are normal, but NCrunch forgetting the content of the source file is definitely not. I have a feeling this is the same issue you described earlier, though affecting a different file. The problem itself will be something in the way that NCrunc…

  18. minimum execution time in tooltip

    Hi Balfa, Thanks for the suggestion. I can see other opportunities here too, such as adding in a 'Maximum execution time'. The metrics shown could be configurable and therefore better suited to your situation. Cheers, Remco

  19. Test Using DeployItem attribute throw errors

    Thanks! Great to hear. I'll make a note to sort this out so that the DeploymentItem also works on the setup method, as this will be more consistent with MSTest's implementation. Cheers, Remco

  20. NCrunch Build Failing With RamDisk + NuGet Enable Restore

    Hi Steve - There is currently a known problem with disk consumption when using a number of Nuget packages with NCrunch - http://forum.ncrunch.net/yaf_postst336_Constantly-running-out-of-disk-space-on-my-6GB-RamDrive-with-a-200mb-solution.aspx I'm currently working on a fix for this. Meanwhile…