Releases: approvals/ApprovalTests.cpp
Releases · approvals/ApprovalTests.cpp
Single Hpp File - v.10.13.0
- Breaking changes
- If you are building against the Catch2v2 in the ApprovalTests repository: The CMake library target name changed from
Catch2::Catch2
toCatch2v2::Catch2v2
- If you are building against the Catch2v2 in the ApprovalTests repository: The CMake library target name changed from
- New features
- Add support for Catch2 v3
- Added CrossPlatformReporters::VSCode - Launches via the VSCode command line interface. Requires
code
to be in your PATH.
- Bug fixes
- None
- Other changes
- Remove mingw
getenv_s()
declaration workaround
- Remove mingw
Single Hpp File - v.10.12.2
Single Hpp File - v.10.12.1
Single Hpp File - v.10.12.0
- Breaking changes
- None
- New features
- EmptyFileCreatorByType::registerCreator() - new approved file creation is now customizable for individual file extensions.
- Bug fixes
- None
- Other changes
- None
Single Hpp File - v.10.11.0
- Breaking changes
- None
- New features
- You can now customize how Test Names are Converted to Valid FileNames (#97)
- You can now customize how Empty file are created. This is useful when verifying binary files. (#172)
- Bug fixes
- None
- Other changes
Single Hpp File - v.10.10.0
- Breaking changes
- None
- New features
- Storyboard:
Print the changes to an object over time - Grid:
Create 2D text in a grid format - Vcpkg integration added:
See Vcpkg Integration docs (vcpkg #18338 - thanks @strega-nil!)
- Storyboard:
- Bug fixes
- None
- Other changes
- CygWin and MinGW CI builds moved to GitHub Actions (#181)
Single Hpp File - v.10.9.1
See also the v.10.9.0 changelog for the full list of major new features, bug fixes and other improvements.
- Breaking changes
- None
- New features
- None
- Bug fixes
- Fix compilation error with fmt library integration that was introduced in the v.10.9.0 release (#180)
- Other changes
- None
Single Hpp File - v.10.9.0
- Breaking changes
- None
- New features
- Custom template namer: see TemplatedCustomNamer. (#149)
- This gives great flexibility
- It also introduces the ability to run Approval Tests on machines that do not have the source code, such as when doing cross-compilation.
Options.withNamer()
: Options now has the ability to specify a custom namer.- New
Path
utility class: see Path.h and Path.cpp
- Custom template namer: see TemplatedCustomNamer. (#149)
- Bug fixes
- Calls to
Approvals::verify()
and related methods no longer spuriously pass if the received and approved
filenames are identical (#178) TextDiffReporter
no longer throws when reporting that files differ.- This improves the content of logs when running Approval Tests in CI builds. (#106)
- ApprovalTests.cpp's tests and examples should now never be built when used as a sub-project. (#179)
- Calls to
- Other changes
- Added new documentation sections:
- Code to copy for your first Boost.Test Approvals test
- Code to copy for your first Catch2 Approvals test
- Code to copy for your first CppUTest Approvals test
- Code to copy for your first doctest Approvals test
- Code to copy for your first Google Test Approvals test
- Code to copy for your first [Boost].UT Approvals test
- Removed CI builds for clang and gcc < v9
- Some of our internal tests now use gulrak's filesystem. Thanks @gulrak!
- Added new documentation sections:
Single Hpp File - v.10.8.0
- Breaking changes
- None
- New features
- None
- Bug fixes
- Ninja builds now work when inside source tree. (#171)
- The entire Misconfigured Builds page of workarounds is no needed, but is retained for those using older releases.
- Ninja builds now work when inside source tree. (#171)
- Other changes
- None
Single Hpp File - v.10.7.1
- Breaking changes
- None
- New features
- None
- Bug fixes
- Fix incorrect line '#include <ApprovalTests.hpp>' in single header, that was present in v.10.6.0 and v.10.7.0 (#170)
- Other changes
- None