Forum member

gasparnagy

10 posts

Posts by gasparnagy

  1. No longer works with ReqnRoll

    [quote=Remco;18562] I'd need to review the changes to Reqnroll in more detail to understand fully, but I believe the problem with not finding dependencies was likely caused by changes to how Reqnroll finds its dependencies. [...] To solve it, NCrunch just copies Reqnroll.* to the output directory …

  2. No longer works with ReqnRoll

    Thx [USERLINK]Remco[/USERLINK]. I can confirm that the linked v5.21.0.3 solves the problems with Reqnroll v3.3: the necessary assemblies are copied to the workspace automatically and the coverage data is shown in the feature files. At least "on my machine", with VS2026. I think [USERLINK]JimCo…

  3. Timeout for tests with dynamic data

    [quote=Remco;18541]Yes, this was why I wasn't 100% confident on the DynamicAnalysis being a solution for you, as it does have certain limitations. Enums are considered user types in IL, so I guess they fall under the blanket rule of not being a primitive type. Perhaps try converting them into stri…

  4. Timeout for tests with dynamic data

    I have tried with the following variations as well that seem to work for MsTest, but the result is the same, NCrunch complains about the parameters not being a primitive type. It seems the problem seems to be the enum in the parameter list of the test itself. :( [code=csharp]public static IEnumer…

  5. Timeout for tests with dynamic data

    I did not know about this setting. Unfortunately it says: "NCrunch: The test cases for this test cannot be reported individually by NCrunch because at least one of the parameters being supplied is not a primitive type. For full test case decomposition under NCrunch, all test case parameters must be…

  6. Timeout for tests with dynamic data

    I have a silly issue. We have a test (MsTest) that receives the parameters from a method. The test looks like this: [code=csharp][TestMethod] [DynamicData(nameof(GetAllUnitTestProviders), DynamicDataSourceType.Method)] public void GeneratorAllIn_sample_can_be_handled(UnitTestProvider unitTe…

  7. Build error that misses Microsoft.Managed.Core.targets when SDK is not specified

    I have a solution that I would like to enable NCrunch for. The solution contains netstandard2.0 library projects and net8.0 test projects. Building & working locally. Out of the 10, 3 projects (two tests and one lib) fails to load by NCrunch (every config setting at default) with a build erro…

  8. Implicitly depending on multiple fw compilations of another project

    Thank you, Remco! This is great news. I will clean up some other issues first to make the situation simpler and try once more.

  9. Implicitly depending on multiple fw compilations of another project

    Maybe what I want will not work anyway. I have played with using the instrumented compiled assemblies from another process, but I got into issues (it got into an infinite wait). So maybe a related question: do the instrumented assemblies suppose to work in a separate process spawned by the test i…

  10. Implicitly depending on multiple fw compilations of another project

    I have a complex system tests project that somewhat tests the results of another project by starting separate processes for that (like a kind of smoke test). Let's say, that Test_A tests the .NET 6.0 compilation of that project, Test_B tests the .NET 4.6.2 compilation of the project. The test…