Forum member

jamezor

13 posts

Posts by jamezor

  1. NCrunch hang with long running async test

    Nice one, it certainly does appear to be fixed in the latest version. Thanks very much!

  2. NCrunch hang with long running async test

    Hi Remco, just wondering if there was any further update on this issue? Thanks.

  3. 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.

  4. 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 { …

  5. 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? …

  6. 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…

  7. 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?

  8. 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 …

  9. 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?

  10. 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…

  11. 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!

  12. 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 …

  13. 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…