public JsonDocumentationBuilder(IConfiguration configuration, ITestResults testResults, IFileSystem fileSystem, ILanguageServicesRegistry languageServicesRegistry) { this.configuration = configuration; this.testResults = testResults; this.fileSystem = fileSystem; this.languageServicesRegistry = languageServicesRegistry; }
public JsonFeatureWithMetaInfo(FeatureNode featureNodeTreeNode, ILanguageServicesRegistry languageServicesRegistry, TestResult result) { var jsonMapper = new JsonMapper(languageServicesRegistry); this.Feature = jsonMapper.Map(featureNodeTreeNode.Feature); this.RelativeFolder = featureNodeTreeNode.RelativePathFromRoot; this.Result = jsonMapper.Map(result); }
public WordScenarioOutlineFormatter(WordStepFormatter wordStepFormatter, WordTableFormatter wordTableFormatter, IConfiguration configuration, ITestResults testResults, ILanguageServicesRegistry languageServicesRegistry) { this.wordStepFormatter = wordStepFormatter; this.wordTableFormatter = wordTableFormatter; this.configuration = configuration; this.testResults = testResults; this.languageServicesRegistry = languageServicesRegistry; }
public ExcelScenarioOutlineFormatter( ExcelStepFormatter excelStepFormatter, ExcelTableFormatter excelTableFormatter, IConfiguration configuration, ITestResults testResults, ILanguageServicesRegistry languageServicesRegistry) { this.excelStepFormatter = excelStepFormatter; this.excelTableFormatter = excelTableFormatter; this.configuration = configuration; this.testResults = testResults; this.languageServicesRegistry = languageServicesRegistry; }
public HtmlScenarioOutlineFormatter( HtmlStepFormatter htmlStepFormatter, HtmlDescriptionFormatter htmlDescriptionFormatter, HtmlTableFormatter htmlTableFormatter, HtmlImageResultFormatter htmlImageResultFormatter, ITestResults testResults, ILanguageServicesRegistry languageServicesRegistry) { this.htmlStepFormatter = htmlStepFormatter; this.htmlDescriptionFormatter = htmlDescriptionFormatter; this.htmlTableFormatter = htmlTableFormatter; this.htmlImageResultFormatter = htmlImageResultFormatter; this.testResults = testResults; this.languageServicesRegistry = languageServicesRegistry; this.xmlns = HtmlNamespace.Xhtml; }
public ScenarioOutlineToJsonScenarioOutlineMapper(ILanguageServicesRegistry languageServicesRegistry) { this.resultMapper = new TestResultToJsonTestResultMapper(); this.stepMapper = new StepToJsonStepMapper(); this.exampleMapper = new ExampleToJsonExampleMapper(languageServicesRegistry); }
public ExampleToJsonExampleMapper(ILanguageServicesRegistry languageServicesRegistry) { this.languageServicesRegistry = languageServicesRegistry; this.tableMapper = new TableToJsonTableMapper(); }
public FeatureToJsonFeatureMapper(ILanguageServicesRegistry languageServicesRegistry) { this.scenarioMapper = new ScenarioToJsonScenarioMapper(); this.scenarioOutlineMapper = new ScenarioOutlineToJsonScenarioOutlineMapper(languageServicesRegistry); this.resultMapper = new TestResultToJsonTestResultMapper(); }
public Configuration(ILanguageServicesRegistry languageServicesRegistry) { this.testResultsFiles = new List <FileInfoBase>(); this.Language = languageServicesRegistry.DefaultLanguage; }
public JsonFeatureWithMetaInfo(FeatureNode featureNodeTreeNode, ILanguageServicesRegistry languageServicesRegistry) : this(featureNodeTreeNode, languageServicesRegistry, TestResult.NotProvided) { }
public JsonFeatureWithMetaInfo(FeatureNode featureNodeTreeNode, ILanguageServicesRegistry languageServicesRegistry) : this(featureNodeTreeNode, languageServicesRegistry, default(TestResult)) { }
public JsonMapper(ILanguageServicesRegistry languageServicesRegistry) { this.languageServicesRegistry = languageServicesRegistry; }