Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
test runner processes recreated multiple times give poor performance
Thanks Johan. Is there any chance you could submit a bug report (using the NCrunch menu) right after you've finished a test run with the 'Max number of processing threads' set to 1? The log may yield some interesting information about why this is happening.
03 May 2017 12:42 UTC
-
test runner processes recreated multiple times give poor performance
Hi Johan, NCrunch will still call AssemblyInitialize for each batch of tests even if it re-uses the task runner. A tidy way to de-duplicate this is to just use a static boolean to make sure you execute the code in this method only once per process. If you set the 'Max number of processing thr…
03 May 2017 11:56 UTC
-
Windows 10 compatibility
Hi, Thanks for getting in touch. I'm sorry but I don't completely understand your question. NCrunch has no affiliation with Pinnacle Systems. The software versions you have listed above are all old and obsolete versions of the software. Any licenses that use these versions of the software…
02 May 2017 23:17 UTC
-
test runner processes recreated multiple times give poor performance
Hi Johan, NCrunch will re-use test runner processes whenever they are available, but there are a number of configuration options that can affect the way that this happens. Basically, NCrunch has a pool of processes that it retains between test runs. If a task in the processing queue (containi…
02 May 2017 13:07 UTC
-
V3 support for [DataRow] in MSTest V2 is not working
Hi, Thanks for sharing this problem. This looks to be a problem related to the boolean parameter. Whenever I create a DataRow test using a boolean, I see the same exception. I'll see if I can get a fix included for this in the 3.7 release out next week. Thanks again for bringing it to my …
28 Apr 2017 13:17 UTC
-
Startup Error in Studio 2017
[quote=dpc640;10329]Thanks! It was step 5 that I didn't know about.[/quote] I'm glad that did the trick! :)
28 Apr 2017 03:12 UTC
-
Startup Error in Studio 2017
Hi Patrick, Thanks for sharing this issue. Your VS install is in a corrupted state. Try the following: 1. Make sure your IDE is closed 2. Uninstall NCrunch via Windows Programs/Features 3. Go to the NCrunch install directory (usually C:\Program Files (x86)\Microsoft Visual Studio\2017\En…
27 Apr 2017 22:42 UTC
-
"Could not load file or assembly" with BindingRedirect
[quote=tkarlsen;10325] I just spent some time trying to reproduce it in a new project without much success. Everything seems to work even with the BindingRedirects in a fresh solution with the same basic layout. I'll have to do some more experimentation to see what's going on. The tests that are fa…
27 Apr 2017 01:44 UTC
-
"Could not load file or assembly" with BindingRedirect
[quote=tkarlsen;10322] I'll see if I can try to create a simple solution demonstrating the problem tomorrow.[/quote] Thanks for doing this. Having looked as much as I can at this issue, I don't think I'll be able to progress with it further without a code sample.
26 Apr 2017 23:41 UTC
-
"Could not load file or assembly" with BindingRedirect
[quote=tkarlsen;10320] You can create an ASP.NET Core project but still target the full .NET framework, and the reason I'm doing that is because I have some dependencies on third party libraries that target the full framework. Here's an explanation of how (and why) to do it: [url=https://jonhi…
26 Apr 2017 03:31 UTC
-
"Could not load file or assembly" with BindingRedirect
Hi, thanks for sharing this problem. I'm a little confused by this, as I was always under the impression that .NET Core and .NET 4.6.2 were mutually exclusive (hence why .NET Standard exists). How is it that you've managed to build this structure? Is there a reason you're not using multi-target…
25 Apr 2017 23:51 UTC
-
Override [ExlusivelyUses] for specific test?
Hi, From what I can remember, NCrunch will always aggregate the ExclusivelyUses attribute values down through the inheritance structure. This means that once it's been declared on a base class, there isn't any way to then undeclare it on a descendant. Sorry, I can't think of any workaround here…
24 Apr 2017 13:17 UTC
-
Assembly initialize/cleanup failed: System.ArgumentException TestContext_proxy
Thanks for sending through the sample solution. This problem was quite complex and I doubt I could have figured it out without the code sample. Your test project is referencing two different versions of MSTest. The test project directly references MSTest 2017 (Microsoft.VisualStudio.TestPlatfor…
21 Apr 2017 23:04 UTC
-
NCrunch 3.6 Supported framework?
Hi, This is a known issue in v3.6 It is not correctly detecting .NET 4.6.2 and is trying to use this framework to host the engine when it isn't actually installed. You can either install .NET 4.6.2 or use the build of NCrunch below: [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.4…
21 Apr 2017 14:00 UTC
-
"Show Ignored Tests" issue
[quote=agiro;10309]Turning the filter on/off doesn't make any difference but the issue is related to pinned tests. Basically if a test is "pinned" it ignores the filter. Unpinning the tests it works perfectly. Thanks! [/quote] Got it, thanks! This is by design. When a test is 'pinned', it …
21 Apr 2017 10:28 UTC
-
"Show Ignored Tests" issue
Does turning the filter on/off make any difference? Are the tests 'pinned' to the Tests Window?
21 Apr 2017 10:19 UTC
-
"Show Ignored Tests" issue
Hi Alessandro, Thanks for sharing this problem. I'm aware of an issue right now where the filters seem to desynchronise sometimes when changing solutions. Did you swap solutions during the same VS session? Does the issue still exist for you after a restart?
21 Apr 2017 10:11 UTC
-
Assembly initialize/cleanup failed: System.ArgumentException TestContext_proxy
Hi, thanks for sharing this problem. I'm having trouble reproducing this. I think it might be in some way related to your project structure (i.e. its type, references, etc). Is there any chance you can build a sample project that you can share with me? If you're able to submit a bug report t…
21 Apr 2017 00:01 UTC
-
Isolated attribute not always respected
Hi, thanks for posting. The Isolated attribute basically marks a test or fixture as being run in isolation. When this is applied to a fixture, tests within the fixture are considered to be 'Isolated by fixture', which means that they CAN be run in the same process, but there is no code that expl…
19 Apr 2017 23:30 UTC
-
Project Build Error after upgrading to v3.x from v2.27 in VS2015
[quote=srkinyon;10300] - Sorry, there are many, many files in that project so I'm not sure I could isolate it. Is there a log file or some diagnostic that says which file it is failing on? [/quote] Understood. This is usually the case with these sorts of problems :( There are no logs detaile…
19 Apr 2017 05:07 UTC