public ClassRunner(Listener listener, Configuration config) { this.listener = listener; executionPlan = new ExecutionPlan(config); methodDiscoverer = new MethodDiscoverer(config); parameterDiscoverer = new ParameterDiscoverer(config); assertionLibraryFilter = new AssertionLibraryFilter(config); skipRules = config.SkipRules; orderCases = config.OrderCases; }
public ClassRunner(Bus bus, Discovery discovery, Execution execution) { var config = discovery.Config; this.bus = bus; this.execution = execution; methodDiscoverer = new MethodDiscoverer(discovery); parameterDiscoverer = new ParameterDiscoverer(discovery); orderMethods = config.OrderMethods; }
public ClassRunner(Listener listener, Convention convention) { var config = convention.Config; this.listener = listener; executionPlan = new ExecutionPlan(convention); methodDiscoverer = new MethodDiscoverer(convention); parameterDiscoverer = new ParameterDiscoverer(convention); assertionLibraryFilter = new AssertionLibraryFilter(convention); skipBehaviors = config.SkipBehaviors; orderCases = config.OrderCases; }