test-reporter/__tests__/__snapshots__/python-xunit.test.ts.snap
Michael Marcus 9b8d3b002e Python support
Add python-xunit-parser.ts with associated case statement
Add python-xunit to reporter docs in action.yml
Add tests
Update README

Resolves #244
Resolves #633
2025-11-14 16:29:58 -05:00

44 lines
1.2 KiB
Text

// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
exports[`python-xunit tests report from python test results matches snapshot 1`] = `
TestRunResult {
"path": "fixtures/python-xunit.xml",
"suites": [
TestSuiteResult {
"groups": [
TestGroupResult {
"name": "src.acme.test_lib",
"tests": [
TestCaseResult {
"error": undefined,
"name": "test_always_pass",
"result": "success",
"time": 36.386333,
},
TestCaseResult {
"error": undefined,
"name": "test_always_skip",
"result": "success",
"time": 92.039167,
},
TestCaseResult {
"error": {
"details": undefined,
"line": undefined,
"message": "failed",
"path": undefined,
},
"name": "test_always_fail",
"result": "failed",
"time": 92.05175,
},
],
},
],
"name": "pytest",
"totalTime": 220.47725000000003,
},
],
"totalTime": undefined,
}
`;