Beispiel #1
0
 public TasksListTests()
 {
     _sut = new TasksList(Setup.Configuration(c =>
     {
         c.MethodToExecute(m => m.Name == "Execute");
     }));
     _context = Setup.Context();
     _context.RequestedTask = "Build";
     AddClean();
     AddBuild();
     AddDummy();
 }
Beispiel #2
0
 public ScriptRunnerTests()
 {
     _config = Setup.Configuration();
     _config.TasksAre(t => t.DeclaringType == typeof(IntegrationTasks));
     _sut = new ScriptRunner(GetType().Assembly, _config);
 }