Include JavaScript test coverage in coverage badge
Merge request reports
Activity
added 1 commit
- c7505f55 - Include JavaScript test coverage in coverage badge (!10097 (merged))
added 1 commit
- 4175f11f - Include JavaScript test coverage in coverage badge (!10097 (merged))
@grzesiek If you got some time, I would like to have your opinion on this.
😃 So in other words we have 93% backend coverage + 43% frontend coverage.
Although this might be confusing for users, and having two badges might be better, we have no way of showing which coverage is for frontend and which is for backend code (no way to differentiate badge labels), I think we should do it. It will raise awareness of the low frontend code coverage, and this is probably a good thing to do.
Nevertheless this might have some negative effect when users/customers will see
badge. What do you think @stanhu?
Edited by Grzegorz Bizon- Resolved by username-removed-14714
we have no way of showing which coverage is for frontend and which is for backend code
I'm leaving a link to #29799 (moved) here.
😄 I would like to see both numbers somewhere
@stanhu Somewhere in the README? Otherwise it is displayed on the top right of the corresponding builds:
- JavaScript: https://gitlab.com/winniehell/gitlab-ce/builds/12745813
- Ruby: https://gitlab.com/winniehell/gitlab-ce/builds/12745817
We could also add something like this to the README:
Test Coverage
That would also allow us to link to both coverage reports.
@winniehell Sounds great!
added 1 commit
- f2119bbe - Include JavaScript test coverage in coverage badge (!10097 (merged))
added 1 commit
- 3e623c6e - Include JavaScript test coverage in coverage badge (!10097 (merged))
added 1 commit
- 3985d9ba - Include JavaScript test coverage in coverage badge (!10097 (merged))
assigned to @grzesiek
- Resolved by username-removed-14714
assigned to @winniehell
@winniehell
♥️ I left just a single comment!added 1 commit
- 74a125fa - Include JavaScript test coverage in coverage badge (!10097 (merged))
- Resolved by username-removed-14714
assigned to @grzesiek
added 1 commit
- fe4e839d - Include JavaScript test coverage in coverage badge (!10097 (merged))
- Resolved by username-removed-14714
assigned to @winniehell
added 1 commit
- 9d951e5f - Include JavaScript test coverage in coverage badge (!10097 (merged))
assigned to @grzesiek
@grzesiek I have opened https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1501 for the corresponding EE changes.
mentioned in commit 8f6608af
@winniehell LGTM
👍 ♥️ Thanks!Too bad that we are not able to use secret variables in README.md, we would be able to have
GITLAB_RELEASE
= ee / ce which could help to avoid conflicts in coverage pages links.🤔 Too bad that we are not able to use secret variables in README.md
@grzesiek Yes, that would be great: #17005 (moved)
😉 343 344 USE_BUNDLE_INSTALL: "true" @winniehell I wonder if this job name should be now
rspec:coverage
or something like this🤔 It also merges coverage generated by spinach tests. Anyway, we might want to choose another name, because this is not the only job that generates coverage now. What do you think @winniehell?
we might want to choose another name
@grzesiek I agree, I just didn't want to change it.
😃 My personal preference would becoverage:ruby
.
@grzesiek FYI milestone was missing (it's important to set one so that we know how many Community Contribution we merged for each milestone! :)).
changed milestone to %9.1