Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Can't get FsCheck-based property tests to work with NCrunch
[quote=larsw;8382] Tested with NCrunch 2.16.0.3[/quote] I think that this is likely to be the problem :) There have been a few fixes to Xunit v2 support since 2.16 was released. 2.17 in particular had a number of targeted fixes around Xunit2 extensions. When I test the code you've provide…
06 Mar 2016 20:51 UTC
-
Can't get FsCheck-based property tests to work with NCrunch
Hi Lars, According to prior experience, NCrunch should work correctly with FsCheck, though you may need the [Fact] to get it to recognise the tests. It's possible that something has changed or you've found a feature that NCrunch doesn't work with. Are you able to share any sample code that can …
04 Mar 2016 21:23 UTC
-
Best method for referencing third-party assemblies
Although these references aren't being referenced using a path, they are being resolved to your Program Files directory, possibly via an extended search path (MSBuild search logic is very complex). NCrunch has a piece of logic inside it that stops it from copying assemblies inside 'Program Files' i…
04 Mar 2016 21:16 UTC
-
Path to nuget cache?
[quote=moswald;8374]Aha, I have it figured out. You were right, it didn't have anything to do with the nuget package itself. The build process knows about the nuget cache, and so nCrunch shouldn't need to do anything special. [i]However[/i], nCrunch doesn't automatically copy the generated .nuget…
04 Mar 2016 04:15 UTC
-
Path to nuget cache?
Thanks! The error message I receive from this code when testing it under the latest dev version of NCrunch is as follows: System.InvalidOperationException: IExampleApi doesn't look like a Refit interface. Make sure it has at least one method with a Refit HTTP method attribute and Refit is instal…
03 Mar 2016 22:01 UTC
-
Best method for referencing third-party assemblies
[quote=MarcChu;8370]Well, I got the code to function correctly by setting "Copy referenced assemblies to workspace" for every project in this chain (A, B, and C, but not for every project in the solution). I'm fairly certain nothing is loaded from the GAC. Also, I was in contact with tech su…
03 Mar 2016 21:50 UTC
-
Path to nuget cache?
[quote=moswald;8368]I think so? It's definitely broken right now. :) If you want, tomorrow I can put together a sample test suite and put it on GitHub for you to take a look at.[/quote] It would be really great if you could do that. Sorry, I'm having a hard time understanding this one.
03 Mar 2016 05:24 UTC
-
Path to nuget cache?
[quote=moswald;8366]In this case, the [url=https://github.com/paulcbetts/refit]nuget package comes with a tools subfolder[/url] with an executable inside that gets run as a pre-build step. Pre-nuget 3.0, the only way to get it working was to use the IncludeAdditionalFiles property.[/quote] Unde…
03 Mar 2016 04:56 UTC
-
Displaying paramaterised tests
I've completed my investigation of this problem and concluded that it is, unfortunately, by design. Xunit v2 has a concept known as pre-enumeration, which basically involves the granular discovery of theory test cases during test discovery. Pre-enumeration allows NCrunch to detect theory test ca…
03 Mar 2016 04:42 UTC
-
Path to nuget cache?
I've just revisited our solution to this issue, and realised that our solution doesn't really make sense in this context. The Additional Files To Include is designed to allow you to include files in the workspace that a relatively referenced from your code or build logic. But the Nuget package…
03 Mar 2016 03:06 UTC
-
Best method for referencing third-party assemblies
Hi, thanks for sharing this issue. It looks to me as though something is not behaving right in NCrunch's resolution in your solution. When NCrunch constructs a workspace for your project, by default, it will copy all assemblies directly referenced by the project into an _ncrunchreferences direct…
02 Mar 2016 21:52 UTC
-
Benefits of NCrunch vs Other Test Tools
[quote=qujck;8356]I had to disable NCrunch the other day as one of the guys I was demoing to is colour blind (NCrunch is not very colour blind friendly).[/quote] You may already know this, but I just wanted to confirm that it's possible to [url=http://www.ncrunch.net/documentation/reference_globa…
01 Mar 2016 11:25 UTC
-
Grid + local performance question
Hi Wilhelm, When NCrunch works over a grid, it will duplicate build and analysis tasks so that each node (+ local) will build and analyse the same project. The alternative design considered was to have a single node (or local) build each project, then transfer the artifacts across the grid. T…
01 Mar 2016 09:36 UTC
-
Benefits of NCrunch vs Other Test Tools
Hi Ed, I have a feeling that you're fishing for real-world examples of people that have investigated their tooling, rather than a pitch from a tools vendor ... So I'll sit quiet on this one. I've put out a tweet asking if any other users are interested in posting here, as I'm also interested in …
29 Feb 2016 21:40 UTC
-
Quick second build losing code coverage?
Thanks Ed. The pending 2.20 release introduces a number of significant changes to the way that NCrunch builds and handles its code coverage indexes. Because of the sheer volume of data involved and the complexity of this area of the product, it will be very difficult for me to reproduce the prob…
27 Feb 2016 00:01 UTC
-
Test Status Changes
Hi Ed, Something I can think could cause this behaviour is if SaveToFile test 2 causes a change to a file in the foreground solution. This would cause NCrunch to consider tests to be out of date. Is the file being saved to by these tests referencing anything using an absolute file path?
26 Feb 2016 23:52 UTC
-
NUnit generic test fixtures report "same name" error
Hi Jamie, Thanks for sharing this issue. This is caused by a known problem in which NCrunch isn't correctly identifying tests using parameterised fixtures under NUnit v3 - [url=http://forum.ncrunch.net/yaf_postst1734_Parameterized-TestFixtures-not-fully-recognized-anymore-with-NUnit3.aspx]http:/…
19 Feb 2016 11:09 UTC
-
Path to nuget cache?
Hi, thanks for sharing this. It looks like we'll need to add support for environment variables in the 'Additional Files To Include' for this to work. I'll see if I can get this introduced. Thanks for making me aware of it. An ugly work around would be to hard-code the path into the 'Addition…
16 Feb 2016 21:59 UTC
-
Adjust alpha of pending tests?
[quote=kentcb;8338]Hi, I find it hard to distinguish between tests that have completed (solid) and those that have not (semi-transparent). I've found the "General Settings" and it's fantastically flexible in setting up colours and what-not. However, I can't see a way to adjust the alpha for pendi…
15 Feb 2016 08:31 UTC
-
Disable coverage without disabling test info
[quote=kentcb;8336] I'm not sure I find the perf info useful yet. Is it measuring the DEBUG binaries? Does it warm up the JIT? [/quote] The performance tracking cannot work with compiler optimisations enabled and does not override JIT behaviour. Even considering this, you may be surprised how …
12 Feb 2016 04:06 UTC