public async void ProjectShouldNotHaveUnexpectedKarmaSpecs(ProjectTestCase testCase) { var unexpectedKarmaSpecs = await testCase.Expected.GetUnexpectedKarmaSpecs(); Console.WriteLine(unexpectedKarmaSpecs.Format()); Assert.That(!unexpectedKarmaSpecs.Any(), "{0} unexpected karma specs", unexpectedKarmaSpecs.Count()); }
public async void ProjectShouldBeValid(ProjectTestCase testCase) { Console.WriteLine(await testCase.GetOutput()); Assert.That(testCase.IsValid, testCase.InvalidReason); }