Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Is it possible to set a solution specific sliding build delay?

    Unfortunately not :( The settings are a bit all over the place right now. There are plans to introduce a more complex inheritance based system that would allow many of the global options to become solution (or even project) specific... But right now, the only way is to adjust this setting global…

  2. Distributed processing - running same tests across grid nodes

    Thanks for your understanding on this one :) It may take a little tinkering to get this to work in the post build event. You can use an NCrunch-specific override in your build to restrict the behaviour so it only appears within NCrunch (see [url=http://www.ncrunch.net/documentation/troubleshooti…

  3. Distributed processing - running same tests across grid nodes

    It's interesting how similar your setup is to that of the NCrunch codebase. NCrunch also uses a range of VMs to run tests over a range of different platforms. It compiles to .NET 3.5 too :) I wish I could give you a simple attribute or feature that would allow the grid to just distribute the te…

  4. Distributed processing - running same tests across grid nodes

    Hi, thanks for posting! If I understand what you're asking for, the ideal feature to solve this would be one where the NCrunch engine is able to duplicate a test multiple times inside the queue, with each instance being applied to a different grid node. I've actually considered adding this fea…

  5. NCrunch and Autofixture NUnit AutoMoqData with parameters problem

    Hi Sebastijan, Thanks for sharing this issue. This problem is a symptom of a structural issue that exists between NCrunch, NUnit and AutoFixture. AutoFixture works by randomising the parameterised data being passed into tests. NUnit takes this random data, and uses it as components of th…

  6. Various performance issues on large project

    Hi Matt, Thanks for taking the time to come to the forum with these issues. I think that many of the problems you're experiencing may be inter-related, but I'll try to address them individually in the hope that we can knock some of them off quickly. [quote=cottsak;7467] * git co other-branch…

  7. Unit testing Xamarin Portable Project

    Sorry, I'm afraid I can't provide a solution for this problem. This appears to be caused by a clash between the Xamarin build and NCrunch's instrumentation. As far as I know, the only way to solve this would be to actually introduce proper support for Xamarin in NCrunch. You're welcome to vot…

  8. Corrupt ncrunchproject files

    Hi, thanks for sharing this issue. It looks like the encoding of the file is being corrupted somehow. I can't think of anything NCrunch itself that would do this. Do you think it may be caused by Git not detecting the encoding of the file correctly? I understand it has some known issues when m…

  9. Issues with NUnit async tests and SerialAttribute

    Hi, thanks for sharing this issue. NUnit itself handles this under the hood (NCrunch doesn't call into the tests directly), but my understanding is that an async test should always be run to completion before the next one starts. Note that this doesn't necessarily provide cover for other threa…

  10. Tests that use await randomly time out

    Thanks for providing the sample code. I'm sorry that it was such a pain to submit it to the forum. Usually I try to recommend to send it through the contact form instead. The problem, as I think you suspected, is caused by thread pool starvation. The TaskCompletionSourceAsync test is set to wa…

  11. Tests unreliable with multi-threaded code.

    Great work in figuring this one out! Unit testing async code is often tough. I hope to add features in future to make analysing these sorts of issues easier, as they can get very frustrating. Thanks for sharing the solution and I hope the tool continues to work well for you :)

  12. General help on using Ncrunch

    Hi Cameron, Thanks for posting! 30 seconds normally shouldn't be a problem. NCrunch can and does work with tests that run for much longer times than this. However, it may be a problem if your solution doesn't support [url=http://www.ncrunch.net/documentation/concepts_parallel-execution]paral…

  13. Unit testing Xamarin Portable Project

    Hi Rainer, This looks like an implicit reference to a build library inside the Xamarin package. See here for more information about this and how to fix it - [url=http://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-dependencies]http://www.ncrunch.net/documentation/co…

  14. Tests unreliable with multi-threaded code.

    [quote=Cjdawson;7447] I must be really stupid, as I cannot see any of the options that are listed on the page. The instructions are not clear to me at all. In addition, I think the problem is somewhere in the way that NCrunch is running the tests. Sometimes whey work, sometimes they don't, and …

  15. Tests unreliable with multi-threaded code.

    [quote=Cjdawson;7444] How exactly is this done? I cannot find any of the settings mentioned on the linked page. I was looking in NCrunch --> configuration. Is there somewhere else that isn't obvious to locate?[/quote] Yes - all of these settings are located under the NCrunch configuration. …

  16. Tests unreliable with multi-threaded code.

    Hi, Thanks for sharing this issue. NCrunch doesn't have knowledge over the code being executed - it basically just calls into the tests using reflection and lets your code do its thing. This means that it wouldn't really be possible for NCrunch to directly change the execution path of your te…

  17. Not showing Ignored NUnit tests

    [quote=sgrassie;7440]Thanks for the clarification. Might I suggest a small update to http://www.ncrunch.net/documentation/concepts_ignored-tests with this information.[/quote] Yes, this is a good suggestion. I'll see that this page gets updated.

  18. Project load failure

    Excellent, thanks! I'll see what I can do.

  19. Tests that use await randomly time out

    Hi, Thanks for sharing this. I've given this code a bit of a spin, but can't seem to get it to fail in the way that you've described. I think that probably the failure scenario requires a certain execution sequence that would be baked in through your cached NCrunch data. However, I did see s…

  20. Not showing Ignored NUnit tests

    Hi, thanks for sharing this. NCrunch actually has two concepts of ignored tests: - Tests that are ignored through the 'Ignore test' options inside the Tests Window. This results in expressions being written into the NCrunch settings files for the applicable projects so that the tests are igno…