public void Verify(SpecificationToRun spec)
        {
            var runner = new SpecificationRunner();

            RunResult result = runner.RunSpecifciation(spec);
            if (result.Passed)
                return;

            Assert.Fail(Format(result));
        }
Esempio n. 2
0
        public void Verify(SpecificationToRun spec)
        {
            var runner = new SpecificationRunner();
            var result = runner.RunSpecifciation(spec);

            if (result.Passed)
            {
                Console.WriteLine(Format(result));
                return;
            }

            Assert.Fail(Format(result));
        }