Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Add ClearCoverageMarkers()
That makes sense. If the code is in a standard [SetUp] method, then it will be executed as part of the test .. so there'll be no coverage separation between the test and the setup. I may be able to suggest a test structure that can help with working around this. It involves treating the test fi…
12 Aug 2013 11:31 UTC
-
Forum email notification doesn't work
About two weeks ago, there was a change made to fix the problem of email notifications not working for the majority of users on this forum. My guess would be that this coincides with the notifications no longer working for you. The change involved the reply-to address from the forum changing from …
12 Aug 2013 11:16 UTC
-
Add ClearCoverageMarkers()
Hi Yang, Thanks for the suggestion! I'm looking at this objectively with the idea that the key problem you're trying to solve is that the setup area of your test is irrelevant to the coverage that you're actually interested in, and the overlapping coverage from the setup is obscuring the much …
12 Aug 2013 06:36 UTC
-
Is it possible to force NCrunch to create a new instance of NUnit test class for each test method?
Hi Yang - The NCrunch implementation needs to follow the standard approach as closely as possible, so I'm afraid that overriding NUnit behaviour in this instance is probably not the best long term approach for the product. NCrunch itself actually doesn't execute the NUnit tests itself - it integ…
09 Aug 2013 12:25 UTC
-
Invoice
Hi Edyta, Thanks for your purchase! Normally this should be sent along with the order confirmation, but if for some reason it didn't arrive, please contact me directly via the contact link ([url=http://www.ncrunch.net/Support/Contact]http://www.ncrunch.net/Support/Contact[/url]) and I'll dig it …
09 Aug 2013 12:13 UTC
-
NCrunch added extra bytes to file when moving
Hi, Thanks for posting! I suspect this is the result of an encoding issue. Was the file open in the IDE at the time you were executing this test? One of the unfortunate drawbacks of synchronising text file content with the IDE is that NCrunch has no clear knowledge of the encoding of the f…
09 Aug 2013 12:11 UTC
-
Add keyboard shortcut for Show coverage for selected test only
Thanks Yang - I also find myself thinking the same thing. The problem is how to narrow down the coverage to a single test with the shortest number of keypresses. It could always be possible to adjust this feature so it works for multiple tests at the same time, but I think that this would make t…
08 Aug 2013 00:02 UTC
-
Code Coverage indicators missing
Thanks. I'll take a look as soon as the report comes through.
07 Aug 2013 09:19 UTC
-
Force NCrunch to Output to Standard Console
Hi Mark, Thanks for posting! At the moment, NCrunch executes tests in batches and processes the results from these tests in batches. The batching has several advantages (most notably that it operates faster), which is why NCrunch went down this road. However, as you've mentioned, there's a b…
06 Aug 2013 23:42 UTC
-
NCrunch Fails to build "Async for .NET Framework 4, Silverlight 4 and 5, and Windows Phone 7.5"
Hi Lee, I was testing this using 1.46.0.20 in a clean VM. I'm wondering if somehow the issue may be related to the SDKs or frameworks you have installed on your machine. Build behaviour can be affected by a huge range of factors outside the solution itself. Are you able to share any details on…
05 Aug 2013 22:46 UTC
-
NCrunch Fails to build "Async for .NET Framework 4, Silverlight 4 and 5, and Windows Phone 7.5"
Thanks again for the sample solution. I'm having some trouble in reproducing the issue. It seems as though the sample solution isn't bringing it out for me. It builds and runs the single test correctly under NCrunch with no signs of any error. Strangely, it doesn't build outside of NCrunch. W…
05 Aug 2013 01:15 UTC
-
Code Coverage indicators missing
Hi, Thanks for sharing this. Is the solution you are working in located on a UNC path of mapped network drive perhaps? Also, is there any chance you could submit a bug report after you've had this happen to you?
04 Aug 2013 22:49 UTC
-
NUnit Async Tests not detected
Thanks Joar - I can confirm that NCrunch isn't working with async NUnit setup methods. I've logged this down to be fixed in the next maintenance release.
02 Aug 2013 23:09 UTC
-
Making NCrunch run unit test with [ignore] attribute
Hi, Thanks for posting! At the moment, this isn't possible with the Ignore attribute. Tests marked with this attribute are completely invisible to NCrunch. There is a task in the backlog to make tests with ExplicitAttribute manual only, although I can't promise at this stage when this will b…
02 Aug 2013 13:29 UTC
-
display NUnit test description on failure
Thanks Sam. I've included a task in the backlog to sort this out!
01 Aug 2013 23:18 UTC
-
display NUnit test description on failure
Hi Sam, NCrunch doesn't have any kind of special handling for this property, but I see no reason why the description couldn't be dropped into the text output on test failure. Do you mind if I ask how you're making use of the description? Is it to provide more information about the purpose of …
31 Jul 2013 12:59 UTC
-
Code Coverage indicators missing
For anyone experiencing this problem, a new build has just been put up on the download page (1.46.0.21) including a resolution to this issue.
31 Jul 2013 08:39 UTC
-
Analysis Failure on .net 4.5.1 assembly
Hi Varun - Thanks for getting in touch. I'll follow up with you directly. Cheers, Remco
31 Jul 2013 02:39 UTC
-
All Database tests fail with latest version
Nicely done! This will do the trick. Thanks again for reporting these problems.
30 Jul 2013 23:38 UTC
-
All Database tests fail with latest version
Yes - NCrunch will specifically set it before each individual test run. It looks like this is also different to the behaviour in MSTest 2012, which sets it only at the beginning of the test run. I've also noted this down for a fix. You may wish to replace the DataDirectory with something else (pe…
30 Jul 2013 22:34 UTC