JustCode TestRunner major delay when using Enterprise Library

2 posts, 0 answers
  1. Barry
    Barry avatar
    8 posts
    Member since:
    Jul 2010

    Posted 21 Oct 2012 Link to this post

    I'm am noticing when using VS2010 and running MSTest unit test that there is a major lag/delay when using in conjunction with the Enterprise Library.  Specifically when registering the EnterpriseLIbraryCoreExtensions.  The below code is just to show you the delay.  When stepping through in debug, the JustCode test runner will sit for close to 2 minutes when executing AddNewExtension.  This behavior is not seen when running the same test in VS2012 using JustCode and the test runner. 

    [TestMethod]
    public void TestMethod1()
    {
        var container = new UnityContainer();
        container.AddNewExtension<EnterpriseLibraryCoreExtension>();
     
        Assert.IsTrue(true);
     
    }

    There is no delay in running this same test through the built in MSTest runner within VS2010.
  2. Barry
    Barry avatar
    8 posts
    Member since:
    Jul 2010

    Posted 21 Oct 2012 Link to this post

    Just quick update to this.  The issue seems to be specific to VS2010 and MSTest when using the Enterprise Library.  I created a NUnit test and there was just a small delay before the test completed.

    Regards,
    Barry
  3. DevCraft banner
Back to Top