-
-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
155 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[mstest/fixie.xml](https://raw.githubusercontent.com/fixie/fixie/42b43dc6cc57476958eea8b507aa9d0d72cedae6/src/Fixie.Tests/Reports/XUnitXmlReport.xml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<testsuites> | ||
<testsuite name="[assemblyLocation]" tests="7" failures="3" time="1.234" skipped="1" timestamp="YYYY-MM-DDTHH:MM:SS"> | ||
<testsuite name="[genericTestClass]" tests="3" failures="1" time="1.234" skipped="0"> | ||
<testcase name="ShouldBeString" time="1.234" classname="[genericTestClass]"/> | ||
<testcase name="ShouldBeString" time="1.234" classname="[genericTestClass]"/> | ||
<testcase name="ShouldBeString" time="1.234" classname="[genericTestClass]"> | ||
<failure type="Fixie.Tests.Assertions.AssertException" message="Expected: System.String Actual: System.Int32">Expected: System.String | ||
Actual: System.Int32 at [genericTestClassForStackTrace].ShouldBeString[T](T genericArgument) in [fileLocation]:line #</failure> | ||
</testcase> | ||
</testsuite> | ||
<testsuite name="[testClass]" tests="4" failures="2" time="1.234" skipped="1"> | ||
<testcase name="Fail" time="1.234" classname="[testClass]"> | ||
<failure type="Fixie.Tests.FailureException" message="'Fail' failed!">'Fail' failed! at [testClassForStackTrace].Fail() in [fileLocation]:line #</failure> | ||
</testcase> | ||
<testcase name="FailByAssertion" time="1.234" classname="[testClass]"> | ||
<failure type="Fixie.Tests.Assertions.AssertException" message="Expected: 2 Actual: 1">Expected: 2 | ||
Actual: 1 at [testClassForStackTrace].FailByAssertion() in [fileLocation]:line #</failure> | ||
</testcase> | ||
<testcase name="Pass" time="1.234" classname="[testClass]"/> | ||
<testcase name="Skip" time="1.234" classname="[testClass]"> | ||
<skipped message="⚠ Skipped with attribute."/> | ||
</testcase> | ||
</testsuite> | ||
</testsuite> | ||
</testsuites> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
publish.unittestresults.ParsedUnitTestResults( | ||
files=1, | ||
errors=[], | ||
suites=1, | ||
suite_tests=7, | ||
suite_skipped=1, | ||
suite_failures=3, | ||
suite_errors=0, | ||
suite_time=8, | ||
cases=[ | ||
publish.unittestresults.UnitTestCase( | ||
result_file='mstest/fixie.xml', | ||
test_file=None, | ||
line=None, | ||
class_name='[genericTestClass]', | ||
test_name='ShouldBeString', | ||
result='success', | ||
message=None, | ||
content=None, | ||
time=1.234 | ||
), | ||
publish.unittestresults.UnitTestCase( | ||
result_file='mstest/fixie.xml', | ||
test_file=None, | ||
line=None, | ||
class_name='[genericTestClass]', | ||
test_name='ShouldBeString', | ||
result='success', | ||
message=None, | ||
content=None, | ||
time=1.234 | ||
), | ||
publish.unittestresults.UnitTestCase( | ||
result_file='mstest/fixie.xml', | ||
test_file=None, | ||
line=None, | ||
class_name='[genericTestClass]', | ||
test_name='ShouldBeString', | ||
result='failure', | ||
message='Expected: System.String\nActual: System.Int32', | ||
content='Expected: System.String\nActual: System.Int32 at ' | ||
'[genericTestClassForStackTrace].ShouldBeString[T](T genericArgument) ' | ||
'in [fileLocation]:line #', | ||
time=1.234 | ||
), | ||
publish.unittestresults.UnitTestCase( | ||
result_file='mstest/fixie.xml', | ||
test_file=None, | ||
line=None, | ||
class_name='[testClass]', | ||
test_name='Fail', | ||
result='failure', | ||
message="'Fail' failed!", | ||
content="'Fail' failed! at [testClassForStackTrace].Fail() in " | ||
"[fileLocation]:line #", | ||
time=1.234 | ||
), | ||
publish.unittestresults.UnitTestCase( | ||
result_file='mstest/fixie.xml', | ||
test_file=None, | ||
line=None, | ||
class_name='[testClass]', | ||
test_name='FailByAssertion', | ||
result='failure', | ||
message='Expected: 2\nActual: 1', | ||
content='Expected: 2\nActual: 1 at ' | ||
'[testClassForStackTrace].FailByAssertion() in [fileLocation]:line #', | ||
time=1.234 | ||
), | ||
publish.unittestresults.UnitTestCase( | ||
result_file='mstest/fixie.xml', | ||
test_file=None, | ||
line=None, | ||
class_name='[testClass]', | ||
test_name='Pass', | ||
result='success', | ||
message=None, | ||
content=None, | ||
time=1.234 | ||
), | ||
publish.unittestresults.UnitTestCase( | ||
result_file='mstest/fixie.xml', | ||
test_file=None, | ||
line=None, | ||
class_name='[testClass]', | ||
test_name='Skip', | ||
result='skipped', | ||
message='⚠ Skipped with attribute.', | ||
content=None, | ||
time=1.234 | ||
) | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<assemblies> | ||
<assembly name="[assemblyLocation]" run-date="YYYY-MM-DD" run-time="HH:MM:SS" time="1.234" total="7" passed="3" failed="3" skipped="1" environment="00-bit .NETCoreApp,Version=vX.Y" test-framework="Fixie 1.2.3.4"> | ||
<collection time="1.234" name="[genericTestClass]" total="3" passed="2" failed="1" skipped="0"> | ||
<test name="[genericTestClass].ShouldBeString<System.String>("A")" type="[genericTestClass]" method="ShouldBeString" result="Pass" time="1.234" /> | ||
<test name="[genericTestClass].ShouldBeString<System.String>("B")" type="[genericTestClass]" method="ShouldBeString" result="Pass" time="1.234" /> | ||
<test name="[genericTestClass].ShouldBeString<System.Int32>(123)" type="[genericTestClass]" method="ShouldBeString" result="Fail" time="1.234"> | ||
<failure exception-type="Fixie.Tests.Assertions.AssertException"> | ||
<message><![CDATA[Expected: System.String | ||
Actual: System.Int32]]></message> | ||
<stack-trace><![CDATA[ at [genericTestClassForStackTrace].ShouldBeString[T](T genericArgument) in [fileLocation]:line #]]></stack-trace> | ||
</failure> | ||
</test> | ||
</collection> | ||
<collection time="1.234" name="[testClass]" total="4" passed="1" failed="2" skipped="1"> | ||
<test name="[testClass].Fail" type="[testClass]" method="Fail" result="Fail" time="1.234"> | ||
<failure exception-type="Fixie.Tests.FailureException"> | ||
<message><![CDATA['Fail' failed!]]></message> | ||
<stack-trace><![CDATA[ at [testClassForStackTrace].Fail() in [fileLocation]:line #]]></stack-trace> | ||
</failure> | ||
</test> | ||
<test name="[testClass].FailByAssertion" type="[testClass]" method="FailByAssertion" result="Fail" time="1.234"> | ||
<failure exception-type="Fixie.Tests.Assertions.AssertException"> | ||
<message><![CDATA[Expected: 2 | ||
Actual: 1]]></message> | ||
<stack-trace><![CDATA[ at [testClassForStackTrace].FailByAssertion() in [fileLocation]:line #]]></stack-trace> | ||
</failure> | ||
</test> | ||
<test name="[testClass].Pass" type="[testClass]" method="Pass" result="Pass" time="1.234" /> | ||
<test name="[testClass].Skip" type="[testClass]" method="Skip" result="Skip" time="1.234"> | ||
<reason><![CDATA[⚠ Skipped with attribute.]]></reason> | ||
</test> | ||
</collection> | ||
</assembly> | ||
</assemblies> |