SimonKagstrom / kcov

Code coverage tool for compiled programs, Python and Bash which uses debugging information to collect and report data without special compilation options
http://simonkagstrom.github.io/kcov/
GNU General Public License v2.0
709 stars 109 forks source link

Improve tests code more #431

Closed perillo closed 5 months ago

perillo commented 5 months ago

Additional improvements to kcov test suite.

NOTES

TODO

I noted that doShell is used only two times; other code using the shell use system.

Additionally, both doShell and system does not propagate errors, so I plan to make this more robust in a separate PR. I also plan to group shell commands, instead of spawning a subprocess for every command line.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 65.68%. Comparing base (5ae73ae) to head (505cb60).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #431 +/- ## ======================================= Coverage 65.68% 65.68% ======================================= Files 58 58 Lines 4514 4514 Branches 4171 4171 ======================================= Hits 2965 2965 Misses 1549 1549 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

SimonKagstrom commented 5 months ago

Beautiful! Thanks a lot for taking on the testsuite!

perillo commented 5 months ago

Thanks to you for the review.