private int Run(Configuration configuration, ICollection <string> theArguments) { ParseArguments(configuration, theArguments); myRunner = new SuiteRunner(configuration, myProgressReporter); myRunner.Run( new StoryTestFolder(configuration, new FileSystemModel(configuration.GetItem <Settings>().CodePageNumber)), string.Empty); return(myRunner.TestCounts.FailCount); }
int Run(Configuration configuration, IList <string> arguments) { ParseArguments(configuration, arguments); myRunner = new SuiteRunner(configuration, myProgressReporter); myRunner.Run( CreateStoryTestFolder(configuration), selectedFile); return(myRunner.TestCounts.FailCount); }
int Run(Memory memory, IList <string> arguments) { ParseArguments(memory, arguments); var fileSystem = new FileSystemModel(memory.GetItem <Settings>().CodePageNumber); memory.GetItem <Context>().PageSource = fileSystem; memory.GetItem <Context>().SuitePath = new DirectoryPath(memory.GetItem <Settings>().InputFolder); myRunner = new SuiteRunner(memory, myProgressReporter); myRunner.Run( CreateStoryTestFolder(memory, fileSystem), selectedFile); return(myRunner.TestCounts.FailCount); }