snitch-org / snitch

Lightweight C++20 testing framework.
Boost Software License 1.0
268 stars 10 forks source link

Generate test events for successful assertions #87

Closed cschreib closed 1 year ago

cschreib commented 1 year ago

This PR does the following:

codecov[bot] commented 1 year ago

Codecov Report

Merging #87 (41ec621) into main (1eebf1d) will increase coverage by 0.47%. The diff coverage is 97.67%.

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/cschreib/snitch/pull/87/graphs/tree.svg?width=650&height=150&src=pr&token=X422DE81PN&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber)](https://codecov.io/gh/cschreib/snitch/pull/87?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber) ```diff @@ Coverage Diff @@ ## main #87 +/- ## ========================================== + Coverage 92.92% 93.39% +0.47% ========================================== Files 23 23 Lines 1173 1257 +84 ========================================== + Hits 1090 1174 +84 Misses 83 83 ``` | [Impacted Files](https://codecov.io/gh/cschreib/snitch/pull/87?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber) | Coverage Δ | | |---|---|---| | [include/snitch/snitch\_registry.hpp](https://codecov.io/gh/cschreib/snitch/pull/87?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber#diff-aW5jbHVkZS9zbml0Y2gvc25pdGNoX3JlZ2lzdHJ5LmhwcA==) | `92.85% <ø> (ø)` | | | [src/snitch\_cli.cpp](https://codecov.io/gh/cschreib/snitch/pull/87?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber#diff-c3JjL3NuaXRjaF9jbGkuY3Bw) | `80.26% <ø> (ø)` | | | [include/snitch/snitch\_expression.hpp](https://codecov.io/gh/cschreib/snitch/pull/87?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber#diff-aW5jbHVkZS9zbml0Y2gvc25pdGNoX2V4cHJlc3Npb24uaHBw) | `92.85% <70.00%> (-4.71%)` | :arrow_down: | | [include/snitch/snitch\_matcher.hpp](https://codecov.io/gh/cschreib/snitch/pull/87?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber#diff-aW5jbHVkZS9zbml0Y2gvc25pdGNoX21hdGNoZXIuaHBw) | `100.00% <100.00%> (ø)` | | | [src/snitch\_registry.cpp](https://codecov.io/gh/cschreib/snitch/pull/87?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber#diff-c3JjL3NuaXRjaF9yZWdpc3RyeS5jcHA=) | `95.21% <100.00%> (+2.09%)` | :arrow_up: | ------ [Continue to review full report in Codecov by Sentry](https://codecov.io/gh/cschreib/snitch/pull/87?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/cschreib/snitch/pull/87?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber). Last update [7136b31...41ec621](https://codecov.io/gh/cschreib/snitch/pull/87?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber).