Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
NCrunh: Loading of projects fails
Hi, Thanks for sharing this issue. I've reviewed the code involved carefully and can't find any obvious reason why it would fail the way it is for you. I'm hoping perhaps you'd be able to provide some more details so that we might be able to narrow down the problem in order to solve it. - Ha…
15 Jan 2015 21:46 UTC
-
Understanding 'Only automatically run impacted tests'
At the moment NCrunch's impact detection is operating at a very basic level. When you make a change to a source file, it will examine the file to see which tests cover it, then consider all of these tests as 'impacted'. This behaviour is because NCrunch doesn't have an understanding of the progr…
15 Jan 2015 10:23 UTC
-
JustMock performance slower in NCrunch vs Test Explorer?
Hi, thanks for posting! I'm not sure how much I can help you with this problem, as it seems to be coming from the internals of JustMock. NCrunch follows a somewhat different execution pattern that involves calling back into the test process repeatedly to execute tests in batches. This is necess…
15 Jan 2015 04:00 UTC
-
What to do with dependent uncovered functions?
[quote=reyou;6778] So if my function has dependency to 3rd party APIs and cannot be called from unit test what is the best way to tell NCrunch that it is covered? Should I create integration test project and call this function and turn the lights to green? Or just use suppression comments to te…
14 Jan 2015 22:15 UTC
-
Build failure only in ncrunch - GAC ?
Hi Kristof, Thanks for sharing this issue. Is it possible you are making use of two different versions of the same DLL referenced within the same project space? Sometimes this can happen if: Project A references Project B Project A references Microsoft.Web.Administration (v7.0) Project B…
14 Jan 2015 22:00 UTC
-
Project built system doesn’t seem to respect build-to-order?
[quote=lukesch;6770]PID 22968 was the task runner from before I changed the OutDir from an absolute path. It's surprising to me that the test runner would keep a handle on the dll after it had completed running the tests. I understand why it wouldn't want to kill the test runner process itself... bu…
14 Jan 2015 03:56 UTC
-
What to do with dependent uncovered functions?
Hi, thanks for posting! NCrunch itself doesn't give warnings or messages about uncovered code. The only visible indication you'll see of this is the colour of the markers next to the code - which isn't really considered to be an error or a warning unless you treat it as such. If for some reas…
14 Jan 2015 03:49 UTC
-
Cannot install into VS2013 via automatic or manual methods
Hi, thanks for posting! Can you describe the exact symptom you're experiencing? If unblocking the files and setting the loadFromRemoteSources didn't work for you, can you show the text VS places into ActivityLog.xml?
14 Jan 2015 03:42 UTC
-
Project built system doesn’t seem to respect build-to-order?
Hi, thanks for posting! You've correctly identified this as a workspace isolation issue. With the build reaching out of the workspace (into the TEMP dir), NCrunch wasn't able to isolate your build logic and it was overlapping/clashing. Adjusting the Outdir to a relative path is the correct solu…
13 Jan 2015 22:59 UTC
-
When I add an NUnit Category to my TestFixtures these Fixtures disappear
Hi Christer, Thanks for sharing these extra details. I can clearly see this happening when I run your test code. NUnit appears to be 'throwing out' the tests during its discovery, as the categories contain illegal characters. Try removing the '-' from the SAM-16999 category to see if this ma…
13 Jan 2015 21:49 UTC
-
Console tool reports "weird" test count with TeamCity
Thanks for sharing this. When using the console tool, where do you see the reported number of tests? Is this in the HTML report exported from the tool, or perhaps something inside the trace output? There are several different ways of counting tests. For example, one method may include fixtur…
13 Jan 2015 21:36 UTC
-
Evaluation License Expired
Hi, thanks for posting. Usually I try to handle license related queries directly using the contact form. Could you get in touch using [url=https://www.ncrunch.net/support/contact]this form[/url] and I'll help you from there? Cheers, Remco
13 Jan 2015 21:24 UTC
-
MSTest Private Method Accessors
[quote=glinkot;6753]PS. If the answer is 'MSTest is just like this' - any tips on which testing framework works most nicely with NCrunch will be appreciated[/quote] It's possible to use MSTest without the accessors, and then it should work fine :) NCrunch doesn't integrate with MSTest - it in…
13 Jan 2015 06:20 UTC
-
MSTest Private Method Accessors
Hi Mark, MSTest private method accessors are a feature that requires an extra msbuild step when projects using them are built. They are identified by the use of the 'Shadow' project item inside test project files, for example: <ItemGroup> <Shadow Include="Test References\MSTestAccessor…
13 Jan 2015 06:15 UTC
-
Confusing test failure reporting with NCT.
Hi Kenneth, It looks like TeamCity is struggling a bit with the closing brace ']' inside the exception message. I've done some more experimentation on this, and it seems that the presence of this brace inside an output message will cause TeamCity to create a bit of a mess. It seems these brac…
13 Jan 2015 06:07 UTC
-
When I add an NUnit Category to my TestFixtures these Fixtures disappear
Hi, thanks for sharing this issue. Do the tests still appear to be detected by NCrunch? i.e. do you see code coverage for them, and the little arrow entry markers? Do you notice any difference if you change the 'Framework utilisation type for NUnit' NCrunch solution-level configuration settin…
12 Jan 2015 22:02 UTC
-
Every time I open my solution NCrunch shows the First-run wizard
[quote=yworksjr;6748].ncrunchsolution has FileVersion=1, globalconfig.crunch.xml has FileVersion=2. The global config is also not read-only. The only thing I managed to see right now is that you write integers with the user's current locale, which in my case (for i18n bug testing) uses a proper U…
12 Jan 2015 21:47 UTC
-
Every time I open my solution NCrunch shows the First-run wizard
Sorry, I just re-read your post and realised that I've managed to get my wires crossed - the issue you're experiencing is not that NCrunch isn't auto-enabling, it's that you always get the wizard ... The wizard has nothing to do with the auto-enable feature. It's controlled very differently. …
12 Jan 2015 11:29 UTC
-
Every time I open my solution NCrunch shows the First-run wizard
Can you confirm which version of NCrunch you are running?
12 Jan 2015 11:18 UTC
-
NCrunch error when using Windows Runtime Components
Hi, thanks for posting. C++ assemblies have a very different structure to those built under C#/VB, which makes adding support for them a major piece of work. Unfortunately, there also hasn't been enough adoption of the Windows Store project types to really warrant moving further in this direct…
12 Jan 2015 09:54 UTC