Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Framework Utilisation Types missing Xunit v2+

    Given the popularity of this library and that a few things didn't quite add up right in my head, I've taken a closer look at why the AutoFixture experience in NCrunch v3.8 is so much better than v3.9. My initial ideas that this was caused by the parameterisation fix are incorrect. The reason for t…

  2. TargetInvocationException

    Hi, This smells like sequence dependent behaviour. When you re-run a test specifically, NCrunch will launch it in a new process. Thus all existing state is cleared. If the test is failing because of state left by a previously executed test in the process, it will always pass when run in a ne…

  3. Visual Studio 2017 Preview 15.3

    Hi, thanks for sharing this issue. At the moment, NCrunch does not support the preview builds of VS2017. Unfortunately the recent pace of updates from MS have far outpaced my ability to offer support for them. I'm still cleaning up from the VS 2017 RTM that was released back in March. Suppor…

  4. NCRUNCH 3.3: don't resolve nuget packages in project with project.json

    [quote=FrankShearar;10622] NCrunch: The following files were used when building this project locally but do not seem to exist on the remote grid node responsible for building this project: C:\Users\frsheara\.nuget\packages\NCrunch.Framework\2.27.0.3\lib\NCrunch.Framework.dll[/quote] Ok, this wa…

  5. Compiler constant being ignored in .net core project

    Hi, thanks for sharing this problem. I can reproduce this in v3.9 also. It looks like the mechanism for introducing this constant is somehow failing under a CPS build system. I've noted this down to be fixed. To work around this, I suggest changing your project file to introduce a build co…

  6. "You cannot have two engine modes with the same name" blocks UI

    Hi, thanks for sharing this problem. This is a terrible UI experience. Sorry about this. I'll see that it gets fixed.

  7. Ncrunch is blocked by the antivirus program

    Hi, Your virus scanner is giving you a false positive. NCrunch does not encrypt files on disk. The extent to which encryption is used in NCrunch is when storing passwords for grid nodes and when encrypting data passed over a network to grid nodes. Because NCrunch executes your own test code,…

  8. FSharp Expression causes compiler results not consistent across grid

    Hi, thanks for sharing this problem. I've been able to reproduce it as per your instructions. I can confirm a fix for this will be in the next available build of NCrunch.

  9. doen't run test with TestCaseSource

    [quote=Henrry;10607] According to what you say is not NCrunch fault but it would be great having it working. Any way NCrunch still is a really great tool[/quote] I appreciate that. I go through great pain to try to support some crazy things with NCrunch, not because I believe in them, but just …

  10. Framework Utilisation Types missing Xunit v2+

    I've updated the documentation, adding a new page giving a [url=http://www.ncrunch.net/documentation/considerations-and-constraints_unique-test-names]detailed description of why this is a problem for NCrunch[/url]. I've also had a brainwave and done a quick spike on an approach that I hoped might…

  11. doen't run test with TestCaseSource

    I've just updated the documentation to paint a clearer picture of [url=http://www.ncrunch.net/documentation/considerations-and-constraints_unique-test-names]why this is a problem for NCrunch[/url]. It's an interesting coincidence that you posted this support request while I was writing up the docum…

  12. doen't run test with TestCaseSource

    [quote=Henrry;10602]Thanks for the suggestion Are you aware of any plans in the future to fix this problem?[/quote] Unfortunately, the problem is caused by a technical limitation. Basically, it's caused by the way that test frameworks work. If NCrunch were only ever to do a single unparallel…

  13. doen't run test with TestCaseSource

    I'd suggest redesigning the test to include the test cases and individual tests within a single [Test]. The user defined type doesn't seem stable enough to be used as a parameter for a test case. Parameters for test cases must be uniquely identifiable and consistent, otherwise NCrunch can't identi…

  14. doen't run test with TestCaseSource

    Hi Henrry, The warning given by NCrunch here gives an accurate description of the problem. When test cases use a user-defined type, there is no way for NCrunch to tell the tests apart, so you end up with a uniqueness problem. The default NUnit runner doesn't encounter a problem here because in …

  15. Framework Utilisation Types missing Xunit v2+

    [quote=robert-j-engdahl;10596]The download count of the nuget AutoFixture.Xunit is significant. Perhaps it would be fair to detect uses of AutoData and AutoInlineData and give a friendly warning so that others will know that these guys are obsolete.[/quote] Agreed 100%. I'm actually in the proc…

  16. Framework Utilisation Types missing Xunit v2+

    [quote=Kirlu;10594] Am I to understand this as a recommendation against unstable test parameters in general? [/quote] That's correct. Because of the way these parameters work, there is no way they can be feasibly supported in NCrunch. [quote=Kirlu;10594] If so, will you continue to support…

  17. FileNotFoundException UTFResources

    I'm really happy that you managed to find a solution to this. It's interesting that installing this into the GAC resolved the problem ... Since GAC resolutions always taken precedence, I have a feeling that you might have had a defunct version of this assembly in your GAC. It's unfortunate that th…

  18. NCRUNCH 3.3: don't resolve nuget packages in project with project.json

    Thanks for the sample project. I've just check this and found that it works correctly for me under NCrunch v3.9. Can you confirm if you see the same behaviour?

  19. Issue running tests which use embedded event store

    Hi, thanks for sharing this problem and for the sample solution. Unfortunately, I couldn't get the sample to run. It seems to fail with connectivity related issues before it reaches the assembly resolution problem. On inspection of the Nuget packages, I couldn't find any binaries or resources…

  20. NCrunch not showing coverage with NUnit TestCaseSource VS2017

    [quote=Fasopus;10585]Thank you for looking into this and suggesting a workaround. I believe this issue could also be solved by switching the .NET framework test project to be a netstandard test project? [/quote] Unfortunately not. NCrunch doesn't support netstandard test projects, as these pro…