snitch-org / snitch

Lightweight C++20 testing framework.
Boost Software License 1.0
263 stars 9 forks source link

Added tests for capture, section, and skip #22

Closed cschreib closed 1 year ago

cschreib commented 1 year ago

This PR does the following.

Other miscellaneous changes:

codecov-commenter commented 1 year ago

Codecov Report

Merging #22 (1aeca5e) into main (085038c) will increase coverage by 5.87%. The diff coverage is 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/cschreib/snatch/pull/22/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/snatch/pull/22?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 #22 +/- ## ========================================== + Coverage 65.06% 70.94% +5.87% ========================================== Files 2 2 Lines 936 936 ========================================== + Hits 609 664 +55 + Misses 327 272 -55 ``` | [Impacted Files](https://codecov.io/gh/cschreib/snatch/pull/22?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber) | Coverage Δ | | |---|---|---| | [include/snatch/snatch.hpp](https://codecov.io/gh/cschreib/snatch/pull/22/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber#diff-aW5jbHVkZS9zbmF0Y2gvc25hdGNoLmhwcA==) | `95.45% <ø> (ø)` | | | [src/snatch.cpp](https://codecov.io/gh/cschreib/snatch/pull/22/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber#diff-c3JjL3NuYXRjaC5jcHA=) | `57.59% <100.00%> (+9.07%)` | :arrow_up: | ------ [Continue to review full report at Codecov](https://codecov.io/gh/cschreib/snatch/pull/22?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/snatch/pull/22?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Corentin+Schreiber). Last update [085038c...1aeca5e](https://codecov.io/gh/cschreib/snatch/pull/22?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).