private void addTest(string name, Action<StepLeaf> configure) { var test = new Test(name); var section = new Section(typeof(SampleTableFixture).GetFixtureAlias()); test.Add(section); var step = new Step("Table1"); section.Add(step); var leaf = step.LeafFor("rows"); configure(leaf); AddTest(name, test); }
public Section CreateExample() { var section = new Section(_name); _structures.Each(x => section.Add(x.CreateExample())); return section; }