Наследование: HtmlTags.HtmlTag
Пример #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());
        }
Пример #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());
        }
Пример #3
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());
        }
Пример #4
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());
        }