Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Forcing priority of tests
Thanks for clarifying this. I can empathise with the frustration involved in waiting for test runs while doing large restructuring or merging in a codebase. Given the current feature set, unfortunately we're limited to the following conventional options in improving this for you: - Keep the tes…
27 Jan 2018 02:08 UTC
-
Test Case in separate column possible?
Under NUnit3, NCrunch is fully abstracted away from the TestCase/TestCaseSource generation system. It might be possible to infer the use of such a mechanism by deconstructing the test name, but there are drawbacks to such an approach in terms of future proofing and maintainability. I would recomme…
25 Jan 2018 23:52 UTC
-
Forcing priority of tests
Hi, thanks for posting. Right now no feature exists allowing fine grained control over a test's priority in the queue, outside of pinning the test to the Tests Window. If you haven't already, I strongly recommend marking this slow running fixture with NCrunch.Framework.AtomicAttribute, as this…
25 Jan 2018 23:43 UTC
-
Ipc.IpcConnectionClosedException
Hi, thanks for sharing this problem. Usually, this is caused by the dotnet.exe process failing to initialise. If you're not running the latest version of NCrunch, make sure you upgrade. This was quite a common problem with earlier versions of NCrunch last year as integration with .NET Core was …
19 Jan 2018 23:13 UTC
-
System.MissingMethodException (.net standard 2.0 class lib + 4.7 test project)
Thanks for sending through the logs. It looks like this is a known issue in .NET itself, see [url=https://github.com/dotnet/standard/issues/476]https://github.com/dotnet/standard/issues/476[/url]. Although the problem only appears for you under NCrunch, this doesn't seem to be caused by NCrunc…
18 Jan 2018 23:17 UTC
-
System.MissingMethodException (.net standard 2.0 class lib + 4.7 test project)
Hi, thanks for sharing this problem. On following these instructions, the MissingMethodException doesn't seem to appear for me. There must be something different about the assembly referencing behaviour in your environment. When you enable the 'Pre-load all assembly references' setting, NCrun…
18 Jan 2018 11:09 UTC
-
NCrunch Grid Node server pre-configuration
[quote=avishnyakov;11711]Looks good. Would the password value remain the same across different VMs? [/quote] Yes, the hash should be the same across environments.
18 Jan 2018 08:45 UTC
-
Log from class' ToString() used in TestCaseSource ?
Hi, thanks for posting. I know of no mechanism that will allow you to write to the log from inside the discovery step. At this stage in the process, NCrunch doesn't have any hooks into the debug or console streams, so it's effectively deaf to everything you throw at it. One option for debugging…
17 Jan 2018 08:47 UTC
-
NCrunch Grid Node server pre-configuration
Hi, thanks for posting. The settings are stored in the registry, under HKLM\SOFTWARE\Remco Software\NCrunch Grid Node. I'd suggest just doing a registry export of this key on a pre-configured node into a .reg file, then importing on any machine you want to run the node on.
17 Jan 2018 07:54 UTC
-
Ruleset files using include
Thanks for sharing this. I'm not sure how easily this can be resolved to a specific file using NCrunch's MSBuild integration, but will put it on the list to take a look. 'Additional files to include' is the correct workaround for now.
16 Jan 2018 22:46 UTC
-
.net 4.7.1 support
[quote=Magbr;11701]I feel so stupid not having figured this out. I was messing around with the binding redirects, I just wasn't doing it in the right project(test project). As an alternative workaround just simply removing the binding redirect from app.config works! [/quote] Great to hear! T…
16 Jan 2018 11:15 UTC
-
.net 4.7.1 support
Thanks! I now have the test solution and it's producing the problem exactly as you've described. The trigger for this seems to be the binding redirections in the app.config file. Even though they are targeting different versions of System.Runtime, somehow this seems to change the resolution seq…
16 Jan 2018 10:04 UTC
-
.net 4.7.1 support
[quote=Magbr;11697] Tell me if the upload went through or not. If not I can upload it to OneDrive and send you a link.[/quote] Doesn't look like it made it :( Including the Nugets is definitely helpful as it reduces the risk of me getting something wrong when calibrating the solution in my own …
15 Jan 2018 22:18 UTC
-
Ncrunch nuget PackageReference
Thanks Daniel! I agree that the path looks like the problem. I'll see what I can do about reproducing and arranging a fix.
15 Jan 2018 03:59 UTC
-
Ncrunch nuget PackageReference
[quote=danius;11691]Manual msbuild worked just fine, see below. could it be that my when ncrunch is unable to parse unicode character in path (note the -> ??) [/quote] That is suspect ... I'm going to need to fish up some more info to be sure .. Would you be able to do the following? - …
14 Jan 2018 22:51 UTC
-
Ncrunch nuget PackageReference
Hi Daniel, Thanks for sharing this problem. It doesn't make sense to me that MSBuild would be giving you this error under NCrunch. I think we should try comparing the NCrunch workspace to your foreground solution, and trying to find the point of difference that is causing this. Try the f…
14 Jan 2018 22:09 UTC
-
Grid Node + MSBuild 14 detection
Great to hear, thanks for confirming! Don't worry about the missing file warning. This is just a goto-hint if you do actually have any problems. Those files naturally won't be on the grid node because it doesn't have VS installed.
10 Jan 2018 22:57 UTC
-
.net 4.7.1 support
Thanks for the extra details. You mentioned that you'd tried to get this running on your laptop (which I assume is a different machine?), did it work there? I think right now we need to try and establish whether this problem is related to your environment, or whether it's solution specific. If …
10 Jan 2018 22:51 UTC
-
Grid Node + MSBuild 14 detection
This problem is caused by the inability of NCrunch on your grid node to locate the installation of VS2017. VS2017 is much more complicated to reference than other versions of VS, as there is no reliable central way of finding it outside of a COM API, which I've had some problems with in the past.…
10 Jan 2018 08:36 UTC
-
.net 4.7.1 support
Thanks for these extra details. The root of the problem here is that NCrunch is attempting to load System.Runtime from the Facades directory. It's doing this because the build system reports the project as being built against the facade of System.Runtime, while the runtime probably expects this …
09 Jan 2018 22:33 UTC