Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

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

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

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

  4. Issue with VS2015 RC

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

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

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

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

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

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

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

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

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

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

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

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

  16. Installer should warn about expired license

    Sorry about this. This feature has just been introduced in 2.15 - [url=http://www.ncrunch.net/download/showChangeLog?version=2.15]http://www.ncrunch.net/download/showChangeLog?version=2.15[/url]. So for your next upgrade, you will see this behaviour.

  17. Entity Framework metadata problem using console tool

    Hi Patrick, That is of great interest. Does NCrunch give you any warnings about missing SDKs or build targets on the grid node? My first guess here would be that this behaviour requires an SDK to be installed on the machine, which may not exist on the grid node.

  18. npgsql upsets ncrunch

    Hi, This warning is NCrunch telling you about something that is wrong with the dependency structure in your solution. It isn't necessarily an NCrunch problem - it can mess up many things in your build. There's a good chance that NCrunch will continue to work without obvious problems, though you…

  19. Target "_SplitProjectReferencesByFileExistence" cannot be found in customized projects.

    Taking another look at the error, it seems that the error is being thrown at load time rather than build time. This means that NCrunch is basically just trying to open the project in its original location using the MSBuild API. I've taken a look at the source code you've linked to. Unfortunatel…

  20. Code Coverage is only collected for the last test case run with [TestCaseSource]

    [quote=yworksjr;7283]Ok, solved it. This had to do with my test method taking an object as argument that didn't have a ToString(). Also every test had a description, but not a name. Thus every test had the same name as far as NUnit was concerned, which probably led to this problem. ReSharper coul…