WritePreview() public method

public WritePreview ( ITestContext context ) : void
context ITestContext
return void
示例#1
0
        void ITestStream.Sentence(Sentence sentence, IStep step)
        {
            var tag = new SentenceTag(sentence, step);

            tag.WritePreview(_context);


            _document.Add(tag);
        }
示例#2
0
        void ITestStream.Sentence(Sentence sentence, IStep step)
        {
            var tag = new SentenceTag(sentence, step);
            tag.WritePreview(_context);

            _document.Add(tag);
        }
示例#3
0
        public void SetUp()
        {
            sentence = Sentence.For("{name} is {age}", Cell.For<string>("name"), Cell.For<int>("age"));
            step = new Step().With("name:Max,age:6");
            tag = new SentenceTag(sentence, step);

            context = new TestContext();

            tag.WritePreview(context);
        }