Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. *.ncrunchproject and *.ncrunchsolution encoding change?

    It looks like there may be some options in Git that can be used to improve its handling of merging UTF-16 files. It might be worth a look - [dead link].

  2. TestContext.CurrentTestOutcome contains weird values

    Hi, Thanks for sharing this issue. NCrunch's support for MSTest is emulated (rather than integrated), which means that it is a complete re-implementation of the MSTest engine from the ground up. The drawback of such an approach has the potential for compatibility holes. You've managed to f…

  3. *.ncrunchproject and *.ncrunchsolution encoding change?

    [quote=lhorsley;7387]Hi Remco, Thanks for getting back to me so quickly. I have no doubt there was a valid reason for the change, however UTF-8, UTF-16 and UTF-32 all support the full set of Unicode code points; UTF-8 and UTF-32 could potentially support more if it weren't limited by UTF-16. …

  4. Issue with VS2015 RC

    I've managed to find a solution to this. The problem was in the way that NCrunch has been handling a strange mscorlib assembly reference that exists only when an FSharp type provider is in use. I've prepared a fixed build if you'd like to give it a try: [url=http://downloads.ncrunch.net/NCrun…

  5. *.ncrunchproject and *.ncrunchsolution encoding change?

    Hi Luke, You are correct - this was changed .. though it was a while ago (I think maybe a year or so). The encoding needed to be changed because these files can contain user entered strings that sometimes require complex character sets that just don't work in UTF8. This creates some very stra…

  6. 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 …

  7. 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].

  8. 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 …

  9. 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…

  10. 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…

  11. 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…

  12. 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?

  13. 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…

  14. 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…

  15. 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…

  16. 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…

  17. 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…

  18. 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 - [dead link]. Unfortunately I'm not an expert on t…

  19. 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. 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…