hyperledger / anoncreds-rs

anoncreds-rs
https://wiki.hyperledger.org/display/anoncreds
Apache License 2.0
74 stars 55 forks source link

Measuring test coverage and enforcing coverage minimums #343

Open rngadam opened 2 months ago

rngadam commented 2 months ago

I've ran locally testing and coverage:

https://gist.github.com/rngadam/3be78ce66a9afc0326de08f4f36ccc15

summarized results exported report has:

$ cat summary.json | jq .data[0].totals.lines.percent
57.37736209200229

is there an interest in reporting this test coverage and ensuring coverage stays at least at this value in the Github Workflow?

rngadam commented 1 month ago

Put some time using cargo llvm-cov to generate reporting as html:

https://mcn-ing.github.io/anoncreds-rs/

eventually I can cleanup the Github Workflow and submit a PR if there is an interest.

Files of note that seem to have significant logic that is not covered by the test suite: