Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Only one of multiple TestCaseSource attributes respected
Hi Kaleb - Thanks for sharing this. I haven't been able to reproduce this issue myself. Do the testcase datasources produce tests under the same name? If so, NCrunch will only interpret results from the first one. The code I used to test this is below. Does this code produce the same resul…
27 Jun 2013 02:51 UTC
-
Enlarge the hit area around the gutter icons to make them easier to click on?
Would you be able to try disabling the following plugins to see if this makes any difference? -Code Alignment 9.0 -Indent Guides 13 Also, when working in the editor, do you usually operate at a zoom level that isn't 100%? Does zooming in very closely give you any detailed information about h…
27 Jun 2013 00:01 UTC
-
NCrunch gets sluggish after a while while devenv.exe having high cpu usage.
The sluggish events are themselves triggered by the processing of data returned from test runs, so you can basically expect to see a single message per completion of a test task. How many sets of tests do you normally run in parallel? Is there a particular point (in max execution threads) at which…
26 Jun 2013 23:53 UTC
-
Allow customization of test tree in NCrunch Tests window
Hi Daniel - This makes sense. There are plans to add new grouping options to the Tests Window to allow this sort of thing. I hadn't originally considered the idea of breaking up the namespaces into separate tree nodes, and I do like this idea. I'm hoping to include some (or all) of this functi…
26 Jun 2013 23:49 UTC
-
Load Failure _SplitProjectReferencesByFileExistence
Hi, thanks for posting! NCrunch makes use of this particular build target while loading projects and interrogating them for information. If the target isn't present, my guess would be that this project is custom designed and isn't making use of any standard .NET build targets (please do correct …
26 Jun 2013 12:21 UTC
-
Enlarge the hit area around the gutter icons to make them easier to click on?
Thanks Pete. This doesn't sound like behaviour by design. Which version of Visual Studio are you running? Do you have any other plugins installed?
26 Jun 2013 12:17 UTC
-
Enlarge the hit area around the gutter icons to make them easier to click on?
Hi Peter, Thanks for the feedback. Have you tried changing the 'Coverage marker style' setting in the global configuration? The size of the marker is also determined by its shape. If you choose the largest marker (Rectangle) the hitbox will expand accordingly - at least, it will for the non-X …
25 Jun 2013 22:30 UTC
-
Use symbolic links for referenced assemblies in workspace
#1 - Definitely. #2 - Sort of. In the current architecture, NCrunch can run multiple sets of tests concurrently using the same workspace, which technically does mean that tests can already be sharing the same set of DLLs. Extensive real-world testing has shown to be largely safe to do. The pro…
25 Jun 2013 06:30 UTC
-
Use symbolic links for referenced assemblies in workspace
Hi Yang - This is something I did look at earlier, as it would reduce the amount of file copying going on. Unfortunately, it wouldn't solve all the isolation issues that come with the need to separate projects from their base solution. The big reason NCrunch copies these files is because of f…
25 Jun 2013 02:23 UTC
-
Changing a 'const' value makes test fail
Thanks Julien! The sample solution you've provided was enormously helpful in identifying this problem. You've managed to find a hole in NCrunch's optimised build. Basically, because the constant is evaluated at compile time and not run time, it's value is being hard-baked into the references (o…
24 Jun 2013 08:33 UTC
-
Changing a 'const' value makes test fail
Hi, thanks for posting! I'm not aware of any known issue that can cause this. Can you share any more details about the failure pattern and behaviour of the code? Is it an issue you can recreate? Cheers, Remco
22 Jun 2013 00:18 UTC
-
Passing build parameters
Hi Jeremy - I've just run some quick tests based on the scenario you've described. It looks as though $(SolutionName) is currently not being handled during project load, where NCrunch identifies the files a project requires in order to build. This will require a functional change to NCrunch to …
20 Jun 2013 07:42 UTC
-
Problems with First Build
Generally placing the workspace root at the base of the disk would be enough to solve this problem. There is sadly little more that can be done to solve this from the side of NCrunch configuration, as the directory structures used by NCrunch are required to properly separate your projects during wo…
15 Jun 2013 02:22 UTC
-
System.InvalidProgramException : Common Language Runtime detected an invalid program.
Fantastic, thank you!! I'll see if I can track it down.
15 Jun 2013 02:09 UTC
-
System.InvalidProgramException : Common Language Runtime detected an invalid program.
Hi Daniel - This is concerning. I hope there isn't a new update that also does this for .NET 4 ... is there a particular piece of code that seems to surface the problem for you? The .NET 3.5 issue described above was triggered by NCrunch instrumenting the constructors of generic types. Is ther…
14 Jun 2013 12:13 UTC
-
Problems with First Build
Hi, Are you by chance making use of MSTest private method accessors? If so, you'll need to turn on the [url=http://www.ncrunch.net/documentation/reference_project-configuration_copy-referenced-assemblies-to-workspace]Copy reference assemblies to workspace[/url] setting for ALL projects involved.…
14 Jun 2013 12:09 UTC
-
How to run test in an order?
Hi Mega, Thanks for posting and for your interest in NCrunch! Unfortunately, the mechanics of NCrunch make custom test sequences impossible. This is because the engine is designed to execute test in order of priority (which is dynamically determined) rather than in a fixed sequence. There is…
13 Jun 2013 21:18 UTC
-
Unable to Load NCrunch
Hi, Thanks for posting! The error code 80131515 is associated with 'Cannot load file or assembly', which suggests that there may be a file missing from the install directory or NCrunch is otherwise unable to read one of these assemblies. Considering the access level on your PC, can you chec…
13 Jun 2013 21:16 UTC
-
Exclude tests by Category (NUnit)
Hi, The first thing to check would be whether NCrunch has correctly detected the category of your test. Try bringing up the tests window so that it shows your test. Right click the column headers and bring up the 'Field Chooser'. Drag the 'Categories' field onto the grid. Do you see a categ…
12 Jun 2013 08:13 UTC
-
Support nunit [TestCase] attribute
This was introduced in NCrunch back in v1.36. When you have your [url=http://www.ncrunch.net/documentation/reference_solution-configuration_framework-utilisation-types]Framework utilisation type for NUnit[/url] set to 'DynamicAnalysis' (which is the default setting), it will split test cases into s…
11 Jun 2013 21:45 UTC