예제 #1
0
 public SpecRunner(IAssemblyTypeLoader assemblyType, ISpecFinder finder,
                   IReportFactory factory, ParentClassRuleExecutor executor)
 {
     _assemblyType = assemblyType;
     _finder = finder;
     _factory = factory;
     _executor = executor;
 }
예제 #2
0
 public void Setup()
 {
     var spec = typeof(BankAccountSpec);
     var ruleExecutor = new ParentClassRuleExecutor();
     results = ruleExecutor.Execute(spec).Results;
 }