Skip to content

Commit

Permalink
Nameout file after test to avoid collissions
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-strecker-sonarsource committed Nov 2, 2023
1 parent 9d58000 commit 0a59134
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public void Conv_ConvertToXml_ToolConvertsSampleFile()
var config = new AnalysisConfig();
var reporter = new BinaryToXmlCoverageReportConverter(logger, config);
var inputFilePath = $"{Environment.CurrentDirectory}\\Sample.coverage";
var outputFilePath = $"{Environment.CurrentDirectory}\\Sample.xmlcoverage";
var outputFilePath = $"{Environment.CurrentDirectory}\\{nameof(Conv_ConvertToXml_ToolConvertsSampleFile)}.xmlcoverage";
var expectedOutputFilePath = $"{Environment.CurrentDirectory}\\Expected.xmlcoverage";
File.Exists(inputFilePath).Should().BeTrue();
File.Exists(outputFilePath).Should().BeFalse();
Expand Down Expand Up @@ -157,7 +157,7 @@ public void Conv_ConvertToXml_ToolConvertsSampleFile_ProblematicCulture()
var config = new AnalysisConfig();
var reporter = new BinaryToXmlCoverageReportConverter(logger, config);
var inputFilePath = $"{Environment.CurrentDirectory}\\Sample.coverage";
var outputFilePath = $"{Environment.CurrentDirectory}\\Sample.xmlcoverage";
var outputFilePath = $"{Environment.CurrentDirectory}\\{nameof(Conv_ConvertToXml_ToolConvertsSampleFile_ProblematicCulture)}.xmlcoverage";
var expectedOutputFilePath = $"{Environment.CurrentDirectory}\\Expected.xmlcoverage";
File.Exists(inputFilePath).Should().BeTrue();
File.Exists(outputFilePath).Should().BeFalse();
Expand Down

0 comments on commit 0a59134

Please sign in to comment.