mirror of
https://github.com/elastic/kibana.git
synced 2025-04-22 08:49:27 -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 * [dev/jest] fix relative path to babel options
24 lines
575 B
JavaScript
24 lines
575 B
JavaScript
import {
|
|
SupertestProvider,
|
|
ChanceProvider,
|
|
} from './services';
|
|
|
|
export default async function ({ readConfigFile }) {
|
|
const commonConfig = await readConfigFile(require.resolve('../common/config'));
|
|
|
|
return {
|
|
testFiles: [
|
|
require.resolve('./apis'),
|
|
],
|
|
services: {
|
|
es: commonConfig.get('services.es'),
|
|
esArchiver: commonConfig.get('services.esArchiver'),
|
|
supertest: SupertestProvider,
|
|
chance: ChanceProvider,
|
|
},
|
|
servers: commonConfig.get('servers'),
|
|
junit: {
|
|
reportName: 'API Integration Tests'
|
|
}
|
|
};
|
|
}
|