Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Add code coverage support #301

Merged
merged 6 commits into from
Jun 7, 2019
Merged

Add code coverage support #301

merged 6 commits into from
Jun 7, 2019

Conversation

emgre
Copy link
Member

@emgre emgre commented Jun 7, 2019

Closes #299.

  • Add code coverage using gcov, lcov and genhtml.
  • To get the coverage, enable DNP3_COVERAGE CMake option, then build target coverage (with cmake --build . --target coverage). An HTML report will be generated.
  • Added integration with Codecov so we get updates about the coverage results. Also added the badges associated with the branches.

@codecov
Copy link

codecov bot commented Jun 7, 2019

Codecov Report

❗ No coverage uploaded for pull request base (3.0.0@71f6e0f). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             3.0.0    #301   +/-   ##
=======================================
  Coverage         ?   52.9%           
=======================================
  Files            ?     446           
  Lines            ?   17883           
  Branches         ?       0           
=======================================
  Hits             ?    9461           
  Misses           ?    8422           
  Partials         ?       0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 71f6e0f...4d902c9. Read the comment docs.

@jadamcrain jadamcrain merged commit dce14c4 into 3.0.0 Jun 7, 2019
@jadamcrain jadamcrain deleted the coverage branch June 7, 2019 20:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants