-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Collecting code coverage from functional tests #40512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dmlemeshko
merged 37 commits into
elastic:master
from
dmlemeshko:functional-code-coverage
Oct 10, 2019
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
318818a
get coverage for console functional test
dmlemeshko d13eba3
instrument kibana
dmlemeshko 131556d
collect coverage stats after each test, on url navigation, refresh an…
dmlemeshko 6f2bc0d
switch to babel-plugin-istanbul
dmlemeshko 1f5ef2b
switch to babel-plugin-istanbul
dmlemeshko 62798a2
Merge remote-tracking branch 'upstream/master' into functional-code-c…
dmlemeshko 5c87031
Merge remote-tracking branch 'upstream/master' into functional-code-c…
dmlemeshko 4747d3b
[coverage service] basic version
dmlemeshko c2ce277
Merge branch 'master' of github.com:elastic/kibana into functional-co…
c0c724d
trigger final coverage flush when ftr finishes, wait for all logs bef…
1c8f5db
add coverage report generation
dmlemeshko dc034bc
increase optimizer timeout, re-run idx/babel plugin before istanbul
dmlemeshko e2591aa
Merge remote-tracking branch 'upstream/master' into functional-code-c…
dmlemeshko 36b9128
increase memory usage for node
dmlemeshko 5c518e6
Merge remote-tracking branch 'upstream/master' into functional-code-c…
dmlemeshko 47a8019
Merge remote-tracking branch 'upstream/master' into functional-code-c…
dmlemeshko 1512442
Merge remote-tracking branch 'upstream/master' into functional-code-c…
dmlemeshko 4496734
Merge branch 'master-up-to-broken-commit' into functional-code-coverage
dmlemeshko b3e13bd
Merge branch 'functional-code-coverage' of github.com:dmlemeshko/kiba…
dmlemeshko aadebee
put istanbul preset in the beginning to run as the last one
dmlemeshko 2e0626b
bump babel-plugin-istanbul up to 5.2.0
dmlemeshko 81ce0e3
Merge remote-tracking branch 'upstream/master' into functional-code-c…
dmlemeshko d6a52d9
Merge branch 'master' into functional-code-coverage
dmlemeshko be6be22
cleanup
dmlemeshko 4fb2058
save unique json files with coverage
dmlemeshko c5503e6
Merge remote-tracking branch 'upstream/master' into functional-code-c…
dmlemeshko c4b1311
[functional test coverage] update coverage.json path
dmlemeshko c604f0c
Merge remote-tracking branch 'upstream/master' into functional-code-c…
dmlemeshko cca3fb0
run code coverage on CI
dmlemeshko 96a21cf
increase max-old-space-size with env variable
dmlemeshko 1a52414
Merge remote-tracking branch 'upstream/master' into functional-code-c…
dmlemeshko 331f055
fix coverage folder creation
dmlemeshko d56c29d
use env variable to configure code coverage
dmlemeshko 60063c3
revert ci config changes
dmlemeshko 2720d62
remove duplicate plugin
dmlemeshko 91578bd
remove comments
dmlemeshko 01b03f4
fixes
dmlemeshko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| /* | ||
| * Licensed to Elasticsearch B.V. under one or more contributor | ||
| * license agreements. See the NOTICE file distributed with | ||
| * this work for additional information regarding copyright | ||
| * ownership. Elasticsearch B.V. licenses this file to you under | ||
| * the Apache License, Version 2.0 (the "License"); you may | ||
| * not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, | ||
| * software distributed under the License is distributed on an | ||
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| * KIND, either express or implied. See the License for the | ||
| * specific language governing permissions and limitations | ||
| * under the License. | ||
| */ | ||
|
|
||
|
|
||
| module.exports = () => { | ||
| return { | ||
| plugins: ['istanbul'] | ||
| }; | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we wrap it with
if(collectCoverage){...}to skip when we don't run tests with coverage?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to