Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
nCrunch and SQLite
Hi Michael, Does placing NCrunch in [url=http://www.ncrunch.net/documentation/troubleshooting_compatibility-mode]compatibility mode[/url] work around this issue?
01 Aug 2017 09:09 UTC
-
Grid Server keeps disconnecting
Thanks for the extra details and for sending through your server logs. With the data you've given me, I've managed to reproduce the server-side exception problem and I have implemented a fix for it. I'll try to get you a build including this fix ASAP.
01 Aug 2017 05:15 UTC
-
Test context menu is slow to show.
Thanks. I've put this area of code under a microscope, and it doesn't seem to be performing as well as it should be. I think this is caused by a performance problem in the context menu control itself. NCrunch builds the context menu dynamically every time its shown (as the contents can vary dep…
31 Jul 2017 23:51 UTC
-
Test context menu is slow to show.
Hi, thanks for sharing this issue. This isn't normal behaviour. Are you noticing anything else behaving slower than normal in the UI? Are you using the Risk/Progress indicator at all? Does closing all open NCrunch windows make any difference?
30 Jul 2017 23:06 UTC
-
Grid Server keeps disconnecting
Hi Grendil, The problems you've described I think are quite different in nature to Matthew's. The exception you've provided looks to be thrown in the server side processing code. I don't think that this error is network related. Probably you've managed to find a flaw in this code that may be s…
30 Jul 2017 22:16 UTC
-
Microsoft Visual Studio is Busy. Forever.
[quote=akvochick;10889]I also captured a dump file that's about 200MB 7zip'd. If you want that, let me know where to send it.[/quote] It would be very useful to see this dump. Unfortunately I don't have anywhere for you to easily send such a large file. Do you have a dropbox account or anywhere…
29 Jul 2017 22:19 UTC
-
NUnit Testoutput does not contain Lines Written by TestContext.WriteLine()
[quote=Grendil;10885]My QA team would like to move to NCrunch when the dev team does, but they write a lot of slow running BDD's. The initial feedback I'm getting is having to wait until execution completes before seeing any of the trace output would be a showstopper. They have tests that might hang…
29 Jul 2017 22:13 UTC
-
Current dir is different during test creation than during test execution
Thanks for the code sample. I've managed to reproduce the problem as you've described it. The problem exists because although NCrunch sets the current directory prior to running tests, it doesn't do this prior to discovering them (in the Analysis Tasks). The TestCaseSource code always runs du…
29 Jul 2017 00:08 UTC
-
NUnit Testoutput does not contain Lines Written by TestContext.WriteLine()
[quote=Grendil;10880]I believe in NUnit 3 we've been asked to switch to use NUnit.Framework.TestContext.Progress.WriteLine(message) to ensure messages remain associated with their test thread. As I recall Debug.WriteLine leads to problems under NUnit parallelization. I realize NCrunch doesn't need N…
29 Jul 2017 00:01 UTC
-
It still happens that sometimes a root node is marked red, while its children are all green
Under NCrunch, the fixture is considered to be a test result in itself. The failure result of a fixture will always be from the last time the fixture was executed. So you could have one call into the fixture for one of its child tests that passes, then have a later call into the fixture for a chil…
28 Jul 2017 23:52 UTC
-
The connection has been closed error
After you unzipped the files, did you select all files in the installation and choose to 'unblock' them using windows explorer? Windows has a frustrating security feature that tags files downloaded from the internet and prevents them from being accessed by software until you perform a manual acti…
28 Jul 2017 23:15 UTC
-
The connection has been closed error
Hi, can you confirm which version of NCrunch you're running? This problem is caused by the NCrunch .NET Core task runner failing to initialise, which is usually caused by dependency related issues, such as critical Nuget packages that are missing. If you're not running NCrunch v3.10, you'll also…
28 Jul 2017 11:15 UTC
-
It still happens that sometimes a root node is marked red, while its children are all green
Hi, Are you certain that the last run of the fixture wasn't a valid failure? There are some valid scenarios where this can happen. For example, if the fixture has (or had) a failed test that is not showing in the list of tests because it's been removed from the test suite or isn't set to show i…
28 Jul 2017 05:06 UTC
-
Current dir is different during test creation than during test execution
On initialisation of a test process, NCrunch will always set the current directory as equal to the test project's build output directory. This will be why resetting the engine or rerunning a test makes the problem temporarily go away, because doing either of these things will make NCrunch drop exis…
27 Jul 2017 23:17 UTC
-
EngineHost question about releasing memory?
NCrunch's enginehost contains almost all memory allocated by the engine. This is to try and keep as much of NCrunch away from devenv.exe as possible. As such, the enginehost contains an extensive code model of your entire solution and of its tests. The largest area of memory consumption is usua…
27 Jul 2017 22:47 UTC
-
Client priority for node servers
Hi, Presently it isn't possible to control this. The grid nodes operate on a round-robin type request system that treats every connected client equally. The only way to ensure priority for the build server given NCrunch's current feature set would be to set aside nodes specifically for the serv…
26 Jul 2017 23:13 UTC
-
Even the simplest .NET Core project fails to build under NCrunch
Hi Tim, Thanks for sharing this problem. It shouldn't be required to create a unit test library using a VS template to run NCrunch on a .NET Core project, simply referencing a test framework package should be enough. I'm not sure what went wrong here, but I do have a theory. The synchronisatio…
26 Jul 2017 23:11 UTC
-
Grid Server keeps disconnecting
The strangeness of this behaviour suggests a possibility that something is going wrong deep down in the stack. If you haven't already, I'd suggest making sure all the Windows updates and .NET Framework updates have been installed on the grid nodes that are showing the problem. The exception you'v…
26 Jul 2017 23:07 UTC
-
Couple of issues with solution with .NET Core project
Hi, thanks for posting. [quote=kierenj;10854]Hi - first a quick note, my installation was somehow corrupted and I ended up doing a manual install. However, the "devenv /setup /novstemplates" step did not work (gave "Operation could not be completed") unless I ran with administrator privileges. It…
26 Jul 2017 22:56 UTC
-
AutoFixture Warning Incorrect
[quote=ewinhong;10852] Just so you are aware of what I found in my investigation: I loaded an issue with Autofixture. https://github.com/AutoFixture/AutoFixture/issues/786 This is the probable cause to my issue. [/quote] Ouch, that's nasty. It's good that they've confirmed a fix is comin…
26 Jul 2017 22:40 UTC