Inheritance: HtmlTags.HtmlTag
Esempio n. 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());
        }
Esempio n. 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());
        }
Esempio n. 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());
        }
Esempio n. 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());
        }