Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. UI does not reflect changed NUnit TestCaseSource data, leading to running the wrong tests

    Hi, thanks for sharing this issue. NUnit internally uses sequential IDs to identify tests. This creates problems for NCrunch in identifying the tests between changed assemblies, so NCrunch instead uses test names for identification. However, it still needs to feed the sequential IDs into the te…

  2. Integration Testing with EF Code First and Migrations

    Hi Chuck, The numbered names of the NCrunch workspaces are just sequentially generated - they don't have a direct relationship with the processes used to run your tests. If your tests are set up to run in parallel (which yours are), you'll likely observe many test runner processes sharing the sa…

  3. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    Thanks for your help here. I've now managed to reproduce this issue. I can confirm this is a regression in 2.20. It impacts ALL Xunit v1 theories, regardless of custom attributes, autofixture, etc. Xunit v2 is not affected by this problem. A fix will be out for this in the next release of…

  4. Integration Testing with EF Code First and Migrations

    Hi Chuck, Thanks for posting! The answer to your question is a bit complicated, depending upon how much effort you want to invest into your testing system. My assumption is that at the moment, this test is designed to run synchronously, with no parallel execution. You can read more about paral…

  5. Parallel test case execution

    [quote=salma;8580]Thanks for the quick response. I deleted cache file and i rerun the test. Out of 16 tests it runs only 2 tests in parallel. For each test it creates a job my DB. I can see only 2 jobs instead of 16 jobs. [/quote] If you delete the cache file, this will happen. NCrunch needs t…

  6. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    The following is a test project I'm trying to build to reproduce the issue you've described. [quote]using Microsoft.Xrm.Sdk; using Ploeh.AutoFixture; using Ploeh.AutoFixture.AutoNSubstitute; using Ploeh.AutoFixture.Xunit; using Xunit; namespace ClassLibrary3 { public class NSubstitut…

  7. Bug. NCrunch cannot build project when using build time config transformation

    Hi Thomas, Thanks for sharing this issue and the code to reproduce it. A code sample always makes this so much easier to analyse! The problem is being caused by a faulty build step in your project. The project assumes that the 'bin\debug' directory always exists underneath the project path. …

  8. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    NCrunch is completely reliant on the Xunit framework to supply it with the full name of the physical method that represents the test. As you're likely aware, Xunit has ways in which you can override or extend its behaviour using custom attributes that feed into user defined code. Depending on wh…

  9. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    How are the NSubstituteCrmAutoData and Frozen attributes implemented? Is this a custom framework of some kind?

  10. Allow parallel execution setting with grid nodes

    Hi, thanks for posting. The 'Disable parallel execution' solution-level setting will disable parallel execution at machine level. This means that if you have a grid, it's still possible that each node can be running a test at the same time, but it isn't possible that any node can be running two …

  11. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    I can't think of anything changed in 2.20 that would affect this, but I really need a code sample to analyse it first. Are you sure you can't put anything together that demonstrates the problem in a way you can share with me?

  12. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    Hi, Can share share some details about which tests are causing this problem for you? Are you using MSpec? If you can give me some sample code of a test that you can't navigate to, I may be able to reproduce and fix this promptly.

  13. VS15 Installer

    Hi Matthew, No plans at the moment. Right now it's still too early to look into integrating with VS15. I'll re-evaluate this when it reaches RC status.

  14. Not loading debug symbols

    This is interesting - are you saying that the problem itself seems to be intermittent rather than method-specific? This is something I haven't seen before, and it's very worrying, because it will make this extremely difficult to track down. What sort of occurrence pattern do you notice around th…

  15. Manually removing breakpoint that NCrunch set up crashes visual studio

    [quote=michaellogutov;8552]Another thing - this could be related to Resharper (I've got it running all the time).[/quote] I think it's become hard to find developer machines without Resharper installed these days :) Unfortunately, the VS debugger is far from perfect. I've noticed a range of r…

  16. Red dots on Green tests?

    Hi, Thanks for sharing this issue. I'll need to ask a few more questions to fully understand what is happening here .. - When you see the coverage markers turn red, are there corresponding failures shown in the NCrunch Tests Window? - What kind of pattern do you see around the red markers?…

  17. Manually removing breakpoint that NCrunch set up crashes visual studio

    Hi, Thanks for sharing this issue. I haven't been able to recreate it myself, but I expect that it's likely to be the result of some kind of threading issue, so it probably shows more consistently in some scenarios than others. NCrunch has exception traps all over its handling of breakpoint…

  18. Parallel test case execution

    Hi, thanks for sharing this issue. Your configuration looks correct, so the first thing that comes to my mind is your .cache file. When NCrunch runs your tests for the first time, it has no knowledge of how long each test takes to execute. This means that it cannot create an efficient pipelin…

  19. Not loading debug symbols

    Hi, Thanks for sharing these issues. I'm going to try to separate them from each other so we can troubleshoot them independently. 1. Debug related issues: NCrunch is reliant on custom debug metadata that is emitted by the compiler for async methods and yield iterator blocks. When Roslyn was…

  20. How to expand/collapse tree nodes in NCrunch Tests window?

    [quote=SteveC;8539]The link to the user voice seems to be broken :-([/quote] Are you behind a proxy of any kind? The link seems to work for me. Try this one without HTTPS: [dead link].