Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. 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.

  2. 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…

  3. 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…

  4. 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…

  5. 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 …

  6. 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! :)

  7. 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…

  8. "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…

  9. "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.

  10. "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…

  11. "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…

  12. 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…

  13. 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…

  14. 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…

  15. "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 …

  16. "Show Ignored Tests" issue

    Does turning the filter on/off make any difference? Are the tests 'pinned' to the Tests Window?

  17. "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?

  18. 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…

  19. 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…

  20. 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…