Run() public method

public Run ( IExampleReporter reporter ) : void
reporter IExampleReporter
return void
Esempio n. 1
0
        public Example Run(Action specifyExpectations, IExampleReporter exampleReporter)
        {
            var example = new Example();
            spec.Example = example;

            specifyExpectations();
            example.Run(exampleReporter);

            return example;
        }
Esempio n. 2
0
        public Example Run(Action specifyExpectations, IExampleReporter exampleReporter)
        {
            var example = new Example();
            spec.SetUpAction = () => spec.Example = example;
            spec.TearDownAction = () => example.Run(exampleReporter);

            specifyExpectations();

            return example;
        }
Esempio n. 3
0
        public Example Run(Action specifyExpectations, IExampleReporter exampleReporter)
        {
            var example = new Example();

            spec.SetUpAction    = () => spec.Example = example;
            spec.TearDownAction = () => example.Run(exampleReporter);

            specifyExpectations();

            return(example);
        }
Esempio n. 4
0
        public Example Run(Action specifyExpectations, IExampleReporter exampleReporter)
        {
            var example = new Example();

            spec.Example = example;

            specifyExpectations();
            example.Run(exampleReporter);

            return(example);
        }