Releases: approvals/ApprovalTests.cpp
Single Hpp File
- Breaking changes
- Some virtual methods in the following classes have been renamed to begin with a lower-case letter:
- ApprovalWriter
- CommandLauncher
- Reporter
- ApprovalWriter's getFileExtension() has been renamed to getFileExtensionWithDot()
- Any custom implementations of these interfaces will need to be updated
- Some virtual methods in the following classes have been renamed to begin with a lower-case letter:
- New features
- Allow registration of custom file comparators by file extension: see ApprovalComparator and FileApprover::registerComparator()
- Bug fixes
- CombinationApprovals now uses any supplied Reporter
- Fixed compilation on some Windows builds
- Tests can now distinguish between types of failure, by catching ApprovalMissingException or ApprovalMismatchException
- Other changes
- Added Apache 2.0 license
Single hpp
- Ignores line endings when comparing files
- Handles filenames better
- Easier to add to existing Google tests
- New reporters:
- ClipboardReporter - copies file move command to clipboard
- CombinationReporter - allows for multiple reporters to launch at the same time
- QuietReporter - does nothing - intended for use in CI builds
Single Hpp File
verifyExistingFile
vsCodeReporter
toLower
Added base interfaces for Namers & Reporters
Single Hpp File
Everything you need (except catch2/google test/orca) in a single .hpp file
What's new:
Google Test support
Single Hpp file
Everything you need (except catch2) in a single .hpp file.
What's new:
Multiframe support ( + Okra)
Test files now need to include framework (catch2.hpp, etc...)
Single Hpp file
Everything you need (except catch2) in a single .hpp file.
What's new:
Combination Approvals
Single Hpp file
Everything you need (except catch2) in a single .hpp file.
What's new:
Visual Studio friendly
verifyAll (for arrays, vectors & iterators)
verify( anything that is streamable via << )
Single Hpp file
Everything you need (except catch2) in a single .hpp file.
What's new:
Windows friendly
Many more Diff Reporters
Single Hpp file
Everything you need (except catch2) in a single .hpp file.