Example #1
0
        TestCaseWrapper Wrap(xua.ITestCase test, bool addToSuite = false)
        {
            var suite       = _testWrapper.GetSuite(test.DisplayName, false);
            var testWrapper = new TestCaseWrapper(test)
            {
                Parent = suite
            };

            if (addToSuite)
            {
                suite.Children.Add(testWrapper);
            }
            return(testWrapper);
        }
Example #2
0
 public TestCaseWrapper(xua.ITestCase test)
 {
     _test = test;
 }