Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test(functional): start tracking functional test coverage#1440

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JohnVillalovos merged 2 commits intomasterfromtest/functional-test-coverage
May 6, 2021

Conversation

nejch
Copy link
Member

Trying out codecov flags to see how much the whole suite covers.

@codecov-commenter
Copy link

codecov-commenter commentedMay 1, 2021
edited
Loading

Codecov Report

Merging#1440 (dfa40c1) intomaster (1e6305e) willincrease coverage by9.17%.
The diff coverage isn/a.

@@            Coverage Diff             @@##           master    #1440      +/-   ##==========================================+ Coverage   80.24%   89.41%   +9.17%==========================================  Files          73       73                Lines        4064     4064              ==========================================+ Hits         3261     3634     +373+ Misses        803      430     -373
FlagCoverage Δ
cli_func_v478.61% <ø> (?)
py_func_v478.32% <ø> (?)
unit80.24% <ø> (ø)

Flags with carried forward coverage won't be shown.Click here to find out more.

Impacted FilesCoverage Δ
gitlab/base.py89.24% <0.00%> (+0.63%)⬆️
gitlab/exceptions.py99.27% <0.00%> (+1.44%)⬆️
gitlab/types.py96.29% <0.00%> (+3.70%)⬆️
gitlab/v4/objects/jobs.py68.96% <0.00%> (+5.17%)⬆️
gitlab/v4/objects/groups.py82.02% <0.00%> (+5.61%)⬆️
gitlab/v4/objects/issues.py86.76% <0.00%> (+5.88%)⬆️
gitlab/client.py84.97% <0.00%> (+6.01%)⬆️
gitlab/mixins.py83.71% <0.00%> (+6.33%)⬆️
gitlab/v4/objects/users.py98.23% <0.00%> (+7.64%)⬆️
gitlab/v4/objects/deploy_keys.py100.00% <0.00%> (+8.69%)⬆️
... and17 more

@nejchnejch marked this pull request as ready for reviewMay 1, 2021 17:39
@nejch
Copy link
MemberAuthor

WDYT? I wanted to get a whole overview of what code covered by tests, including functional. Using flags you can really nicely split the suites in codecov, seehttps://codecov.io/gh/python-gitlab/python-gitlab/src/f875786ce338b329421f772b181e7183f0fcb333/gitlab/v4/cli.py

I think in docker tests the real bottleneck is the docker container, so I thought it wouldn't hurt adding XML coverage to the runs by default. Most people run unit tests locally I assume.

I also tweaked the codecov commenter a bit as it's not very helpful getting spammed with the comment if there's no change in coverage.

Copy link
Member

@JohnVillalovosJohnVillalovos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks good to me. I like it.

Thanks.

@JohnVillalovosJohnVillalovos merged commit0d3b8ae intomasterMay 6, 2021
@nejchnejch deleted the test/functional-test-coverage branchMay 6, 2021 19:28
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@JohnVillalovosJohnVillalovosJohnVillalovos approved these changes

@max-wittigmax-wittigAwaiting requested review from max-wittig

Assignees

@JohnVillalovosJohnVillalovos

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@nejch@codecov-commenter@JohnVillalovos

[8]ページ先頭

©2009-2025 Movatter.jp