Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. NCrunch console 3.6 ignores /E parameter?

    Because the console tool is effectively just a headless version of the VS plugin, it isn't designed to perform incremental builds between sessions. However, the impact analysis does work between sessions because this data is stored in the NCrunch cache file and NCrunch performs a full diff betwee…

  2. build failed on Resharper Change Signature function

    [quote=offset123;10063] My point was that both of these tests are _already_ pinned and the coverage should be updated automatically for both of them. Subsequently, when I changed the code, both were run and coverage was updated. So there seems to be some kind of malfunction (this wasn't happening i…

  3. NCrunch, Core 1.0.1 and BadImageFormatException

    [quote=Der-Albert.com;10057]I hope that i can provide a simple repro for that problem. I've identified some thing in the *.deps.json, if i use the right Dependencies it should be reproducable. But this will take 1 or 2 days until i can take a spin on that.[/quote] Thanks, this does definitely loo…

  4. NUnit tests with the same name inside the same project.

    Not necessarily. CanDoSomething2 isn't constructed using a user type, so the primitive values are fed straight through NUnit that must have some kind of null check in place for them. User types are very different, because they encapsulate their own .ToString() logic. There is no way for NCrunch…

  5. NCrunch console 3.6 ignores /E parameter?

    I'm having trouble reproducing the engine mode override issue. It seems to use the specified engine mode for me every time. Are you sure you're entering the precise name of a pre-configured engine mode? The names are case sensitive. My guess is that by persistent workspaces you mean to have wor…

  6. build failed on Resharper Change Signature function

    [quote=offset123;10060]Unfortunately even using the pinned tests mode doesn't seem to work correctly. I switched to running pinned tests automatically and have two pinned tests, but coverage bubbles are white for one. [img]https://pbs.twimg.com/media/C7bEyQQX4AAhMKk.jpg[/img][/quote] The pinn…

  7. NUnit tests with the same name inside the same project.

    This is a technical limitation. There is no difference in the test name between a null value and an empty string, so the names are effectively duplicates. I recommend using .SetName() to set the name of the tests so that they are unique and distinctive.

  8. Any Plans to optimize ASP.NET, .NET Core Experience?

    Ok, I'll try to help troubleshoot the assembly referencing issue in the other thread. When we get you up and running, I'll be interested to learn more about the performance of v3.6 on your system and whether there are any specific areas that need work.

  9. NCrunch, Core 1.0.1 and BadImageFormatException

    Hi Albert, Can you confirm whether this is appearing for you with self-hosting tests or custom application domains? I'm trying to establish if this is happening the same way for you as it is for Rasmus, or if it is a similar looking issue with a different cause.

  10. NCrunch Runs Wrong Test(s)

    Hi Ed, If possible, I would suggest evaluating your tests to try and find anything that might give an inconsistent sequence or result. It might be possible to reproduce the behaviour by repeatedly running the same tests using the NCrunch Tests Window. If you can do this, I'd recommend turning…

  11. Cannot get Rx.NET to work with NCrunch

    Ok, try this: 1. Create a file adjacent to the project file. Call it 'ncrunch.targets'. Place inside it: <Project xmlns="(- BROKEN LINK -)"> <PropertyGroup> <TargetFrameworks>place;supported;targets;by;ncrunch;here</TargetFrameworks> </PropertyGroup> </Project> 2. Add a line to th…

  12. Invalid detection of 4.6.2 framework

    [quote=Atreyu;10043]I was in a hurry, so I just installed the framework (had to reboot) and now it works.[/quote] Thanks, don't worry about retrieving the version number then. It looks like the v4.6.2 detection change introduced in NCrunch v3.6 was made based on misleading information. I guess …

  13. Invalid detection of 4.6.2 framework

    Hi, Thanks for sharing this problem. This is caused by NCrunch failing to correctly detect the versions of .NET stored on your system. I thinks that .NET v4.6.2 is installed, though based on the error you've shown, this doesn't look to be the case. Would you be able to check something for …

  14. Gridnode Compatibility

    Hi Matthew, Sorry about this. It's usually written in the release notes, but somehow this was missed. I've updated the release notes for v3.6 now to include the note about grid node compatibility.

  15. Cannot get Rx.NET to work with NCrunch

    [quote=onovotny;10037]Hmm...actually, spoke a little too soon. While using a conditional on the TargetFrameworks element allowed NCrunch to work, I had tons of other issues within P2P refs in VS. The UWP -> System.Reactive project wouldn't even build that way. I don't think conditionals will work he…

  16. Cannot get Rx.NET to work with NCrunch

    [quote=onovotny;10026]I really don't like the idea of putting tool specific information in my project file like that. It would be much cleaner if NCrunch could read the TFM list and then use a /p:TargetFrameworks=foo parameter as it builds and can filter out only the TFM's it supports (net and netco…

  17. Debugging Async Tests - variable "does not exist in the current context"

    [quote=Grendil;10030] Hi, thanks for following up with me. The project where I encountered the bug is a large solution with many interdependencies. I created a new project and tried to reproduce the bug there but so far I haven't been able to. I must be leaving out a critical element in my simpli…

  18. NCrunch, Core 1.0.1 and BadImageFormatException

    [quote=Rasmus;10029] I cant get my sample project to have any of these issues and I cannot share the original.[/quote] Sorry, I wish I could be of more help, but I won't be able to help troubleshoot this without a sample :(

  19. NCrunch fails to start debugging tests

    [quote=offset123;10028] Is it possible to downgrade NCrunch from v3.6 to v3.3 without losing the existing configurations? I don't really need VS2017 and Core stuff. [/quote] Yes, I believe so. I haven't personally tested this, but in theory v3.3 should be forwards compatible with v3.6 configur…

  20. build failed on Resharper Change Signature function

    Ok, this is a limitation of the impact detection then. When you use this engine mode, NCrunch will only queue tests for execution when the impact detection flags them as being impacted by a change. Because the impact detection is not 100%, there are known situations where changes to code will no…