internal void LoadCsv(string fullPath) { var action = new LoadCaseFromFileAction(fullPath); action.Execute(testCaseCollectionManager.CurrentScope); Reload(); OnPropertyChanged("Variables"); }
public void Execute_ManyActions_SuiteGenerated() { var state = new GenerationState(); var loadCase = new LoadCaseFromFileAction(CsvFilename); loadCase.Execute(state); var loadTemplate = new LoadEmbeddedTemplateAction("ExistsDimension"); loadTemplate.Execute(state); var generateSuite = new GenerateTestSuiteAction(false); generateSuite.Execute(state); var saveSuite = new SaveSuiteAction(TargetFilename); saveSuite.Execute(state); Assert.That(File.Exists(TargetFilename)); }
public void Execute_ManyActions_SuiteGenerated() { var state = new GenerationState(); var loadCase = new LoadCaseFromFileAction(CsvFilename); loadCase.Execute(state); var loadTemplate = new LoadTemplateAction(NBi.GenbiL.Action.LoadType.Predefined, "ExistsDimension"); loadTemplate.Execute(state); var generateSuite = new GenerateSuiteAction(false); generateSuite.Execute(state); var saveSuite = new SaveSuiteAction(TargetFilename); saveSuite.Execute(state); Assert.That(File.Exists(TargetFilename)); }