Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0
[quote=DavidArnoDandG;11139]In case you haven't seen it Remco, [url=https://github.com/dotnet/announcements/issues/31]this announcement regarding .NET Standard[/url] may offer some clues to some of the problems we are facing here.[/quote] I hadn't seen this. This is very useful for me. Thanks f…
04 Sep 2017 10:37 UTC
-
OneTimeSetUp is called more than once per assembly
[quote=Vincent;11137] I read the page you quoted, but wasn't sure it would apply in my case. Maybe the page could be update to refer to the OneTimeSetUp attribute? [/quote] Yes, this is a good idea. I'll do that! [quote=Vincent;11137] I'll use a static field to indicate that the setup has …
04 Sep 2017 08:09 UTC
-
BadImageFromatException when using ValueTuple
These fixes have now been [url=https://www.ncrunch.net/download]released with v3.11[/url]. thijstijsma and I had an offline discussion about this problem. In their case, the problem disappeared after cleaning up the obj/bin directories and the NCrunch cache file. I suspect that it may have been…
04 Sep 2017 07:17 UTC
-
Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0
The multiple fixes introduced here have now been [url=https://www.ncrunch.net/download]released with v3.11[/url].
04 Sep 2017 07:14 UTC
-
Microsoft.Xaml.Targets, XamlBuildTask
This fix has now been [url=https://www.ncrunch.net/download]released with v3.11[/url].
04 Sep 2017 07:13 UTC
-
Potential bug in metrics
Hi, thanks for posting. Yes, this is by design. When you share source files between projects, those source files are duplicated internally by NCrunch so that a fully new copy exists for each project. This is the only way such code can make sense, because code compiled in a different project can…
03 Sep 2017 23:54 UTC
-
BadImageFromatException when using ValueTuple
Would you be able to try the build below to see if this is any better for you? [url=http://downloads.ncrunch.net/NCrunch_Console_3.11.0.8.msi]http://downloads.ncrunch.net/NCrunch_Console_3.11.0.8.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.11.0.8.zip]http://downloads.ncrunch.ne…
03 Sep 2017 11:33 UTC
-
Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0
[quote=BoasE;11124]I Installed NCrunch_Console_3.11.0.8.msi is there anything I should to further?[/quote] If you're using NCrunch inside VS, you should also install the VS2017 package. These builds are basically just the same as the production builds on the main download page, expect they us…
03 Sep 2017 08:37 UTC
-
Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0
Hi BoasE, Thanks for posting. Have tried the latest test build published earlier in this thread? The problem you're experiencing is something that should already be solved in the test builds and is due to be released next week.
03 Sep 2017 00:11 UTC
-
Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0
[quote=Cameron;11116] I can see how I can get pretty dependent on NCrunch, even after using it a short time, and not really historically being a TDD guy. One thing that is interesting, is I have <known> about NCrunch for a few years, but I saw a recent announcement for the VS2017 Enterprise NCrun…
02 Sep 2017 05:30 UTC
-
Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0
Thanks, good to know that the 4.3.0 dependency fixed it ... that's about the most sensible thing I've seen about this problem so far. I noticed that the file you submitted was done after the 4.3.0 dependency was added. Is there any chance I could have a copy of the same file without this dependenc…
02 Sep 2017 05:27 UTC
-
Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0
Thanks Cameron. Could you try adding a Nuget package dependency on System.Threading.Thread.dll v4.3.0 to see if this suppresses the problem? Also, is there any chance I could see the contents of the nCrunch.TaskRunner.DotNetCore.20.x64.deps.json file inside the NCrunch workspace? I realise th…
02 Sep 2017 05:05 UTC
-
Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0
Sorry to hear that. Can you check the following: 1. Open the NCrunch Tests Window 2. Right click on the project containing the failing test 3. Go to advanced -> Browse to workspace 4. Find the directory containing the DLL (i.e. bin\debug) 5. Find the file nCrunch.TaskRunner.DotNetCore.20.x64…
02 Sep 2017 02:15 UTC
-
Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0
Thanks Cameron, it looks like this is still the System.Threading.Thread issue under the hood: System.Exception: Could not resolve assembly: System.Threading.Thread, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3aSystem.IO.FileNotFoundException: Could not load file or assembly 'S…
02 Sep 2017 01:59 UTC
-
OneTimeSetUp is called more than once per assembly
Hi, thanks for sharing this post. This is by design. There's an [url=http://www.ncrunch.net/documentation/considerations-and-constraints_test-atomicity]explanation of the problem here[/url], under Test Runner Re-use. In short, the mechanic to prevent the OneTimeSetUp code from running more th…
02 Sep 2017 00:11 UTC
-
Microsoft.Xaml.Targets, XamlBuildTask
Hi, Thanks for sharing this issue. It looks like MS introduced a new binding redirection in VS2017 around this DLL. I've just added the redirection to NCrunch and it now seems to work correctly. I've included a fix in the build below: [url=http://downloads.ncrunch.net/NCrunch_Console_3.11…
01 Sep 2017 00:25 UTC
-
DataTestMethod with Enumerators fail in NCrunch
I've taken a deeper look into this issue, and prepared a fix expected to be in a new version of NCrunch released by early next week. The fix is narrow in scope. It will only work when MSTest is set to use a framework utilisation type of 'Dynamic Analysis'. This can be adjusted in your NCrunch c…
31 Aug 2017 01:32 UTC
-
NUnit TestCase without TestName
Hi, Thanks for taking the time to report this. With this code sample, you've helped me to corner a bug that I've been trying to figure out for several weeks. NCrunch is feeding old removed tests into the pipeline. This is causing downstream instability in NUnit3, because it interferes with t…
31 Aug 2017 00:48 UTC
-
Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0
[quote=sextondjc;11099]Thanks for the new build. No change, unfortunately. Does seem to take longer to reach point of failure though (anecdotal only, have no measurements). [/quote] I'm sorry to hear that :( Has the primary error in the log changed at all? (i.e. System.Threading.Thread library).…
29 Aug 2017 22:58 UTC
-
Current dir is different during test creation than during test execution
[quote=abelb;11089] BTW: may I ask you how I can view all my topics in this forum? I had a hard time finding back my own reported topics or issues (and I'm afraid missing follow-ups as a result, like this one). If I click on my name I can see all my posts, but that's a mess to have to wade through …
28 Aug 2017 06:40 UTC