Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Custom MSpec delegates not recognized...
Hi Garry - You're correct in your understanding that the static analysis could be modified to include support for this feature. However, the extra search logic would impact the performance of the algorithm. There is also the evidence you've presented that the current analysis approach with MS…
18 Mar 2014 06:43 UTC
-
Making NCRUNCH aware of additional reference (for which there is no code, just dlls)
I agree that a console wrapper seems like the simplest solution. I can probably rig this up with some log output too, just so it is a bit more flexible and people can also use it for other purposes. It may also be useful for my own testing. Thanks for the suggestion - I'll see what I can do.
16 Mar 2014 11:06 UTC
-
Making NCRUNCH aware of additional reference (for which there is no code, just dlls)
Does it work with a service that's set to log in as the local user, and set to interact with the desktop? (i.e. controlled by the settings under the service properties).
16 Mar 2014 10:13 UTC
-
Making NCRUNCH aware of additional reference (for which there is no code, just dlls)
Great to hear. Thanks so much for the reproducing code sample - I'll use this to see if I can provide a better way to handle this situation. Do get in touch if/when you have issues with the GPU computing and we'll see if we can work out a solution. There isn't any built-in way to make the servi…
15 Mar 2014 21:30 UTC
-
Custom MSpec delegates not recognized...
Hi Garry, Right now NCrunch uses its own custom static analysis method to find MSpec tests. This approach relies on the full type/namespace name of the 'It' type. It is extremely fast, although there is no support for more complex test declarations like what you've described. This sort of su…
15 Mar 2014 11:42 UTC
-
Making NCRUNCH aware of additional reference (for which there is no code, just dlls)
I think that there's a couple of options for how you can work around this. Probably the simplest option would be to include references from both the production and test projects to the FSharp.Data.DesignTime assembly, then make these references 'NCrunch only'. For example: <Reference Include="F…
15 Mar 2014 11:39 UTC
-
Making NCRUNCH aware of additional reference (for which there is no code, just dlls)
Hi - The issue you've described sounds like an implicit dependency on FSharp.Data.DesignTime and can probably be solved by turning on the [url=http://www.ncrunch.net/documentation/reference_project-configuration_copy-referenced-assemblies-to-workspace]Copy referenced assemblies to workspace[/url]…
14 Mar 2014 21:51 UTC
-
Remote server: Allow running test on a specific server without changing NCrunch config
This has all the look of a defect. I'll do some extra testing on this and get back to you .. I suspect something here is not as it should be.
14 Mar 2014 11:50 UTC
-
No NCrunch Symbol on Test-Tool-Window
Gotcha. I see it now! Thanks for the report.
14 Mar 2014 07:18 UTC
-
Making NCRUNCH aware of additional reference (for which there is no code, just dlls)
Hi Dave - I've been dwelling on this one a bit since my last post, and I think I may be able to offer you a technical solution that won't involve changing your existing project structure. I've been experimenting with a new solution-level configuration setting, 'Infer project references using a…
14 Mar 2014 06:21 UTC
-
Select current test in test window without unpin/pin it?
It is actually supposed to do this, although a quick test suggests that it isn't working correctly. I've noted this down for a fix. Thanks!
13 Mar 2014 22:53 UTC
-
Making NCRUNCH aware of additional reference (for which there is no code, just dlls)
Hi Dave, Thanks for coming back to this one, and for buying licenses for NCrunch. I think I can give you a solution that will allow the code here to run using NCrunch, but it will suffer from several problems including loss of code coverage over the ABC.dll. By turning on the 'Copy referenc…
13 Mar 2014 22:49 UTC
-
No NCrunch Symbol on Test-Tool-Window
Hi, Thanks for sharing this issue. I'm afraid that I'm not sure how you've managed to configure VS to use symbol based tool window options rather than text? Is this using a special configuration setting? Or perhaps some kind of VS package?
13 Mar 2014 22:29 UTC
-
Remote server: Allow running test on a specific server without changing NCrunch config
The logic for test execution on the server is more or less the same as that for the client. Tasks in the queue that are created from the standard 'Run tests in new task runner process' are marked to always run in a new process. This means a new process will be created for each task in the queue. …
13 Mar 2014 22:25 UTC
-
Select current test in test window without unpin/pin it?
This was, actually, the inspiration behind the 'pinned test' idea. The idea was that we needed some way to be able to select a test in the Tests Window based on context (i.e. current line of code, etc). There were problems with just trying to select a test, as the filters in the Tests Window v…
13 Mar 2014 11:47 UTC
-
Remote server: Not cleaning up old ncrunch grid node data when changing grid configuration paths.
This isn't ideal behaviour, but I can understand why it is happening. When you terminate the service, it forces the process to cease operating and shuts it down immediately. Because the service uses satellite processes (i.e. the task runners) which are performing other work, it cannot always cle…
12 Mar 2014 21:37 UTC
-
Distributed processing - Ports
This is definitely confusing. The grid connection should only need to work one way (i.e. from the laptop to the grid server), and as we now have evidence that the connection CAN be established, the question is why it's being interrupted immediately on being established ... Are you using any secu…
12 Mar 2014 21:32 UTC
-
Distributed processing - Ports
Hi, thanks for posting! NCrunch will only attempt to communicate using the ports you've specified (the default which is 41141). If you're seeing other port numbers come up, make sure these aren't the usual outgoing port numbers that are randomly assigned when opening a TCP connection from the cl…
12 Mar 2014 11:35 UTC
-
Remote server: Cannot use semicolon (";") in custom environment variable value.
Yes - this makes sense. I'll need to change the delimiter to something else. Thanks for reporting this.
12 Mar 2014 10:35 UTC
-
Remote server: Cannot clear value of "snapshot storage directory"
Thanks for sharing this issue. I'll take a look.
12 Mar 2014 10:34 UTC