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
-
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_FALSE
REQUIRE_THAT
andCHECK_THAT
do not work #67:REQUIRE_THAT
andCHECK_THAT
would not compileREQUIRE_THROWS_MATCHES
andCHECK_THROWS_MATCHES
do not preserve matcher state #68: preserve matcher state inREQUIRE_THROWS_MATCHES
andCHECK_THROWS_MATCHES
std::exception
#74: incorrect formatting for uncaughtstd::exception
-Wpedantic
SNITCH_MAX_MESSAGE_LENGTH
.snitch::small_function
to have stronger invariants (always contains a function to call).snitch_all
target being sometimes out of date when building tests.std::terminate
with a customizable assertion handler. This terminates by default, so behavior is unchanged, but can be made to throw instead for testing.noexcept
to 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