Exemplo n.º 1
0
 public void GivenFixtureWithTestCases()
 {
     NUnitSuite = new NUnitSuiteBuilder(new DefaultObjectProvider()).BuildSuite(typeof(FixtureWithTestCases));
 }
Exemplo n.º 2
0
 public void GivenFixtureInstance()
 {
     NUnitSuite = new NUnitSuiteBuilder(new LambdaObjectProvider(t => NUnitFixture = new MyNUnitFixture())).BuildSuite(typeof(MyNUnitFixture));
     new TestSession(new NullLogger()).RunSession(collectResult => collectResult(NUnitSuite));
 }