Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
No coverage indicators in latest release?
Hi Xophias, Can you let me know exactly which version of NCrunch you're running? (i.e. check under NCrunch->About). If you can submit a bug report, I can then check this to see if you are experiencing a different issue with the same symptom. Cheers, Remco
24 Jan 2013 07:07 UTC
-
Lags in the editor after opening the Metrics window
Hi, thanks for posting! The lag is being caused by the NCrunch overutilising the UI thread when keeping the Metrics window up to date. This can also be caused by the Processing Queue window on larger solutions. Basically, the component used to show the tree list is consuming more CPU than it sh…
23 Jan 2013 22:20 UTC
-
Issue with category and engine mode
Hi Michael, There's a step in the configuration wizard that asks you how you'd like to execute your tests (i.e. run them automatically, manually, etc). This step sets the current engine mode for the session. Is your new category constraint programmed into one of the existing engine modes, or …
23 Jan 2013 22:16 UTC
-
Add the # of tests that were run by test project and in metrics
So basically we'd be look at a code coverage metric that applies to file/assembly level. I can see value in that. Let me see what I can do :) Cheers, Remco
22 Jan 2013 20:20 UTC
-
Issue with category and engine mode
Hi Michael, that's great to hear! I think this may have been a synchronisation issue between NCrunch and your codebase. If you see strange behaviour like this again, just hit the 'reset' button on the Tests Window (or disable/enable NCrunch). I'm glad you're enjoying the tool and I hope it co…
22 Jan 2013 19:56 UTC
-
Constants are not covered/tested even though there are tests for them?
Hi, thanks for posting! NCrunch won't show markers next to constants, as they aren't represented in the debug information for an assembly. Constants are handled very differently by the compiler (vs normal source code). You'll notice that it isn't possible to set a breakpoint on a constant value…
22 Jan 2013 02:12 UTC
-
Issue with category and engine mode
Hi Michael, Thanks for posting and for giving NCrunch a try! I have a feeling that NCrunch's handling of your custom category attribute may be the source of this problem. You can narrow this issue down by adding the 'Test Categories' column to the Tests Window (right click on the column heade…
21 Jan 2013 23:54 UTC
-
Unpredictable tests when parsing dates
Hi Steve, Thanks for posting! It's great to hear your team is getting on board with NCrunch, and I'm sure we can solve this issue quickly. I strongly suspect that this issue is being caused by state/sequence dependent behaviour between the tests being executed. Most test runners will execute…
21 Jan 2013 19:56 UTC
-
Projects fail to build with no explanation
Hi Achilles, Thanks for posting the solution. I have a feeling that the issue here may be around postsharp requiring the output of project C to be present in the build output directory of project A, although this is speculation (as I'm still not sure what the underlying error was). Are you able…
21 Jan 2013 19:47 UTC
-
NCrunch cannot be uninstalled when VS 2012 is already uninstalled too
Thanks for reporting this issue! The fix I was going to suggest involved copying a dummy .exe file to 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe', then setting up a registry entry to convince the MSI that Visual Studio is installed, when actually it isn't. Reinstal…
20 Jan 2013 00:34 UTC
-
Add the # of tests that were run by test project and in metrics
Hi Jeff, Thanks for the suggestion! Are you thinking in terms of the NCrunch Metrics view? i.e. another column perhaps? Cheers, Remco
18 Jan 2013 23:20 UTC
-
NCrunch littering DLLs about the solution's source folders.
Hi Tom, I've done some more investigation on this issue and have uncovered some information that may help you. Have a look at [url=http://forum.ncrunch.net/yaf_postst242_DLLs-Copied-to-project-s--root-directory.aspx]http://forum.ncrunch.net/yaf_postst242_DLLs-Copied-to-project-s--root-directory.…
16 Jan 2013 21:44 UTC
-
Encoding problem in 1.42.0.12
Thanks. I'm wondering if this issue may be specific to Windows 7. I'll take another look to see if I can reproduce it there.
16 Jan 2013 21:43 UTC
-
TestCaseSource won't mark the source data as covered.
The behaviour is designed according to technical constraints. There is no test that actually owns the coverage of the _data property - it is executed during the analysis step when the test framework uses reflection to discover tests. For the lines to be covered, they would need to be somehow ass…
16 Jan 2013 09:25 UTC
-
Projects fail to build with no explanation
Thanks for the prompt feedback. I have a feeling that the build is failing, but it's failing in such a way that NCrunch can't analyse the result. If we can capture the build output, this will likely hold a message we can use to further analyse the problem.
15 Jan 2013 22:06 UTC
-
TestCaseSource won't mark the source data as covered.
Hi, thanks for posting! This is behaviour by design. The _data property is queried outside the scope of the test, as NUnit uses this property in order to analyse and identify the test (which is a step that occurs prior to any execution). If this is messing with your coverage metrics and making …
15 Jan 2013 21:38 UTC
-
Projects fail to build with no explanation
Hi, Thanks for sharing this issue. I suspect that the structure of this project may somehow be different to that of projects that NCrunch was designed to run. I'm wondering if you can help narrow the problem down by answering the following questions: - Can you tell me a bit more about the pr…
15 Jan 2013 21:36 UTC
-
How do I tell NCrunch to ignore a project?
I'm wondering if you'd be able to check for me whether NCrunch has correctly detected the category you've assigned. You can do this by right clicking the column headers in the Tests Window, selecting 'Field Chooser' and then dragging the 'Categories' field onto the window. If you look for the te…
15 Jan 2013 21:22 UTC
-
VS2012 - Beginning of test not marked where a test is failing, coverage markers incorrect
Thanks! I think this was probably the result of a known mapping issue that's been floating around lately. It appears more or less randomly, infrequently and to date I haven't been able to reproduce it. Usually a reset of the engine will solve the problem. Thanks for taking the time to report it.
15 Jan 2013 21:21 UTC
-
Problem with Additional Files to Include
Hi, thanks for posting! Generally I would recommend against using the Additional Files To Include setting to reference files that belong to an adjacent project. Referencing files across projects breaks [url=http://www.ncrunch.net/documentation/considerations-and-constraints_project-atomicity]pro…
14 Jan 2013 22:56 UTC