Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Ncrunch is in a corrupted state.

    Changing the rootsuffix for VS basically changes the root registry key that VS uses to store its settings. When used like this, it's a blunt way of pulling VS through a full configuration reset, since the requested root doesn't exist and will therefore be populated with defaults. If VS explodes wh…

  2. Build error with basic .NET Standard class library

    Hi, This problem appears to be related to the configuration on your machine rather than anything specific to the project or solution. How is it that you are able to build/run .NET Core and .NET Standard without the Microsoft.NETCore.App installed? Have you configured your machine to use a dif…

  3. Ncrunch is in a corrupted state.

    Hi, thanks for sharing this problem. Can you confirm if running the devenv.exe /setup step as an administrator made any difference here? If not, does running "devenv.exe /rootsuffix test" suppress the problem? (note this will temporarily run VS with a different settings root).

  4. (1) Edit & Continue (2) Fakes Questions

    [quote=Qbunia;10693]What about 1st question? We are past 5 years from date when question was made. Is there any chance we will get this feature?[/quote] Hi, Considering the level of integration required to make this work, and the way in which it changes with every VS release, I realistically d…

  5. Parameterized NUnit tests run only once

    It does indeed. Looks like the 's' was left off the end. Oops.. [url=http://www.ncrunch.net/documentation/considerations-and-constraints_unique-test-names]http://www.ncrunch.net/documentation/considerations-and-constraints_unique-test-names[/url]

  6. Parameterized NUnit tests run only once

    [quote=rucamzu;10689]Thanks for the help, I've been probably missing NCrunch warning. The link to the documentation is broken, but I'll try to get SetName working. Thanks![/quote] Can you confirm which link you're seeing as broken? Is this the one in the warning?

  7. Microsoft Visual Studio is Busy. Forever.

    Hi, Try this: 1. Run your VS2015 until it crashes in the way you've described 2. Load up a second of instance of VS2015 and don't open a solution, hopefully this won't crash. If it does, load another up until you get a working instance. 3. Using the second instance, attach the debugger onto…

  8. Parameterized NUnit tests run only once

    Hi, NCrunch should give you a warning about this with a link to the documentation page explaining this issue - [url=http://www.ncrunch.net/documentation/considerations-and-constraints_unique-test-name]http://www.ncrunch.net/documentation/considerations-and-constraints_unique-test-name[/url]. T…

  9. File locking prevents a test from running

    Hi, thanks for posting. [url=http://www.ncrunch.net/documentation/concepts_parallel-execution]This documentation page describes the parallel execution behaviour[/url] in detail, along with ways in which you can control it.

  10. ExplicitAttribute not respected on TestFixture

    [quote=GreenMoose;10681]Related question, is there a way to run explicit tests via the NCrunch console runner somehow?[/quote] Unfortunately not. Explicit tests can only be run when specifically targeted for execution, and the console tool will only passively execute.

  11. ExplicitAttribute not respected on TestFixture

    Hi, thanks for sharing this problem. It looks like something was missed here. I'll include a fix for this in the next build. As you've discovered, for the time being, it's possible to work around this by applying the attribute at test level instead.

  12. Unable to run NCrunch 3.9.0.1 with XUnit 2.1

    Hi, v3.9 of NCrunch changed the xunit integration, so instead of packaging xunit runtime assemblies (namely xunit.execution.*) with NCrunch, it now calls into xunit and lets xunit itself find these assemblies. Considering the search code and the handling of xunit.execution is inside xunit itself…

  13. Grid Node Storage Data Limit

    [quote=eriove;10672] I'm not sure if I misunderstand the discussion above. On our grid nodes the "Solution storage data limit (in MB)" is set to 10GB but the Snapshot directory is 66GB (which is the size it ended up with when the disk was full). Am I setting the wrong limit or is there a bug. [url=…

  14. Variables not in Context while debugging

    When NCrunch instruments assemblies output from your build system, it needs to reconstruct the PDB files containing debug information for these assemblies. The VS debugger then reads these PDB files to obtain debug information during the test run. Over the last few years, MS have made the compil…

  15. Two instances of VS2017 installed, NCrunch only install into one

    [quote=Der-Albert.com;10667]I don't think that there are many problems with the VSIX Installer. Because the manual deployment is simply Copy & Paste, Unlocking Files, starting devenv. So nothing special. From that Side i can't imagine problems for that. Now you are putting the unhandy work of ma…

  16. disposer on testclass not run

    [quote=vegar;10663]I've not been able to make the disposer run, but the TestCleanup method started doing its job as soon as I made it public :-) [/quote] Interesting. I wasn't aware that IDisposable was used by MSTest during cleanup. A quick check now confirms that MSTest does call this method…

  17. Multiple markers when renaming class with ReSharper

    [quote=GreenMoose;10661]I have tried with 3.10.0.2 / vs2017 above and it seems to have resolved the issue for me! [/quote] Horray! Hopefully others here can also confirm if they still see the issue.

  18. TargetInvocationException

    [quote=ericschmidt;10659]I tried your suggestion of debugging using the existing task runner project, but even that resulted in a passing test. I have noticed that our project has a "Abnormal runtime assembly reference resolution detected" warning that shows up. Is it possible that this is causing t…

  19. disposer on testclass not run

    [quote=vegar;10657]The challenge about namespaces is that multiple test runs on multiple machines uses the same hosted mongodb. But pod was a good idea. In combination with machine name it should be a pretty safe strategy I guess - cause all tests run by ncrunch runs by same process? [/quote] N…

  20. disposer on testclass not run

    Can you check whether the cleanup methods get executed during a debug run? NCrunch should hit breakpoints in these if you run the tests with a debugger. Note that MSTest is quite particular about syntax and structure with these sorts of methods. Guids are fine for namespaces as long as you have…