mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 14:57:09 +01:00
128 lines
3.4 KiB
Text
128 lines
3.4 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`go-junit tests report from ./external/ginkgo test results matches snapshot 1`] = `
|
|
TestRunResult {
|
|
"path": "fixtures/external/go/ginkgo-junit-report.xml",
|
|
"suites": Array [
|
|
TestSuiteResult {
|
|
"groups": Array [
|
|
TestGroupResult {
|
|
"name": "Suite1",
|
|
"tests": Array [
|
|
TestCaseResult {
|
|
"error": undefined,
|
|
"name": "[It] Should succeed",
|
|
"result": "success",
|
|
"time": 0.455833,
|
|
},
|
|
],
|
|
},
|
|
],
|
|
"name": "Suite1",
|
|
"totalTime": 1.7596669999999999,
|
|
},
|
|
TestSuiteResult {
|
|
"groups": Array [
|
|
TestGroupResult {
|
|
"name": "Suite2",
|
|
"tests": Array [
|
|
TestCaseResult {
|
|
"error": undefined,
|
|
"name": "[It] Should succeed",
|
|
"result": "success",
|
|
"time": 104.59475,
|
|
},
|
|
TestCaseResult {
|
|
"error": Object {
|
|
"details": "/package2/a_test.go:52",
|
|
"line": undefined,
|
|
"path": undefined,
|
|
},
|
|
"name": "[It] Should succeed, but errors",
|
|
"result": "failed",
|
|
"time": 0.523208,
|
|
},
|
|
],
|
|
},
|
|
],
|
|
"name": "Suite2",
|
|
"totalTime": 135.371083,
|
|
},
|
|
],
|
|
"totalTime": 9568.500872999997,
|
|
}
|
|
`;
|
|
|
|
exports[`go-junit tests report from ./external/go-junit-report test results matches snapshot 1`] = `
|
|
TestRunResult {
|
|
"path": "fixtures/external/go/go-junit-report.xml",
|
|
"suites": Array [
|
|
TestSuiteResult {
|
|
"groups": Array [],
|
|
"name": "github.com/company/package1",
|
|
"totalTime": 0,
|
|
},
|
|
TestSuiteResult {
|
|
"groups": Array [
|
|
TestGroupResult {
|
|
"name": "github.com/company/package2",
|
|
"tests": Array [
|
|
TestCaseResult {
|
|
"error": undefined,
|
|
"name": "TestPackage2",
|
|
"result": "success",
|
|
"time": 0,
|
|
},
|
|
],
|
|
},
|
|
],
|
|
"name": "github.com/company/package2",
|
|
"totalTime": 482,
|
|
},
|
|
TestSuiteResult {
|
|
"groups": Array [
|
|
TestGroupResult {
|
|
"name": "github.com/company/package3",
|
|
"tests": Array [
|
|
TestCaseResult {
|
|
"error": Object {
|
|
"details": "Just error here",
|
|
"line": undefined,
|
|
"path": undefined,
|
|
},
|
|
"name": "TestPackage3-1",
|
|
"result": "failed",
|
|
"time": 0,
|
|
},
|
|
TestCaseResult {
|
|
"error": undefined,
|
|
"name": "TestPackage3-2",
|
|
"result": "success",
|
|
"time": 160,
|
|
},
|
|
TestCaseResult {
|
|
"error": undefined,
|
|
"name": "TestPackage3-3",
|
|
"result": "skipped",
|
|
"time": 0,
|
|
},
|
|
TestCaseResult {
|
|
"error": Object {
|
|
"details": "",
|
|
"line": undefined,
|
|
"path": undefined,
|
|
},
|
|
"name": "TestPackage3-4",
|
|
"result": "failed",
|
|
"time": 0,
|
|
},
|
|
],
|
|
},
|
|
],
|
|
"name": "github.com/company/package3",
|
|
"totalTime": 835,
|
|
},
|
|
],
|
|
"totalTime": undefined,
|
|
}
|
|
`;
|