Forum member

michaellogutov

24 posts

Posts by michaellogutov

  1. Disable auto restoring nuget packages

    Thanks. Probably changing msbuild is a way to go for us.

  2. Disable auto restoring nuget packages

    Hello. We're using nCrunch console tool in our CI flow and trying to optimize it's speed. I see that initialization queue tasks took a long time (we have a solution with over 100 projects) - and I see those "auto restoring NuGet packages" steps for every project. Now, restoring nuget packages for…

  3. Memory Leak in Large Project

    This was happening in manual mode - during builing. No tests were running.

  4. Memory Leak in Large Project

    We also have the same problem - nCrunch v3 with 120+ project solution crashing my system with out of memory errors. The interesting case is that srvhost starts to eat up 25 Gb memory and it's only happening during nCrunch running. I had to revert back to v2 and I have no problem with it.

  5. Inconsistent dll versions resolution and binding redirects

    Well, it's a pity. Anyway, thanks for explanation.

  6. Inconsistent dll versions resolution and binding redirects

    The console app works - but it's just a sample of the problem. In our solution the same problem leads to web app unable to start. Our build system is fairly simple one - just an msbuild invokes in jenkins. Nothing fancy. So taking sample solution - we've got Cassandra 3.0.0 inside bin\Debug dir…

  7. Inconsistent dll versions resolution and binding redirects

    Hello. We have several tests that works like "integration smoke tests" for the application - they construct dependency root and verify it (by creating each instance of the DI object registered). Those tests allow us automatically catch errors with missing binding redirects - fore example, if som…

  8. ncrunch console tool - Common Language Runtime detected an invalid program

    Thanks, seems like this fixed it.

  9. ncrunch console tool - Common Language Runtime detected an invalid program

    I've runned into a very strange issue that making our CI flow very fragile - we've got our tests running by nCrunch console tool and it throws us this exception: [code=csharp] System.InvalidProgramException: Common Language Runtime detected an invalid program. at Tests.App.<ProcessAsync>d__3.…

  10. How to fill TestSelectorExpression for ncrunch console?

    Hello. Is there a sample how to fill TestSelectorExpression parameter? I want to specify an expression for ncrunch console runner from command line.

  11. Unable to include other project XML documentation

    Actually this is an XML comments file it's generated as part of the build. So setting "Copy referenced assemblies to workspace" to true fixed the problem :) I've totally overlooked that setting. Thanks!

  12. Unable to include other project XML documentation

    In my solution I have project A then references project B. Project B generates comments XML file (B.xml). Project A depends on that B.xml file and there is a check in code that ensures that this files present. Not we have test project A.Tests that referencing A and tests the code which checks t…

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

    Another thing - this could be related to Resharper (I've got it running all the time).

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

    I wasn't able to get the callstack (attaching the debugger didn't help - the studio just restarts when crashed). The only thing I can provide - an error from event viewer: Faulting application name: devenv.exe, version: 14.0.25123.0, time stamp: 0x56f22f32 Faulting module name: ntdll.dll, versi…

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

    This bug actually an old one. To reproduce: [list=1] [*] Start NCrunch debug on failed test with "Break into first covering test" feature - the automatic breakpoint will be set by NCrunch [*] Wait for debug is fully started [*] Stop debug (with Stop button in toolbar) and while studio reverti…

  16. Wrong test results when running multithread tasks XUnit Theory, AutoFixture and NSubstitute

    Yeah, I've increased dop to 256 and saw the same issue in R# test runner. False alarm. Sorry about that :) I'll post this issue to AutoFixture.

  17. Wrong test results when running multithread tasks XUnit Theory, AutoFixture and NSubstitute

    I've encountered a strange problem that appeared when running tests only in nCrunch - VS test runner and R# test runner both executed those tests successfully. For it to run you need to install packages: [list] [*] AutoFixture.AutoNSubstitute 3.43 [*] xunit 2.1.0 [/list] The test: [code=c…

  18. xUnit Collection handling

    Done https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/9290622-native-support-for-xunit-collection-attributes

  19. xUnit Collection handling

    Well, I guess this is fail-safe implementation but I think it's a huge resource waste in most of use cases. Anyway, I think my case is not that rare for xUnit developers - the Collection mechanics is very common for modern unit tests on this platform and I think nCrunch should aim to support it m…

  20. xUnit Collection handling

    Wait, nCrunch run tests in parallel using multple processes instead of threads?