(framework, output, exitCode)
| 287 | } |
| 288 | |
| 289 | function parseOutput(framework, output, exitCode) { |
| 290 | switch (framework) { |
| 291 | case 'pytest': |
| 292 | case 'hatch+pytest': |
| 293 | case 'unittest': |
| 294 | case 'django': |
| 295 | return parsePytest(output); |
| 296 | case 'jest': |
| 297 | return parseJest(output); |
| 298 | case 'vitest': |
| 299 | return parseVitest(output); |
| 300 | case 'go-test': |
| 301 | return parseGoTest(output); |
| 302 | case 'cargo-test': |
| 303 | return parseCargoTest(output); |
| 304 | case 'mocha': |
| 305 | case 'npm-test': |
| 306 | return parseMocha(output); |
| 307 | case 'node-test': |
| 308 | return parseNodeTest(output); |
| 309 | default: |
| 310 | return parseGeneric(output, exitCode); |
| 311 | } |
| 312 | } |
| 313 | |
| 314 | // ─── Main executor ──────────────────────────────────────────────────────────── |
| 315 |
no test coverage detected