mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[CI] Produce junit test reports (#15281)
* [mocha] use custom reporter for legible results in jenkins * [jest] use custom result processor for legible results in jenkins * [karma] enable junit output on CI * [mocha/junitReporter] accept rootDirectory as configuration * [jest/reporter] use reporters option added in jest 20 * [toolingLog] remove black/white specific colors * [dev/mocha/junit] no reason for junit to be a "reporter" * typos * [dev/mocha/junit] use else if * [karma/junit] use string#replace for explicitness * [junit] use test file path as "classname" * [ftr/mocha] no longer a "console" specific reporter
This commit is contained in:
parent
fa28e7554c
commit
f71ec29bd6
32 changed files with 332 additions and 33 deletions
8
src/dev/jest/cli.js
Normal file
8
src/dev/jest/cli.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
import jest from 'jest';
|
||||
import { resolve } from 'path';
|
||||
|
||||
const argv = process.argv.slice(2);
|
||||
|
||||
argv.push('--config', resolve(__dirname, './config.json'));
|
||||
|
||||
jest.run(argv);
|
Loading…
Add table
Add a link
Reference in a new issue