Skip to content
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

Code coverage for unit and integration tests #607

Open
phil-davis opened this issue Jan 25, 2019 · 2 comments
Open

Code coverage for unit and integration tests #607

phil-davis opened this issue Jan 25, 2019 · 2 comments

Comments

@phil-davis
Copy link
Contributor

Some repos have both unit and integration tests. And each produce code coverage.

Decide a standard for naming and processing the multiple sets of coverage reports so that they do not stomp on each other, but do provide a reading of the code coverage of each level of testing.

(note: acceptance tests are another level up - "external" - there is not currently any coverage measure for those)

@phil-davis
Copy link
Contributor Author

A bit of discussion around here: owncloud/data_exporter#58 (comment)

And I'm sure this has been mentioned in other places.

@patrickjahns
Copy link
Contributor

patrickjahns commented Jan 29, 2019

Here is the part, to utilize codecovs tagging functionality - the reports need to be uploaded separately ( similar as done in core ).

This can be done either by splitting the integration and unit tests per matrix permutation and providing a tag - or by having separate upload targets with fixed tags.

(note: acceptance tests are another level up - "external" - there is not currently any coverage measure for those)

Generating code coverage for acceptance tests is usually not done - I can understand that this is a nice-to-have part for QA-Team.

Difficulty here would be to setup the remote apache instance with xdebug and collecting the coverage logs from there - while behat drives the testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants