Creating TestContext manually RRS feed

  • Question

  • Hi, I'm writing a TestRunner style app, using console template. I've succeeded iterating via reflection on my CodedUI Test and extracting the correct test methods and run them, however...my test framework uses TestContext to report info and errors and since I'm invoking the methods directly, it is not being populated by the test framework (null). How can I create the TestContext manually or maybe kick in the test framework routine via reflection? Thanks.
    • Moved by Mathew Aniyan MSFT Sunday, May 22, 2011 10:24 AM Question on UnitTesting framework (From:Visual Studio UI Automation Testing (includes CodedUI))
    Sunday, May 22, 2011 7:47 AM