Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

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

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

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

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

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

  6. CategoryAttribute not working

    Hi, I've noticed something not quite right in your declaration of CategoryAttribute. Try changing the property name 'CategoryName' to 'Category'. To avoid any doubt, it's best to copy/paste the declaration from the documentation - [url=http://www.ncrunch.net/documentation/reference_runtime-fram…

  7. Issue with VS2015 RC

    Thanks for sending through the logs. There's no signing going on here, no keys, nothing. I'm out of ideas. Is there any chance you can narrow this down to a code sample you can share with me? If I can reproduce the problem, there is a very good chance I can provide a solution that won't involve …

  8. Issue with VS2015 RC

    Ok - this is definitely a signing issue then. I know you've stated that none of the assemblies in your solution are signed, but I have a feeling there is something going on here. I've tried creating a sample solution in the same structure as you've described, but the problem isn't appearing for …

  9. Issue with VS2015 RC

    Does disabling the 'Instrument output assembly' setting for the F# projects make any difference?

  10. Issue with VS2015 RC

    Hi, thanks for sharing this issue. Does turning on the 'Prevent signing of output assembly' NCrunch project-level configuration option for these two F# projects resolve the issue? NCrunch will manipulate assemblies after they are built (this includes F# assemblies). The manipulation invalidat…

  11. XUnit 1.9.2 tests not found when a custom TraitAttribute used

    Hi Piotr, Unfortunately, the mechanics involved make custom trait attributes impossible to implement when using static analysis. For this to work, you'll need to set the 'Framework utilisation type for Gallio' solution-level NCrunch configuration setting to 'DynamicAnalysis'. Note that Dynami…

  12. data-driven xunit tests (Theory) expansion?

    Ok, this is all making sense now. Broadly, there are two ways to represent a theory: 1. By splitting each test case of the theory independently, resulting in many 'tests' 2. By treating the entire theory as one 'test', and rolling all the results up into this one test. When working with Xu…

  13. data-driven xunit tests (Theory) expansion?

    Thanks for this. Just to clarify - when NCrunch detects this test, does it give you a single test for each set of InlineData, or just one test for the whole theory? (as visible in the Tests Window)

  14. data-driven xunit tests (Theory) expansion?

    Hi James, Thanks for sharing this. Can you share any sample code with me demonstrating this? Sorry I'm having trouble understanding/reproducing the problem.

  15. Custom MSBuild Path

    Hi Aaron, NCrunch will always use the version of MSBuild that corresponds with the version of Visual Studio you are using. It resolves this via a GAC lookup to the MSBuild framework DLLs. How are you currently handling your custom build of MSBuild with your other tools? Have you overridden t…

  16. Unit test project with only xUnit.net theories in it is not picked up

    Right - here's the issue: NCrunch doesn't support the JSON based project files yet. This area is still a work in progress. Likely it will be out before VS2015 is fully released.

  17. Unit test project with only xUnit.net theories in it is not picked up

    Hi, As far as I am aware, this issue is resolved. If you're seeing this in the latest version of NCrunch, can you share any sample code?

  18. User not authenticated running integration tests

    Thanks Lee. It looks like there is some magic in MSTest that is responsible for setting the GenericPrincipal.Current value. Unfortunately as this behaviour isn't documented anywhere, I am not sure how to emulate it in NCrunch or what the expected behaviour truely should be. It may be worth ex…

  19. Visual Markers missing with Visual Studio 2015 RC

    NCrunch v2.15 has now been released specifically to address this problem - [url=http://www.ncrunch.net/download]http://www.ncrunch.net/download[/url].

  20. VS2015 RC No Markers

    Yes! The new version was released specifically to fix this. Sorry, I'd intended to put a post here to let you know.