Skip to content

Add coverage and results statistics report #261

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
merged 2 commits into from
Jun 23, 2022
Merged

Add coverage and results statistics report #261

merged 2 commits into from
Jun 23, 2022

Conversation

Lana243
Copy link
Collaborator

@Lana243 Lana243 commented Jun 3, 2022

After tests execution from CLI user can find coverge and results statistics report in .csv file. The table looks like the following:

Filename Google Test Execution Time (s) Total Tests Number Passed Tests Number Failed Tests Number Death Tests Number Interrupted Tests Number Total Lines Number Covered Lines Number Line Coverage Ratio (%)
src/simple_calc.c 0 2 2 0 0 0 11 9 81.818182
main.c 0.004 16 16 0 0 0 12 12 100.000000
lib/main.c 0.004 16 16 0 0 0 9 9 100.000000
lib/module/libfunc.c 0 1 1 0 0 0 3 3 100.000000
lib/basic_functions.c 0.002 9 9 0 0 0 32 32 100.000000
lib/structures/structs/simple_structs.c 0.013 39 39 0 0 0 122 122 100.000000
Total 0.023 83 83 0 0 0 189 187 98.941799

@Lana243 Lana243 requested a review from ladisgin June 3, 2022 15:10
@Lana243 Lana243 linked an issue Jun 3, 2022 that may be closed by this pull request
@Lana243 Lana243 force-pushed the statistics-report branch from 874c2b0 to bb7af90 Compare June 6, 2022 09:42
@ladisgin ladisgin self-requested a review June 9, 2022 15:13
@Lana243 Lana243 changed the title add statistics report Add coverage and results statistics report Jun 10, 2022
@Lana243 Lana243 force-pushed the statistics-report branch 2 times, most recently from 570d2c6 to 5a2d0ec Compare June 10, 2022 15:16
@Lana243 Lana243 requested a review from ladisgin June 16, 2022 11:03
@Lana243 Lana243 force-pushed the statistics-report branch from b47c6d6 to 5a2d0ec Compare June 16, 2022 12:32
@ladisgin
Copy link
Member

squash commits

@Lana243 Lana243 force-pushed the statistics-report branch from c1af6e2 to dc138ea Compare June 20, 2022 13:11
@Lana243 Lana243 requested a review from ladisgin June 20, 2022 13:11
@Lana243 Lana243 force-pushed the statistics-report branch from dc138ea to 0703374 Compare June 20, 2022 14:01
@Lana243 Lana243 force-pushed the statistics-report branch from 0703374 to 1382b39 Compare June 20, 2022 14:20
@Lana243 Lana243 merged commit f9dbe37 into main Jun 23, 2022
@Lana243 Lana243 deleted the statistics-report branch June 23, 2022 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add coverage statistics report to logs
2 participants