Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Engine mode name edit not persisted if using Alt+O shortcut.

    Thanks! This is a good catch. We'll get it fixed.

  2. Sporadic IndexOutOfRangeException in TestCaseSource-based tests

    [quote=nshallred;13019] It's curious that the problem reliably repeats under ncrunch but has not been seen in any other test runner. So far I have used Visual Studio's integrated test runner and Resharper. The tests are run on the build machine using dotnet test and also pass without issue. I've…

  3. Sporadic IndexOutOfRangeException in TestCaseSource-based tests

    Something else to try is switching to a different version of VS. MS have been making regular updates to GC behaviour and it's possible you've found a new problem or stumbled over something they've recently fixed. Unfortunately I don't know of any certain way to know whether the concurrent GC is …

  4. Sporadic IndexOutOfRangeException in TestCaseSource-based tests

    Hi Nick, Thanks for sharing this issue in such detail. NCrunch uses an unmanaged map to store code coverage details during execution and surface them from the test run. The only way you can disable this map at run time is by turning off the 'Instrument output assembly' setting and disabling c…

  5. Ncrunch Console + Grid Server: Sometimes Load Failure

    Hi Sergei, Thanks for sharing this issue. It looks like the MSBuild system responsible for loading the NCrunch project is suffering from a catastrophic failure and the process is being suddenly terminated without warning. This could be due to an out of memory exception. Try changing the [u…

  6. ASP.NET Core 2.1 integration tests

    [quote=pelletierjy;13009]Looks like this is still going on... in 2019 as I'm still facing it with nCrunch 3.23.0.10 in VS 2017. Any ETA available? Thanks![/quote] Can you confirm which version of .NET Core you are using? I believe the MS-side of the fix was supposed to be released with .N…

  7. NCrunch 3.23 does not

    [quote=Der-Albert.com;13005]Was not able to reproduce the problem.[/quote] Thanks for confirming. Do let us know if you find a way to get it happening in a sample.

  8. NCrunch 3.23 does not

    Hi Albert, Thanks for sharing this problem. Off the top of my head, I can't think of anything we changed in 3.23 that would affect Directory.build.props resolution, and I'm certain we have tests covering this use case. Is it at all possible for you to try downgrading to 3.22 to confirm for me w…

  9. How to pin testB when testA is currently showing coverage?

    Hi, thanks for sharing this. The intention here is that the test entry points should still be active when filter the coverage, so you can still work with the other tests inline. I've just checked this and apparently this isn't the case - the code just hides all the entry points when you filter the…

  10. Incremental build with NCrunch console?

    Hi, thanks for posting. Right now, there is no way to avoid cleaning up the workspaces at the end of the run with the console tool. Since it's basically just a headless client, it has more or less the same bootstrap sequence and follows the same execution pattern (load, build workspaces, build…

  11. "Unable to write to file while transferring snapshot to node: some-nuget-package-dll"

    Thanks for confirming Olaf! I hope you're having a great start to the new year.

  12. NCrunch not happy with unsafe code

    Hi, thanks for posting! Can you tell me a bit more about the templates used for these projects? My guess is that something in the project XML is causing NCrunch to exclude the declaration for unsafe code. If you can share the XML (or at least the top part of it), I might be able to help narrow …

  13. System.Windows.Application Not Populated Under NCrunch

    Hi, thanks for posting. Have you tried this code using any other test runner? My understanding is that usually the application object itself would be populated by the application bootstrap routine (i.e. Program.Start). You might need to add special setup code to your automated test to allow you…

  14. Support for VS 2019?

    [quote=MatthewSteeples;12966]I'm only posting this here to save anyone else attempting the same. I attempted to manually install NCrunch into VS2019 (following the instructions). It installs without errors but doesn't really function. It also complains about the extension synchronously loading, so t…

  15. Why is not NCrunch aborting build/analysis on pending grid nodes when no work remains?

    Technically, no. There is no good reason for this. There are also other things that the grid is doing that can be further optimised. For example, right now we run an analysis task for a built project on every machine in the grid. Really, we only need to do this once, as we only take the result…

  16. nCrunch dosn't see new files matching pattern in "Additional files to include"

    Hi Marqus, It's all 3. I'm going to be completely honest with you here. This part of the product (synchronisation with file changes) was written many years ago, and it took a good long while to have it working as reliably as it is now. Synchronisation with file changes is one of those things…

  17. nCrunch dosn't see new files matching pattern in "Additional files to include"

    Hi, Yes, this is a known limitation. If you're working in a situation where files are being frequently added, I would recommend including them in the project file instead, if at all possible.

  18. Not showing Ignored NUnit tests

    Unfortunately I can't provide a built-in solution for this at the moment, but maybe I can provide some help on how to achieve a similar result to what you're after without any NCrunch changes. The following code uses a compiler condition to implement alternative 'Ignored' behaviour under NCrunch by…

  19. MsTest V2: ITestDataSource ignored

    Hi, Thanks for sharing this issue. NCrunch's support for MSTest is emulated rather than integrated, so this means we need to add support for new MSTest features ourselves before they become available in NCrunch. This one wasn't on my radar. I've noted it down to be addressed, hopefully early i…

  20. "Unable to write to file while transferring snapshot to node: some-nuget-package-dll"

    Could you try the build below to see if this solves the problem? Note that you'll need to update both the grid nodes and the clients: [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_3.23.0.9.msi]NCrunch_Console_3.23.0.9.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrun…