kibana/test/api_integration/config.js
Spencer 5c5e03a968
[5.6] [CI] Produce junit test reports (#15281) (#15442)
* [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
2017-12-05 19:41:07 -07:00

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'
}
};
}