private void GenerateProject(GeneratorOptions generatorOptions) { generatorOptions.CreatedFor = $"{FeatureContext.FeatureInfo.Title}_{ScenarioContext.ScenarioInfo.Title}"; generatorOptions._TargetFolder = Path.Combine(TestFolders.TempFolder, @"DeveroomTest\DS_{options}"); generatorOptions.FallbackNuGetPackageSource = TestFolders.GetInputFilePath("ExternalPackages"); _projectGenerator = generatorOptions.CreateProjectGenerator(s => _outputHelper.WriteLine(s)); _projectGenerator.Generate(); }
public void GivenTheInputSourceFrom(string fileName) { var fullPath = TestFolders.GetInputFilePath(fileName); sourceContent = File.ReadAllText(fullPath); }
public void GivenThereIsAComplexGrammar() { var fullPath = TestFolders.GetInputFilePath(@"BerpGrammarParserForTest\BerpGrammar.berp"); grammarDefinition = File.ReadAllText(fullPath); }