Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Unnecessary .ncrunchproject files
The "Project Config File Storage Path" setting was actually designed specifically to address the problem with NCrunch config files messing with git submodules. Are you experiencing any problems with this setting? Removing the 'PreviouslyBuiltSuccessfully' value from the configuration files would…
28 Feb 2017 11:29 UTC
-
Inconsistent compiler results
Are you using the log4net library? I'm wondering if there may be more to this problem than an IL difference. How many machines do you have in your grid? I'm also particularly interested in whether you can find some kind of pattern around when this is reported.
28 Feb 2017 11:22 UTC
-
NCrunch Issue with NuGet Package with Generic
Ideally a sample of the project itself with any dependencies required to build it. I might be able to reproduce it with just the compiled DLL for this project, but a full code sample with dependencies will usually give certainty that I can reproduce the problem and produce a proper test case for it…
27 Feb 2017 22:09 UTC
-
Inconsistent compiler results
I think these comments are generated by ildasm.exe, so it may not be the cause of the problem. If you copy the assembly over from the other machine, then use the same machine to generate the IL dump from both assemblies, are the comments consistent? Does the problem appear to be inconsistent for…
27 Feb 2017 22:02 UTC
-
Inconsistent compiler results
NCrunch will ignore the image base and MVID. The hash is generated using the IL contents of the methods themselves, with a few considerations for oddities (such as compiler generated code). You mentioned that there are cultural differences between the assemblies. This may be suspect. Can you e…
27 Feb 2017 10:56 UTC
-
NCrunch Runs Wrong Test(s)
Hi Ed, I wish I could give a fast answer on this, but it would take either some running through the NUnit source code or a bit of testing to confirm whether the description would be enough. Personally, I would recommend SetName, because this is one that I'm sure will work. In all prior situatio…
24 Feb 2017 21:45 UTC
-
Build exception
Hi, thanks for sharing this issue. This problem is likely being caused by an IL sequence that NCrunch isn't designed to handle. It may be possible to work around this problem by turning off the 'Instrument output assembly' setting for this project. Are you able to share with me a project that…
24 Feb 2017 11:14 UTC
-
NCrunch Runs Wrong Test(s)
Hi Ed, When using user types as parameters to test cases, you need to be very careful to make sure that the name NUnit is generating for the test is unique. If you have two tests with different instances of the same user type, it's possible that NUnit's generated name for the tests ends up being…
23 Feb 2017 22:56 UTC
-
NCrunch Runs Wrong Test(s)
Hi Ed, Can you share any details about how these tests are being generated? Are you using TestCaseSource? The working of this are all behind the test framework itself (NUnit3), though I think this may be a test case identification issue of some kind. If the tests don't have unique and distin…
22 Feb 2017 20:35 UTC
-
Inconsistent compiler results
Hi Michael, Do you have any other versions of VS (i.e. VS2017 or any of its updates) installed on either your local machine or the grid server? One way to analyse this issue further is to use ildasm.exe to obtain an IL-dump of the assembly on both your workstation and your grid server. You can…
21 Feb 2017 11:23 UTC
-
Memory Leak in Large Project
There must be a build step that is causing this. Are you able to narrow it down to a specific project? Do you have any projects in your solution that could be considered unusual?
21 Feb 2017 11:17 UTC
-
Memory Leak in Large Project
Hi, thanks for sharing this issue. Svchost.exe is used to host a range of services and O/S level software. This won't be hosting any of NCrunch's code, but because NCrunch executes builds and test code, I would say there is a likelihood here that it is triggering this problem indirectly. Do y…
20 Feb 2017 22:36 UTC
-
Build Issue - VS 2017 RC 4
Hi, Thanks for sharing this issue. Please note that NCrunch does not yet support netstandard or .NET core projects. This is currently a work in progress. For the latest information, please see [url=https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/8065623-support-net-c…
20 Feb 2017 11:13 UTC
-
3.2 installer mistakenly thinks VS2017 setup failed, no way to override this
[quote=jnm236;9819]This is a brand new installation of Windows. I needed to build for net20, so I went to "Turn Windows features on or off" and checked the .NET Framework 3.5 box. Then I restarted. Then on a whim I tried the NCrunch installer again and it worked fine. I hadn't run the VS install…
19 Feb 2017 11:17 UTC
-
3.2 installer mistakenly thinks VS2017 setup failed, no way to override this
Hi, thanks for sharing this issue. Do you still have the error message that the NCrunch installer was giving you? The NCrunch installer is mostly just an xcopy MSI into the VS directory. The error you've described doesn't seem like any of the error checks that are manually coded into the MSI. …
18 Feb 2017 22:55 UTC
-
NCRUNCH 3.3: don't resolve nuget packages in project with project.json
Thanks for sending through the sample project. This looks to be a regression in v3.3, where some of the .NET core integration handling has damaged NCrunch's ability to resolve Nuget package references during build time. If handling these references is required for your project, I recommend rolli…
18 Feb 2017 00:28 UTC
-
NCRUNCH 3.3: don't resolve nuget packages in project with project.json
Hi, thanks for sharing this issue. Is this a project that you can share with me? I'd really like to take a closer look at how it is put together. You can submit it via the [url=https://www.ncrunch.net/support/contact]contact form[/url].
16 Feb 2017 19:13 UTC
-
Build Issue - VS 2017 RC 4
Hi Steve, Thanks for sharing this issue. Can you tell me more about the nature of these projects? Are these .NET Core or .NET Standard projects?
16 Feb 2017 19:11 UTC
-
NCrunch Issue with NuGet Package with Generic
Hi, thanks for sharing this issue. This looks to be caused by a particular IL sequence that NCrunch isn't able to handle. Are you able to reproduce this in a project that you can share with me?
14 Feb 2017 07:07 UTC
-
Only one of multiple TestCaseSource attributes respected
Hi Daniel, thanks for posting! When creating tests dynamically using TestCaseSource (or TestFixtureSource), there are a couple of rules you must consider: 1. Each test must have a consistent name (randomly generated is not an option) 2. Each test must have a unique name (no more than one test…
13 Feb 2017 23:30 UTC