Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
XUnit theories are not found by NCrunch if I am using Fluentvalidations instead of regular Asserts
Hi, thanks for sharing this issue. Can you confirm which version of Xunit you are using?
27 Jan 2016 21:57 UTC
-
Displaying paramaterised tests
Thanks for sharing this. It looks like the issue is being caused by an integration problem caused by AutoFixture. It looks as though AutoFixture changes the behaviour of Xunit somehow in this situation, and Xunit/NCrunch is using a fallback method to ensure the test can still be run. I'll need …
26 Jan 2016 23:25 UTC
-
Displaying paramaterised tests
Thanks for clarifying! Can you confirm that you have your 'Framework utilisation type for Xunit' set to DynamicAnalysis? In most cases, NCrunch should expand the test cases to their individual cases. I'm not sure at the moment why this isn't the case here - if you can share any sample code, I…
26 Jan 2016 23:02 UTC
-
Displaying paramaterised tests
[quote=Magbr;8270]Hi, I am allready using Xunit 2.1.0 and NCrunch 2.19.0.4! I'm using autofixtures InlineAutoData attribute if that plays a role.[/quote] Sorry, can you clarify a bit further on how your expecting the tests to be displayed? Are you expecting an extra grouping at method level?
26 Jan 2016 21:43 UTC
-
Displaying paramaterised tests
Hi, thanks for posting! When working with Xunit V1, NCrunch is integrated via Gallio, which automatically bundles parameterised tests into singular tests so it can make sense of them. From Xunit V2, NCrunch supports separation of parameterised tests implicitly. So if you upgrade to Xunit V2, …
26 Jan 2016 03:05 UTC
-
Ninject Extension Issue
Has this extension been installed via Nuget? If so, it's possible that it has an implicit dependency on files from the Nuget package. Try adding the .nuget directory to your solution-level 'Additional files to include' NCrunch configuration setting. Also, make sure that the 'Copy referenced ass…
25 Jan 2016 21:07 UTC
-
Ninject Extension Issue
Hi, thanks for sharing this issue. My first guess here is that the tests have a dependency on the Ninject assemblies being co-located with the test assembly. Does turning on the 'Copy referenced assemblies to workspace' NCrunch configuration setting for all the projects involved make any differe…
25 Jan 2016 06:08 UTC
-
Risk/Progress Bar State Indicator Problem
Hi Bernhard, Thanks for sharing this issue. A quick test on my side confirms that the risk/progress indicator isn't working correctly when the engine mode is set to run impacted tests only. Most likely a change to the way the engine removes executed tests from the processing queue is causin…
21 Jan 2016 12:07 UTC
-
Improve NCrunch Cache Storage Path management
Hi, thanks for sharing your feedback on this. I've already been looking at adding support for environment variables in this setting. There is also a long term plan to implement a more sophisticated configuration system that would allow many of the configuration options to be specified at diffe…
21 Jan 2016 12:02 UTC
-
TestResultsInNUnitFormat.xml- the path to the file during execution
Hi, thanks for posting. This XML file is always stored in the results output directory as defined by the '/O' parameter passed into the NCrunch console tool (ncrunch.exe). By default, I think this lands in a 'TestResults' directory next to your solution (.sln) file. The XML file is only present…
20 Jan 2016 21:31 UTC
-
Can you explain how Ncrunch work on Visual Basics?
Hi, thanks for posting. NCrunch works with VB.NET in the same way as C# or F#. It will build your code and execute tests within your solution. You're welcome to view the demo video on the front page of the site ([url=http://www.ncrunch.net]http://www.ncrunch.net[/url]) or take a look at the doc…
20 Jan 2016 10:10 UTC
-
First time build
[quote=JohanSpannare;8250] Then i queued all test in the repository class (since i was in manual mode i want to run all impacted tests). Then i got the same result causing the assembly to be flagged as "First time build" and all servers in the grid node did a rebuild. [/quote] I strongly sus…
19 Jan 2016 21:36 UTC
-
NCurnch does not recognize MSpec tests with Behavior when Behavior is defined in a separate assembly
Hi, Thanks for sharing this problem. This looks to be an issue with the static analysis. I've noted it down for review. To work around the problem, change the 'Framework utilisation type for MSpec' solution-level configuration option to 'DynamicAnalysis'.
19 Jan 2016 21:29 UTC
-
First time build
Hi Johan, Thanks for sharing this problem. Does setting the engine to run tests manually prevent it from continuously building projects? If so, then this is likely to be a test that is reaching outside the NCrunch workspace and touching files in the foreground solution. In this situation, …
19 Jan 2016 10:30 UTC
-
Ncrunch Fody ContainsTypeChecker
[quote=abelb;8245] Once everything was aligned, it worked as it should. Though I am still unsure why there's a difference here, because I would expect that NCrunch uses either version, and since it is only used during build, isolation should *not* result in this error (unless the same process runs …
17 Jan 2016 22:06 UTC
-
Why are tests with the [Serial] attribute distributed to several nodes?
[quote=royboy23;8243] I guess the only way to achieve this is by using the serial attribute and also adding a capability to only one of the nodes that that the test is supposed to be using. Or is there any simpler workaround? [/quote] Using SerialAttribute with RequiresCapabilityAttribute is th…
17 Jan 2016 00:09 UTC
-
Why are tests with the [Serial] attribute distributed to several nodes?
Hi, Thanks for posting. The SerialAttribute works internally through a combination of ExclusivelyUsesAttribute and InclusivelyUsesAttribute. When this attribute exists, NCrunch internally does the following: 1. All tests within the project become implicitly marked with InclusivelyUses("Tes…
15 Jan 2016 21:26 UTC
-
Ncrunch Fody ContainsTypeChecker
When you receive this error, it may be worth examining the NCrunch workspace in which its occurring. Fody is invoked via MSBuild task. Under NCrunch, this will always happen inside a workspace. If you receive the error, try navigating to the workspace by right clicking on the failed build, then…
15 Jan 2016 21:12 UTC
-
Test Isolation Issue
Hi Paul, Sorry about this. Reading this paragraph in the documentation, I can see how you concluded that each test would always be run in isolation. I've made a note to reword this in the documentation to avoid future confusion. Using the existing IsolatedAttribute to isolate only at test le…
15 Jan 2016 01:34 UTC
-
Is there a way to visualize the test pipeline?
Hi Ralf, I was waiting for someone to ask this question, and I'm glad you did, as it means someone is getting some good use of this feature :) (not specified) basically means 'I don't know'. When NCrunch constructs the performance tracking chart, it correlates every task performed by the engi…
14 Jan 2016 21:50 UTC