Forum member
jamezor
13 posts
Posts by jamezor
-
NCrunch hang with long running async test
Nice one, it certainly does appear to be fixed in the latest version. Thanks very much!
15 Jun 2021 21:51 UTC
-
NCrunch hang with long running async test
Hi Remco, just wondering if there was any further update on this issue? Thanks.
14 Jun 2021 21:47 UTC
-
NCrunch hang with long running async test
Just revisiting this issue and it appear the problem from the post https://forum.ncrunch.net/yaf_postsm11618_NCrunch-hang-with-long-running-async-test.aspx#post11618 is still occurring: the [assembly: Timeout] attribute is not being respected by NCrunch.
22 Dec 2020 17:32 UTC
-
Long test names cause Visual Studio UI hangs with NCrunch enabled
With an otherwise empty project/solution, and all default NCrunch settings, the following test experiences very poor performance with the Visual Studio UI hanging for 1 - 2 seconds per keystroke; disabling NCrunch immediately resolves the issue. [code=csharp] internal class TestClass { …
07 Feb 2018 21:58 UTC
-
NCrunch hang with long running async test
When running in e.g. ReSharper, NUnit does apply the assembly level Timeout attribute correctly. So NUnit must support this feature to some degree. However if NUnit is not reporting the timeout values correctly to NCrunch that sounds like an issue with NUnit, you may wish to log an issue with them? …
08 Dec 2017 00:42 UTC
-
NCrunch hang with long running async test
Following up on this, I've attempted to set a NUnit Timeout attribute greater than the NCrunch timeout at the assembly level ala the following example: [code=csharp] [assembly: Timeout(90000)] namespace NCrunchTest { [TestFixture] public class Class1 { [Test] p…
07 Dec 2017 19:08 UTC
-
NCrunch hang with long running async test
Thank you for the quick response Remco. I've worked around this issue for now by specifying a NUnit Timeout attribute at the assembly level. Since the NUnit timeout seems reliable for async tests, would it be possible for NCrunch to use that mechanism instead of the thread abort one?
03 Dec 2017 22:34 UTC
-
NCrunch hang with long running async test
With an NUnit test like so: [code=csharp] [TestFixture] public class Class1 { [Test] public async Task A_test_which_times_out_with_the_default_timeout() { await Task.Delay(TimeSpan.FromMinutes(2)); } }[/code] NCrunch will hang …
30 Nov 2017 23:37 UTC
-
Sharing test case source between tests
This issue has bitten me too, and while the suggested workaround works it is a fairly tedious and mechanical process, the sort of thing computers excel at! Would there be any downside to having NCrunch automatically prepend the test method name to the name of the test case?
29 Oct 2015 18:53 UTC
-
Explicit tests are getting run
Tests that are marked as [Explicit] are being run by NCrunch. Version 2.15.0.9 in Visual Studio 2013 on Windows 8.1. Repro: 1. Disable NCrunch. 1. Make new solution with new CSharp DLL project. 2. Add NUnit and write a new explicit test. 3. Enable NCrunch. Select "Yes - run my tests alongside…
09 Jun 2015 20:13 UTC
-
Switching engine to 'run all tests manually' enqueues all tests to run
Aha, thank you, that is the issue, someone has been messing with the defaults!
19 Apr 2015 21:39 UTC
-
Switching engine to 'run all tests manually' enqueues all tests to run
I was in engine mode 1, with 15 or so tests queued for execution. I wanted to stop all tests from being run so I switched to engine mode 4, run all tests manually. Instantly all 2.7k tests were enqueued for execution which is the the exact opposite of what I was after. This seems to happen every …
16 Apr 2015 22:33 UTC
-
Extension methods not present when debugging
I'm getting a similar issue too. In the immediate window, the following occurs: > myEnumerable.ToList() 'System.Collections.Generic.IEnumerable<T>' does not contain a definition for 'ToList' and no extension method 'ToList' accepting a first argument of type 'System.Collections.Generic.IEnumer…
23 May 2012 09:36 UTC