snitch v1.1.0 released #88
cschreib
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Main changes:
CONSTEVAL_*andCONSTEXPR_*macros for compile-time (or combined compile- and run-time) testing.SKIP_CHECK()to mark a test case as skipped without aborting (useful only if exceptions are turned off).Small changes and bug fixes:
REQUIRE,CHECK,REQUIRE_FALSE, andCHECK_FALSEREQUIRE_THATandCHECK_THATdo not work #67:REQUIRE_THATandCHECK_THATwould not compileREQUIRE_THROWS_MATCHESandCHECK_THROWS_MATCHESdo not preserve matcher state #68: preserve matcher state inREQUIRE_THROWS_MATCHESandCHECK_THROWS_MATCHESstd::exception#74: incorrect formatting for uncaughtstd::exception-WpedanticSNITCH_MAX_MESSAGE_LENGTH.snitch::small_functionto have stronger invariants (always contains a function to call).snitch_alltarget being sometimes out of date when building tests.std::terminatewith a customizable assertion handler. This terminates by default, so behavior is unchanged, but can be made to throw instead for testing.noexceptto the whole code. This led to a minor but measurable performance degradation of compilation time.This discussion was created from the release v1.1.0.
Beta Was this translation helpful? Give feedback.
All reactions