Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
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…
28 Jun 2017 03:54 UTC
-
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…
28 Jun 2017 03:42 UTC
-
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).
28 Jun 2017 03:38 UTC
-
(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…
26 Jun 2017 23:23 UTC
-
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]
26 Jun 2017 10:09 UTC
-
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?
26 Jun 2017 07:47 UTC
-
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…
23 Jun 2017 23:37 UTC
-
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…
23 Jun 2017 23:33 UTC
-
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.
23 Jun 2017 09:24 UTC
-
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.
22 Jun 2017 21:38 UTC
-
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.
21 Jun 2017 23:32 UTC
-
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…
21 Jun 2017 09:42 UTC
-
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=…
21 Jun 2017 09:17 UTC
-
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…
20 Jun 2017 23:30 UTC
-
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…
20 Jun 2017 23:19 UTC
-
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…
20 Jun 2017 10:36 UTC
-
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.
20 Jun 2017 08:25 UTC
-
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…
20 Jun 2017 03:30 UTC
-
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 Jun 2017 00:13 UTC
-
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…
19 Jun 2017 22:39 UTC