CreateStepHolder() public method

public CreateStepHolder ( ) : HtmlTags.HtmlTag
return HtmlTags.HtmlTag
Beispiel #1
0
        void ITestStream.StartTest(Test test)
        {
            var testHolder = new TestHolderTag();

            _document.Add(testHolder);
            testHolder.TestName.Text(test.Name);
            testHolder.WriteSuiteName("Suite: " + test.SuiteName);

            _document.PushWithoutAttaching(testHolder.CreateStepHolder());
        }
Beispiel #2
0
        void ITestStream.StartTest(Test test)
        {
            var testHolder = new TestHolderTag();

            _document.Add(testHolder);
            testHolder.TestName.Text(test.Name);
            testHolder.WriteSuiteName("Suite: " + test.SuiteName);
            testHolder.WriteResults(_context.Counts);


            _context.ResultsFor(test).ForExceptionText(text =>
            {
                _document.Add(new ExceptionTag(text));
            });

            _document.PushWithoutAttaching(testHolder.CreateStepHolder());
        }
        void ITestStream.StartTest(Test test)
        {
            var testHolder = new TestHolderTag();

            _document.Add(testHolder);
            testHolder.TestName.Text(test.Name);
            testHolder.WriteSuiteName("Suite: " + test.SuiteName);
            testHolder.WriteResults(_context.Counts);

            _context.ResultsFor(test).ForExceptionText(text => _document.Add(new ExceptionTag(text)));

            _document.PushWithoutAttaching(testHolder.CreateStepHolder());
        }
        void ITestStream.StartTest(Test test)
        {
            var testHolder = new TestHolderTag();

            _document.Add(testHolder);
            testHolder.TestName.Text(test.Name);
            testHolder.WriteSuiteName("Suite: " + test.SuiteName);

            _document.PushWithoutAttaching(testHolder.CreateStepHolder());
        }