diff --git a/Reporting/NUnitExecutionReport/NUnitExecutionReportParameters.cs b/Reporting/NUnitExecutionReport/NUnitExecutionReportParameters.cs
index b49bbf7b2..5fd0dfe86 100644
--- a/Reporting/NUnitExecutionReport/NUnitExecutionReportParameters.cs
+++ b/Reporting/NUnitExecutionReport/NUnitExecutionReportParameters.cs
@@ -11,7 +11,7 @@ public NUnitExecutionReportParameters(string projectFile, string xmlTestResult,
: base(projectFile, outputFile, xsltFile)
{
this.XmlTestResult = Path.GetFullPath(xmlTestResult);
- this.LabelledTestOutput = Path.GetFullPath(labelledTestOutput);
+ this.LabelledTestOutput = string.IsNullOrEmpty(labelledTestOutput) ? "" : Path.GetFullPath(labelledTestOutput);
}
}
}
\ No newline at end of file
diff --git a/Tests/ReportingTest.SampleProject/MsTestResult/TestResult.trx b/Tests/ReportingTest.SampleProject/MsTestResult/TestResult.trx
new file mode 100644
index 000000000..f079f4964
--- /dev/null
+++ b/Tests/ReportingTest.SampleProject/MsTestResult/TestResult.trx
@@ -0,0 +1,159 @@
+
+
+
+ This is a default test run configuration for a local test run.
+
+
+
+
+
+
+
+
+
+
+
+ Scenario with pending steps
+
+
+
+
+
+ FeatureTitle
+ Feature with failing scenarios
+
+
+
+
+
+
+
+ Scenario with failing steps
+
+
+
+
+
+ FeatureTitle
+ Feature with failing scenarios
+
+
+
+
+
+
+
+ First successful scenario
+
+
+
+
+
+ FeatureTitle
+ Feature with successful scenarios
+
+
+
+
+
+
+
+ Second successful scenario
+
+
+
+
+
+ FeatureTitle
+ Feature with successful scenarios
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Tests/ReportingTest.SampleProject/ReportingTest.SampleProject.csproj b/Tests/ReportingTest.SampleProject/ReportingTest.SampleProject.csproj
index 57e209d7b..eed72c0b0 100644
--- a/Tests/ReportingTest.SampleProject/ReportingTest.SampleProject.csproj
+++ b/Tests/ReportingTest.SampleProject/ReportingTest.SampleProject.csproj
@@ -64,6 +64,7 @@
+