Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Go to next build failure with no open windows
Hi, Thanks for sharing this issue. The behaviour you've described is not intentional. It should be independent of the open editor windows. I've easily managed to recreate the issue, however. At this stage I cannot yet promise a fix (VS being as it is), but will see what I can do!
21 Jul 2015 11:17 UTC
-
Problems with automapper?
Hi Steve, Unfortunately, there isn't an NCrunch setting that will adequately fix this problem. This is because of the way in which NCrunch breaks your tests up into batches and calls into the test runner process multiple times (once for each batch). This is needed to allow the engine to drive t…
20 Jul 2015 20:28 UTC
-
Issue with 'Copy Referenced Assemblies To Workspace'
Hi Wilhelm, Thanks for reporting this. I've done some quick tests and confirmed that this issue is caused by NCrunch overwriting existing files when copying referenced resource files across projects - something that MSBuild/VS doesn't normally do. Do you mind if I include a fix for this in th…
17 Jul 2015 23:47 UTC
-
Webjobs.wap.targets file causing build failure
Hi, This is certain to be a matter of including the file in NCrunch's discovery steps. Note that the ncrunchproject file is a configuration file that isn't intended to be modified manually. The declarations you've made by hand should actually be made to the project file itself (since NCrunch in…
16 Jul 2015 21:30 UTC
-
Unattended installation for NCrunch GridNodeServer
Not directly, but this should be possible by scripting a manual installation of the grid node service - see [url=http://www.ncrunch.net/documentation/manual-installation-instructions]http://www.ncrunch.net/documentation/manual-installation-instructions[/url]. Installing the MSI in the script may …
15 Jul 2015 21:21 UTC
-
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…
13 Jul 2015 20:30 UTC
-
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…
13 Jul 2015 06:31 UTC
-
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…
13 Jul 2015 04:44 UTC
-
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…
13 Jul 2015 00:55 UTC
-
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…
10 Jul 2015 09:59 UTC
-
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…
10 Jul 2015 09:51 UTC
-
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…
04 Jul 2015 11:31 UTC
-
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…
02 Jul 2015 12:22 UTC
-
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…
30 Jun 2015 09:21 UTC
-
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…
29 Jun 2015 22:41 UTC
-
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 :)
28 Jun 2015 23:35 UTC
-
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…
28 Jun 2015 22:49 UTC
-
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…
28 Jun 2015 22:42 UTC
-
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 …
28 Jun 2015 22:40 UTC
-
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. …
28 Jun 2015 11:27 UTC