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();
 }
예제 #2
0
        public void GivenTheInputSourceFrom(string fileName)
        {
            var fullPath = TestFolders.GetInputFilePath(fileName);

            sourceContent = File.ReadAllText(fullPath);
        }
예제 #3
0
        public void GivenThereIsAComplexGrammar()
        {
            var fullPath = TestFolders.GetInputFilePath(@"BerpGrammarParserForTest\BerpGrammar.berp");

            grammarDefinition = File.ReadAllText(fullPath);
        }