mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
88 lines
2.6 KiB
Text
88 lines
2.6 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`dotnet-trx tests matches report snapshot 1`] = `
|
|
Object {
|
|
"annotations": Array [
|
|
Object {
|
|
"annotation_level": "failure",
|
|
"end_line": 9,
|
|
"message": "System.DivideByZeroException : Attempted to divide by zero.",
|
|
"path": "DotnetTests.Unit/Calculator.cs",
|
|
"start_line": 9,
|
|
"title": "[DotnetTests.XUnitTests.CalculatorTests] Exception_In_TargetTest",
|
|
},
|
|
Object {
|
|
"annotation_level": "failure",
|
|
"end_line": 39,
|
|
"message": "System.Exception : Test",
|
|
"path": "DotnetTests.XUnitTests/CalculatorTests.cs",
|
|
"start_line": 39,
|
|
"title": "[DotnetTests.XUnitTests.CalculatorTests] Exception_In_Test",
|
|
},
|
|
Object {
|
|
"annotation_level": "failure",
|
|
"end_line": 27,
|
|
"message": "Assert.Equal() Failure
|
|
Expected: 3
|
|
Actual: 2",
|
|
"path": "DotnetTests.XUnitTests/CalculatorTests.cs",
|
|
"start_line": 27,
|
|
"title": "[DotnetTests.XUnitTests.CalculatorTests] Failing_Test",
|
|
},
|
|
],
|
|
"testRuns": Array [
|
|
TestRunResult {
|
|
"path": "fixtures/dotnet-trx.trx",
|
|
"suites": Array [
|
|
TestSuiteResult {
|
|
"groups": Array [
|
|
TestGroupResult {
|
|
"name": null,
|
|
"tests": Array [
|
|
TestCaseResult {
|
|
"name": "Exception_In_TargetTest",
|
|
"result": "failed",
|
|
"time": 0.4975,
|
|
},
|
|
TestCaseResult {
|
|
"name": "Exception_In_Test",
|
|
"result": "failed",
|
|
"time": 2.2728,
|
|
},
|
|
TestCaseResult {
|
|
"name": "Failing_Test",
|
|
"result": "failed",
|
|
"time": 3.2953,
|
|
},
|
|
TestCaseResult {
|
|
"name": "Passing_Test",
|
|
"result": "success",
|
|
"time": 0.1254,
|
|
},
|
|
TestCaseResult {
|
|
"name": "Passing_Test_With_Name",
|
|
"result": "success",
|
|
"time": 0.103,
|
|
},
|
|
TestCaseResult {
|
|
"name": "Skipped_Test",
|
|
"result": "skipped",
|
|
"time": 1,
|
|
},
|
|
TestCaseResult {
|
|
"name": "Timeout_Test",
|
|
"result": "success",
|
|
"time": 102.2821,
|
|
},
|
|
],
|
|
},
|
|
],
|
|
"name": "DotnetTests.XUnitTests.CalculatorTests",
|
|
"totalTime": undefined,
|
|
},
|
|
],
|
|
"totalTime": 1061,
|
|
},
|
|
],
|
|
}
|
|
`;
|