mirror of
https://github.com/dorny/test-reporter.git
synced 2026-03-21 23:52:12 +01:00
Update tests
This commit is contained in:
parent
c73d8b1738
commit
0850bc862a
4 changed files with 18 additions and 100 deletions
|
|
@ -1,13 +1,13 @@
|
||||||

|

|
||||||
|Report|Passed|Failed|Skipped|Time|
|
|Report|Passed|Failed|Skipped|Time|
|
||||||
|:---|---:|---:|---:|---:|
|
|:---|---:|---:|---:|---:|
|
||||||
|fixtures/dotnet-nunit-legacy.xml|3 ✅|5 ❌|2 ⚪|0ms|
|
|fixtures/dotnet-nunit-legacy.xml|3 ✅|5 ❌|2 ⚪|9ms|
|
||||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/dotnet-nunit-legacy.xml</a>
|
## ❌ <a id="user-content-r0" href="#r0">fixtures/dotnet-nunit-legacy.xml</a>
|
||||||
**10** tests were completed in **0ms** with **3** passed, **5** failed and **2** skipped.
|
**10** tests were completed in **9ms** with **3** passed, **5** failed and **2** skipped.
|
||||||
|Test suite|Passed|Failed|Skipped|Time|
|
|Test suite|Passed|Failed|Skipped|Time|
|
||||||
|:---|---:|---:|---:|---:|
|
|:---|---:|---:|---:|---:|
|
||||||
|[C:\Users\james_t\source\repos\NUnitLegacy\NUnitLegacy.sln.C:\Users\james_t\source\repos\NUnitLegacy\NUnitLegacyTests\bin\Debug\NUnitLegacyTests.dll.NUnitLegacyTests](#r0s0)|3 ✅|5 ❌|2 ⚪|NaNms|
|
|[C:\Users\james_t\Documents\git\test-reporter\reports\dotnet-nunit-legacy\NUnitLegacy.sln.C:\Users\james_t\Documents\git\test-reporter\reports\dotnet-nunit-legacy\NUnitLegacyTests\bin\Debug\NUnitLegacyTests.dll.NUnitLegacyTests](#r0s0)|3 ✅|5 ❌|2 ⚪|NaNms|
|
||||||
### ❌ <a id="user-content-r0s0" href="#r0s0">C:\Users\james_t\source\repos\NUnitLegacy\NUnitLegacy.sln.C:\Users\james_t\source\repos\NUnitLegacy\NUnitLegacyTests\bin\Debug\NUnitLegacyTests.dll.NUnitLegacyTests</a>
|
### ❌ <a id="user-content-r0s0" href="#r0s0">C:\Users\james_t\Documents\git\test-reporter\reports\dotnet-nunit-legacy\NUnitLegacy.sln.C:\Users\james_t\Documents\git\test-reporter\reports\dotnet-nunit-legacy\NUnitLegacyTests\bin\Debug\NUnitLegacyTests.dll.NUnitLegacyTests</a>
|
||||||
```
|
```
|
||||||
CalculatorTests
|
CalculatorTests
|
||||||
✅ NUnitLegacyTests.CalculatorTests.Is_Even_Number(2)
|
✅ NUnitLegacyTests.CalculatorTests.Is_Even_Number(2)
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
<!--This file represents the results of running a test suite-->
|
<!--This file represents the results of running a test suite-->
|
||||||
<test-results name="C:\Users\james_t\source\repos\NUnitLegacy\NUnitLegacy.sln" total="9" errors="2" failures="3" not-run="1" inconclusive="1" ignored="1" skipped="0" invalid="0" date="2025-03-05" time="00:58:36">
|
<test-results name="C:\Users\james_t\Documents\git\test-reporter\reports\dotnet-nunit-legacy\NUnitLegacy.sln" total="9" errors="2" failures="3" not-run="1" inconclusive="1" ignored="1" skipped="0" invalid="0" date="2025-03-05" time="09:42:55">
|
||||||
<environment nunit-version="2.6.1.12217" clr-version="2.0.50727.9179" os-version="Microsoft Windows NT 6.2.9200.0" platform="Win32NT" cwd="C:\Users\james_t\source\repos\NUnitLegacy" machine-name="CTXSHAMUS" user="james_t" user-domain="LABATTSA" />
|
<environment nunit-version="2.6.1.12217" clr-version="2.0.50727.9179" os-version="Microsoft Windows NT 6.2.9200.0" platform="Win32NT" cwd="C:\Users\james_t\Documents\git\test-reporter" machine-name="CTXSHAMUS" user="james_t" user-domain="LABATTSA" />
|
||||||
<culture-info current-culture="en-US" current-uiculture="en-US" />
|
<culture-info current-culture="en-US" current-uiculture="en-US" />
|
||||||
<test-suite type="Project" name="C:\Users\james_t\source\repos\NUnitLegacy\NUnitLegacy.sln" executed="True" result="Failure" success="False" time="0.133" asserts="0">
|
<test-suite type="Project" name="C:\Users\james_t\Documents\git\test-reporter\reports\dotnet-nunit-legacy\NUnitLegacy.sln" executed="True" result="Failure" success="False" time="0.120" asserts="0">
|
||||||
<results>
|
<results>
|
||||||
<test-suite type="Assembly" name="C:\Users\james_t\source\repos\NUnitLegacy\NUnitLegacyTests\bin\Debug\NUnitLegacyTests.dll" executed="True" result="Failure" success="False" time="0.117" asserts="0">
|
<test-suite type="Assembly" name="C:\Users\james_t\Documents\git\test-reporter\reports\dotnet-nunit-legacy\NUnitLegacyTests\bin\Debug\NUnitLegacyTests.dll" executed="True" result="Failure" success="False" time="0.105" asserts="0">
|
||||||
<results>
|
<results>
|
||||||
<test-suite type="Namespace" name="NUnitLegacyTests" executed="True" result="Failure" success="False" time="0.117" asserts="0">
|
<test-suite type="Namespace" name="NUnitLegacyTests" executed="True" result="Failure" success="False" time="0.105" asserts="0">
|
||||||
<results>
|
<results>
|
||||||
<test-suite type="TestFixture" name="CalculatorTests" executed="True" result="Failure" success="False" time="0.116" asserts="0">
|
<test-suite type="TestFixture" name="CalculatorTests" executed="True" result="Failure" success="False" time="0.104" asserts="0">
|
||||||
<results>
|
<results>
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Exception_In_TargetTest" executed="True" result="Error" success="False" time="0.028" asserts="0">
|
<test-case name="NUnitLegacyTests.CalculatorTests.Exception_In_TargetTest" executed="True" result="Error" success="False" time="0.026" asserts="0">
|
||||||
<failure>
|
<failure>
|
||||||
<message><![CDATA[System.DivideByZeroException : Attempted to divide by zero.]]></message>
|
<message><![CDATA[System.DivideByZeroException : Attempted to divide by zero.]]></message>
|
||||||
<stack-trace><![CDATA[at MyLibrary.Calculator.Div(Int32 a, Int32 b) in C:\Users\james_t\source\repos\NUnitLegacy\MyLibrary\Calculator.cs:line 7
|
<stack-trace><![CDATA[at MyLibrary.Calculator.Div(Int32 a, Int32 b) in C:\Users\james_t\source\repos\NUnitLegacy\MyLibrary\Calculator.cs:line 7
|
||||||
|
|
@ -26,7 +26,7 @@ at NUnitLegacyTests.CalculatorTests.Exception_In_TargetTest() in C:\Users\james_
|
||||||
]]></stack-trace>
|
]]></stack-trace>
|
||||||
</failure>
|
</failure>
|
||||||
</test-case>
|
</test-case>
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Failing_Test" executed="True" result="Failure" success="False" time="0.016" asserts="1">
|
<test-case name="NUnitLegacyTests.CalculatorTests.Failing_Test" executed="True" result="Failure" success="False" time="0.014" asserts="1">
|
||||||
<failure>
|
<failure>
|
||||||
<message><![CDATA[ Expected: 3
|
<message><![CDATA[ Expected: 3
|
||||||
But was: 2
|
But was: 2
|
||||||
|
|
@ -35,15 +35,15 @@ at NUnitLegacyTests.CalculatorTests.Exception_In_TargetTest() in C:\Users\james_
|
||||||
]]></stack-trace>
|
]]></stack-trace>
|
||||||
</failure>
|
</failure>
|
||||||
</test-case>
|
</test-case>
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Inconclusive_Test" executed="True" result="Inconclusive" success="False" time="0.002" asserts="0">
|
<test-case name="NUnitLegacyTests.CalculatorTests.Inconclusive_Test" executed="True" result="Inconclusive" success="False" time="0.001" asserts="0">
|
||||||
<reason>
|
<reason>
|
||||||
<message><![CDATA[couldn't run test for some reason]]></message>
|
<message><![CDATA[couldn't run test for some reason]]></message>
|
||||||
</reason>
|
</reason>
|
||||||
</test-case>
|
</test-case>
|
||||||
<test-suite type="Theory" name="Is_Even_Number" executed="True" result="Failure" success="False" time="0.005" asserts="0">
|
<test-suite type="Theory" name="Is_Even_Number" executed="True" result="Failure" success="False" time="0.004" asserts="0">
|
||||||
<results>
|
<results>
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Is_Even_Number(2)" executed="True" result="Success" success="True" time="0.001" asserts="1" />
|
<test-case name="NUnitLegacyTests.CalculatorTests.Is_Even_Number(2)" executed="True" result="Success" success="True" time="0.001" asserts="1" />
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Is_Even_Number(3)" executed="True" result="Failure" success="False" time="0.002" asserts="1">
|
<test-case name="NUnitLegacyTests.CalculatorTests.Is_Even_Number(3)" executed="True" result="Failure" success="False" time="0.001" asserts="1">
|
||||||
<failure>
|
<failure>
|
||||||
<message><![CDATA[ Expected: True
|
<message><![CDATA[ Expected: True
|
||||||
But was: False
|
But was: False
|
||||||
|
|
@ -61,7 +61,7 @@ at NUnitLegacyTests.CalculatorTests.Exception_In_TargetTest() in C:\Users\james_
|
||||||
<message><![CDATA[Skipped]]></message>
|
<message><![CDATA[Skipped]]></message>
|
||||||
</reason>
|
</reason>
|
||||||
</test-case>
|
</test-case>
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Timeout_Test" executed="True" result="Failure" success="False" time="0.027" asserts="0">
|
<test-case name="NUnitLegacyTests.CalculatorTests.Timeout_Test" executed="True" result="Failure" success="False" time="0.028" asserts="0">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="Timeout" value="1" />
|
<property name="Timeout" value="1" />
|
||||||
</properties>
|
</properties>
|
||||||
|
|
@ -76,7 +76,7 @@ at NUnitLegacyTests.CalculatorTests.Exception_In_TargetTest() in C:\Users\james_
|
||||||
</test-suite>
|
</test-suite>
|
||||||
</results>
|
</results>
|
||||||
</test-suite>
|
</test-suite>
|
||||||
<test-suite type="Assembly" name="C:\Users\james_t\source\repos\NUnitLegacy\MyLibrary\bin\Debug\MyLibrary.dll" executed="True" result="Inconclusive" success="False" time="0.000" asserts="0" />
|
<test-suite type="Assembly" name="C:\Users\james_t\Documents\git\test-reporter\reports\dotnet-nunit-legacy\MyLibrary\bin\Debug\MyLibrary.dll" executed="True" result="Inconclusive" success="False" time="0.000" asserts="0" />
|
||||||
</results>
|
</results>
|
||||||
</test-suite>
|
</test-suite>
|
||||||
</test-results>
|
</test-results>
|
||||||
|
|
@ -1,82 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
||||||
<!--This file represents the results of running a test suite-->
|
|
||||||
<test-results name="C:\Users\james_t\Documents\git\test-reporter\reports\dotnet-nunit-legacy\NUnitLegacy.sln" total="9" errors="2" failures="3" not-run="1" inconclusive="1" ignored="1" skipped="0" invalid="0" date="2025-03-05" time="09:42:55">
|
|
||||||
<environment nunit-version="2.6.1.12217" clr-version="2.0.50727.9179" os-version="Microsoft Windows NT 6.2.9200.0" platform="Win32NT" cwd="C:\Users\james_t\Documents\git\test-reporter" machine-name="CTXSHAMUS" user="james_t" user-domain="LABATTSA" />
|
|
||||||
<culture-info current-culture="en-US" current-uiculture="en-US" />
|
|
||||||
<test-suite type="Project" name="C:\Users\james_t\Documents\git\test-reporter\reports\dotnet-nunit-legacy\NUnitLegacy.sln" executed="True" result="Failure" success="False" time="0.120" asserts="0">
|
|
||||||
<results>
|
|
||||||
<test-suite type="Assembly" name="C:\Users\james_t\Documents\git\test-reporter\reports\dotnet-nunit-legacy\NUnitLegacyTests\bin\Debug\NUnitLegacyTests.dll" executed="True" result="Failure" success="False" time="0.105" asserts="0">
|
|
||||||
<results>
|
|
||||||
<test-suite type="Namespace" name="NUnitLegacyTests" executed="True" result="Failure" success="False" time="0.105" asserts="0">
|
|
||||||
<results>
|
|
||||||
<test-suite type="TestFixture" name="CalculatorTests" executed="True" result="Failure" success="False" time="0.104" asserts="0">
|
|
||||||
<results>
|
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Exception_In_TargetTest" executed="True" result="Error" success="False" time="0.026" asserts="0">
|
|
||||||
<failure>
|
|
||||||
<message><![CDATA[System.DivideByZeroException : Attempted to divide by zero.]]></message>
|
|
||||||
<stack-trace><![CDATA[at MyLibrary.Calculator.Div(Int32 a, Int32 b) in C:\Users\james_t\source\repos\NUnitLegacy\MyLibrary\Calculator.cs:line 7
|
|
||||||
at NUnitLegacyTests.CalculatorTests.Exception_In_TargetTest() in C:\Users\james_t\source\repos\NUnitLegacy\NUnitLegacyTests\CalculatorTests.cs:line 33
|
|
||||||
]]></stack-trace>
|
|
||||||
</failure>
|
|
||||||
</test-case>
|
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Exception_In_Test" executed="True" result="Error" success="False" time="0.002" asserts="0">
|
|
||||||
<failure>
|
|
||||||
<message><![CDATA[System.Exception : Test]]></message>
|
|
||||||
<stack-trace><![CDATA[at NUnitLegacyTests.CalculatorTests.Exception_In_Test() in C:\Users\james_t\source\repos\NUnitLegacy\NUnitLegacyTests\CalculatorTests.cs:line 39
|
|
||||||
]]></stack-trace>
|
|
||||||
</failure>
|
|
||||||
</test-case>
|
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Failing_Test" executed="True" result="Failure" success="False" time="0.014" asserts="1">
|
|
||||||
<failure>
|
|
||||||
<message><![CDATA[ Expected: 3
|
|
||||||
But was: 2
|
|
||||||
]]></message>
|
|
||||||
<stack-trace><![CDATA[at NUnitLegacyTests.CalculatorTests.Failing_Test() in C:\Users\james_t\source\repos\NUnitLegacy\NUnitLegacyTests\CalculatorTests.cs:line 27
|
|
||||||
]]></stack-trace>
|
|
||||||
</failure>
|
|
||||||
</test-case>
|
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Inconclusive_Test" executed="True" result="Inconclusive" success="False" time="0.001" asserts="0">
|
|
||||||
<reason>
|
|
||||||
<message><![CDATA[couldn't run test for some reason]]></message>
|
|
||||||
</reason>
|
|
||||||
</test-case>
|
|
||||||
<test-suite type="Theory" name="Is_Even_Number" executed="True" result="Failure" success="False" time="0.004" asserts="0">
|
|
||||||
<results>
|
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Is_Even_Number(2)" executed="True" result="Success" success="True" time="0.001" asserts="1" />
|
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Is_Even_Number(3)" executed="True" result="Failure" success="False" time="0.001" asserts="1">
|
|
||||||
<failure>
|
|
||||||
<message><![CDATA[ Expected: True
|
|
||||||
But was: False
|
|
||||||
]]></message>
|
|
||||||
<stack-trace><![CDATA[at NUnitLegacyTests.CalculatorTests.Is_Even_Number(Int32 i) in C:\Users\james_t\source\repos\NUnitLegacy\NUnitLegacyTests\CalculatorTests.cs:line 61
|
|
||||||
]]></stack-trace>
|
|
||||||
</failure>
|
|
||||||
</test-case>
|
|
||||||
</results>
|
|
||||||
</test-suite>
|
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Passing_Test" executed="True" result="Success" success="True" time="0.000" asserts="1" />
|
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Passing_Test_With_Description" description="Some description" executed="True" result="Success" success="True" time="0.000" asserts="1" />
|
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Skipped_Test" executed="False" result="Ignored">
|
|
||||||
<reason>
|
|
||||||
<message><![CDATA[Skipped]]></message>
|
|
||||||
</reason>
|
|
||||||
</test-case>
|
|
||||||
<test-case name="NUnitLegacyTests.CalculatorTests.Timeout_Test" executed="True" result="Failure" success="False" time="0.028" asserts="0">
|
|
||||||
<properties>
|
|
||||||
<property name="Timeout" value="1" />
|
|
||||||
</properties>
|
|
||||||
<failure>
|
|
||||||
<message><![CDATA[Test exceeded Timeout value of 1ms]]></message>
|
|
||||||
<stack-trace />
|
|
||||||
</failure>
|
|
||||||
</test-case>
|
|
||||||
</results>
|
|
||||||
</test-suite>
|
|
||||||
</results>
|
|
||||||
</test-suite>
|
|
||||||
</results>
|
|
||||||
</test-suite>
|
|
||||||
<test-suite type="Assembly" name="C:\Users\james_t\Documents\git\test-reporter\reports\dotnet-nunit-legacy\MyLibrary\bin\Debug\MyLibrary.dll" executed="True" result="Inconclusive" success="False" time="0.000" asserts="0" />
|
|
||||||
</results>
|
|
||||||
</test-suite>
|
|
||||||
</test-results>
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
"dart-fixture": "cd \"reports/dart\" && dart test --file-reporter=\"json:../../__tests__/fixtures/dart-json.json\"",
|
"dart-fixture": "cd \"reports/dart\" && dart test --file-reporter=\"json:../../__tests__/fixtures/dart-json.json\"",
|
||||||
"dotnet-fixture": "dotnet test reports/dotnet/DotnetTests.XUnitTests --logger \"trx;LogFileName=../../../../__tests__/fixtures/dotnet-trx.trx\"",
|
"dotnet-fixture": "dotnet test reports/dotnet/DotnetTests.XUnitTests --logger \"trx;LogFileName=../../../../__tests__/fixtures/dotnet-trx.trx\"",
|
||||||
"dotnet-nunit-fixture": "nunit.exe reports/dotnet/DotnetTests.NUnitV3Tests/bin/Debug/netcoreapp3.1/DotnetTests.NUnitV3Tests.dll --result=__tests__/fixtures/dotnet-nunit.xml",
|
"dotnet-nunit-fixture": "nunit.exe reports/dotnet/DotnetTests.NUnitV3Tests/bin/Debug/netcoreapp3.1/DotnetTests.NUnitV3Tests.dll --result=__tests__/fixtures/dotnet-nunit.xml",
|
||||||
"dotnet-nunit-legacy-fixture": "nunit-console.exe reports/dotnet-nunit-legacy/NUnitLegacy.sln --result=__tests__/fixtures/dotnet-nunit-legacy2.xml",
|
"dotnet-nunit-legacy-fixture": "nunit-console.exe reports/dotnet-nunit-legacy/NUnitLegacy.sln --result=__tests__/fixtures/dotnet-nunit-legacy.xml",
|
||||||
"jest-fixture": "cd \"reports/jest\" && npm test",
|
"jest-fixture": "cd \"reports/jest\" && npm test",
|
||||||
"mocha-fixture": "cd \"reports/mocha\" && npm test"
|
"mocha-fixture": "cd \"reports/mocha\" && npm test"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue