Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
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
-
Test Isolation Issue
Hi Paul, Thanks for sharing this issue. If I understand this problem correctly, I think it may be by design. Running two tests in sequence (or at the same time) using the NCrunch engine will usually result in the tests being run sequentially within the same process. This is the same behavi…
14 Jan 2016 21:41 UTC
-
Random build issues
[quote=willapp;8227] One suspicion I have that could be contributing to this is Nuget packages. Sometimes when checking out a different branch it will have a dependency on a different version or a new package and I'm not sure if the NCrunch build process is updating the Nuget packages when it runs …
14 Jan 2016 01:42 UTC
-
Random build issues
Hi, thanks for sharing this issue. Switching branches is a very complex action as it causes a massive cascade of changes to be run through the system in rapid sequence. The engine does its best to track every individual change and respond to it, but there are some known issues that can cause des…
13 Jan 2016 22:04 UTC
-
Test not detected as Unittest
Hi, thanks for sending through the bug report. There is a whole lot going wrong internally in your NCrunch. The errors being kicked up inside the engine suggest you are experiencing a corrupt install state. Try the following: 1. Uninstall NCrunch using the uninstaller 2. Browse to the NCrun…
12 Jan 2016 08:53 UTC
-
Manual Execution Not Running All Tests
[quote=keith;8217] E.g. I open the solution for the first time, right click on my test project in the NCrunch Tests window and manually run all the tests in a particular test project then maybe about half of them are run. If I right click and run them again then they all execute.[/quote] Does th…
12 Jan 2016 03:07 UTC