Skip to content

Single Hpp File - v.10.14.0

Latest

Choose a tag to compare

@isidore isidore released this 12 Nov 16:09
  • Breaking changes
    • None
  • New features
    • Doctest approvals now work across multiple dynamically loaded libraries: added APPROVALS_DOCTEST_EXTERNAL_MAIN, APPROVALS_DOCTEST_EXTERNAL_MAIN_IMPLEMENTATION and APPROVALS_DOCTEST_LISTENER_NAME. See Using Approval Tests With doctest
    • The Catch2 v3 integration now works with Catch2 amalgamated releases - catch_amalgamated.hpp and catch_amalgamated.cpp - by defining APPROVALS_CATCH2_V3_AMALGAMATED. (#231)
  • Bug fixes
    • The {fmt} integration now includes <fmt/format.h> itself, so it no longer fails to compile when that header was not already included. (#213)
    • Fixed undefined behaviour in the Catch2 integration, reported by sanitizers, when a section ended with no sections recorded.
    • Fixed the Boost.UT integration hiding the default reporter's output.
  • Other changes
    • Approval Tests now records every approved file it checks in .approval_tests_temp/.approved_files.log, relative to the working directory. You may want to add .approval_tests_temp/ to your .gitignore.