Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. NCrunch cannot compile my project whereas VS can

    Thanks for sharing this issue. At a glance, this looks like a dependency issue. We'll take a deeper look and will get back to you soon.

  2. NCrunch console never exiting

    [quote=bartj;15161] While in an ideal world, tests would never time out (and of course they would always pass), in the messy world of legacy software, tests will not complete from time to time - particularly when under heavy concurrent load. This concurrency is part of what we use NCrunch for. We c…

  3. Support for C# source generators?

    [quote=tkarlsen;15162] I'm having a similar problem with source generators, not sure if it is related. In my case I'm not generating test methods, I'm generating regular code in the projects that are being tested. For some reason the build fails when running in NCrunch, because the generated code c…

  4. Best way to publish Coverage results with Jenkins CI

    Hi Marion, We haven't implemented specifically this feature, but we have done something similar that perhaps you could adapt for your needs. As of v4.5, NCrunch is now able to export code coverage data in partcover format. You can export this using the export button on the Tests Window toolba…

  5. NUnit3 / Teamcity TestExecutionException: Cannot start monitoring test...

    Hi Adrian, Unfortunately, suppressing this issue won't help here, as when tests results are reported out of order, NCrunch has no way to make sense of the results. The error invalidates the entire test run. You need to find out why NUnit is running your tests in parallel. Make sure you are u…

  6. Branch Coverage

    Hi, We have no plans for this at the moment. You are welcome to [dead link] if you like.

  7. Load Failure

    Hi, thanks for sharing this issue. This looks to me like an install state issue. I think the build system is trying to wire in resources from two different versions of VS2019. Do you have the build tools installed on this machine? Or another version of VS?

  8. Package Reference no longer copied after being updated

    Hi, thanks for sharing these details. It's difficult for me to give you a straight answer here as I am unfortunately unfamiliar with the internal workings of this package, and the unfathomable complexity of the netcore dependency resolution system makes it impossible to easily assess the entire w…

  9. NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error

    [quote=Albatross;15142]Changing the 'Use CPU Architecture' setting does mean that the tests in the test project now run. Unfortunately that does not solve the problem I have with the production issue as there are a couple of projects that need to run as 'x86' [/quote] Ok, this confirms that the …

  10. NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error

    We need to try and establish the error that is causing the process to be terminated. What happens if you try and run all these tests with a debugger attached? Do you see any errors in the windows event viewer that yield useful information? Note that changing the build process CPU architectu…

  11. Specflow [BeforeTestRun] and [AfterTestRun] methods are being called multiple times

    [quote=samholder;15138] thanks for the input. And for an awesome tool (our test run time is down to ~30% of what is was now I've switched the integration tests to run on the grid :)) [/quote] That's an awesome result :) Keep pushing!

  12. Specflow [BeforeTestRun] and [AfterTestRun] methods are being called multiple times

    [quote=samholder;15131]Thanks. To be clear we are using xunit, not nunit. I think you are probably right, and I'll look into the underlying implementation a bit more to see if there are options there.[/quote] Sorry for the assumption. The mechanics are the same though.. any feature of a test fra…

  13. NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error

    Hi, Thanks for sharing this problem. Technically, there shouldn't be anything in NCrunch that sets a cap on the number of tests allowed to run in one process. If your testing has confirmed that this problem is directly related to the number of tests in the batch, then this is probably a resou…

  14. Stuck pending tests in processing queue

    Can you check if [url=https://www.ncrunch.net/documentation/reference_global-configuration_tests-to-execute-on-this-machine]this setting[/url] is responsible? I also recommend turning on the 'Required Capabilities' column in the processing queue window just to be sure there isn't a capability dec…

  15. Problem with dotnet 5

    Can you check if you have your 'Instrumentation Mode' set to 'Optimised'?

  16. Specflow [BeforeTestRun] and [AfterTestRun] methods are being called multiple times

    Hi, thanks for sharing this issue. I think the problem here may stem from the manner in which BeforeTestRun and AfterTestRun are implemented in the underlying test framework. I haven't checked this, but I'm willing to bet this is probably implemented using NUnit's SetupFixture. SetupFixture w…

  17. Stuck pending tests in processing queue

    Hi, thanks for posting. Can you confirm whether the tests have a [url=https://www.ncrunch.net/documentation/reference_project-configuration_required-capabilities]required capability[/url] configured? This could cause them to not be executed if the machine does not have an equivalent compatibilit…

  18. System.InvalidProgramException: Common Language Runtime detected an invalid program.

    [quote=htssoftwares;15120]It works perfectly ! Thank you :-) [/quote] Excellent! Thanks :)

  19. System.InvalidProgramException: Common Language Runtime detected an invalid program.

    Thanks for the fast response! I think I know what's happening here. Can you set the 'Instrumentation Mode' solution-level setting to 'Optimised' to see if this solves the issue?

  20. System.InvalidProgramException: Common Language Runtime detected an invalid program.

    [quote=htssoftwares;15116] Thank you for your answer. I downloaded and installed the build 4.6.0.2, however, I still have this issue.[/quote] Thanks for coming back to me on this. Your feedback here sets off alarm bells for me, as I was so sure that we had fixed this problem in the build above…