Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
ncrunch won't load any project
The auto-mocking issue is likely to be caused by inconsistencies in the test name. Because NCrunch needs to uniquely identify a test by its name (which in the instance of a testcase, is generated from its parameters), there is a known issue where having a test with a name that is inconsistent or …
30 May 2015 21:20 UTC
-
ncrunch won't load any project
[quote=carlbm;7377]I can send you a sample project file if you'd like?[/quote] Absolutely - this would be a huge help. Could you submit it through the contact form? [url=https://www.ncrunch.net/support/contact]https://www.ncrunch.net/support/contact[/url].
30 May 2015 00:54 UTC
-
Incorrect Coverage Metrics for single-line if-statements
Hi, thanks for sharing this. This is a known limitation of NCrunch that exists because the tool simplifies coverage down to individual lines, rather than multiple statements per line, as is often done with other coverage tools. The limitation exists for two reasons: 1. The UI of NCrunch is …
30 May 2015 00:49 UTC
-
ncrunch won't load any project
Hi, This is an exception thrown by MSBuild when it tries to interpret the XML of your project file. Has the project file been hand-coded or heavily customised? Which template was used in its creation? Do you experience this problem on a fresh new solution using one of the standard VS project…
29 May 2015 12:25 UTC
-
Documentation for Taskbar Icons
Ahh. No - this is not documented anywhere, but I can give a short explanation: The spinners represent background worker threads. One spinner is one thread, so if you see 4 of these spinning, that means you have 4 build/test tasks running in the background. The colours are all configurable in…
29 May 2015 00:20 UTC
-
Documentation for Taskbar Icons
Hi, thanks for posting! When you say taskbar icons, are you referring to the button options on the Tests Window? If so, these are not documented as the tooltips for them should be fairly self explanatory. If you have a question about any specific option, please feel free to ask and I will hel…
28 May 2015 22:05 UTC
-
Concurrency problem
Try turning off parallel execution for your solution ([url=http://www.ncrunch.net/documentation/reference_solution-configuration_allow-parallel-test-execution]http://www.ncrunch.net/documentation/reference_solution-configuration_allow-parallel-test-execution[/url]). Does this suppress the problem?
26 May 2015 01:33 UTC
-
Issue with VS2015 RC
[quote=mjmckp;7366]I see, thanks. Do you think it would be straightforward to reproduce the bug outside NCrunch so that it can be reported to Microsoft?[/quote] It depends upon the nature of the problem. There is a possibility that the type provider results in a valid IL sequence that NCrunch i…
26 May 2015 01:05 UTC
-
Issue with VS2015 RC
Thanks for sending through the code sample. The solution is behaving for me exactly as you've described it. The problem itself is being thrown up by the Roslyn compiler (CSC) when it tries to negotiate the reference to the FSharp library. Signing the dependency makes no difference at all. It i…
26 May 2015 00:07 UTC
-
Concurrency problem
Hi, thanks for sharing this issue. It seems strange that a process would interfere with itself, unless you have written code that would do this in a multithreaded way. Note that NCrunch will never run more than one test inside a test process at the same time, and the ExclusivelyUsesAttribute and…
25 May 2015 21:31 UTC
-
Installer fails with error code 2503
Hi, thanks for sharing this issue. NCrunch's MSIs are quite close to xcopy installs into the VS directory. An MSI internal error during such a process could suggest any of the following: 1. Conflict with aggressive antivirus software 2. Security settings that prevent something in windows ins…
23 May 2015 22:31 UTC
-
ProjectReference to F# Console Application: exe not copied
Hi, Yes - this is due to the behaviour of NCrunch's build optimisations. You can switch off the optimisations simply by turning on the 'Copy referenced assemblies to workspace' setting for the console project. Note that this will have a significant impact on NCrunch response times, as it will n…
22 May 2015 23:02 UTC
-
NCrunch with Team City "The server process could not be started because the configured identity..."
Right - so it must require the user to be logged into the system in order to allow the sandbox to operate. I've found something related to this issue, though the solution was recommended prior to MS implementing the Windows Store applications - [url=https://support.microsoft.com/en-us/kb/305761/]…
21 May 2015 22:23 UTC
-
NCrunch with Team City "The server process could not be started because the configured identity..."
What sort of result do you see on this machine if you try running the console tool manually outside of the CI? I realise you've already tried running the CI server under a local admin account - is this the same account you are using when you log into the server to perform actions on the desktop? …
20 May 2015 13:31 UTC
-
NCrunch with Team City "The server process could not be started because the configured identity..."
Thanks for the extra details. It looks like the console tool is failing to initialise the Windows Store app container due to an identity/security problem. Note that the error messages around windows store apps can be extremely misleading - there may well be something else wrong with the environm…
20 May 2015 13:17 UTC
-
NCrunch with Team City "The server process could not be started because the configured identity..."
Hi, thanks for sharing this issue. Can you give any more details about where you see these test errors? Are they showing in the NCrunch coverage report? Or is this TeamCity reporting the error for each individual test? If you look at the build log, what is the pattern about how the error is …
20 May 2015 12:11 UTC
-
Issue with category and engine mode
Hi Max, I'm afraid its hard for me to advise here as there have been a number of changes in 2.7 and it's possible that this is an older problem that has been fixed. I do remember that within the last year there was a problem existing in which updating engine modes could cause the wrong tests to …
15 May 2015 22:33 UTC
-
Parallel Execution of Testcases
Hi, thanks for posting! NCrunch has never been integrated with or formally tested with Jenkins, though in theory as long as this tool allows you to specify a console tool to execute, it may be possible to use it with NCrunch. Note that the NCrunch console tool will need to be hosted and executed…
15 May 2015 22:25 UTC
-
Custom ItemGroups to be copied over to workspace
[quote=nayan;7334] For context, the scenario is coming up with some shared logic to be used by other teams. They have the freedom to add build targets, so I don't control the list of such custom items. Having a configurable list sounds easier than asking them to make sure to include the file in No…
15 May 2015 03:10 UTC
-
Custom ItemGroups to be copied over to workspace
Hi, There isn't any way to change the list of item types that are identified by NCrunch (this is hard-coded), but if the files have a common extension or placement, you should be able to use the [url=http://www.ncrunch.net/documentation/reference_project-configuration_additional-files-to-include]…
14 May 2015 22:01 UTC