Skip to content

Releases: approvals/ApprovalTests.cpp

Single Hpp File

26 Jan 19:35
Compare
Choose a tag to compare
  • 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
  • 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

01 Jan 20:23
Compare
Choose a tag to compare
  • 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

05 Jun 18:58
Compare
Choose a tag to compare

verifyExistingFile
vsCodeReporter
toLower
Added base interfaces for Namers & Reporters

Single Hpp File

01 Mar 15:19
Compare
Choose a tag to compare

Everything you need (except catch2/google test/orca) in a single .hpp file

What's new:
Google Test support

Single Hpp file

17 Feb 19:26
Compare
Choose a tag to compare

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

15 Feb 22:21
Compare
Choose a tag to compare

Everything you need (except catch2) in a single .hpp file.

What's new:
Combination Approvals

Single Hpp file

13 Feb 08:31
Compare
Choose a tag to compare

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

16 Dec 15:29
Compare
Choose a tag to compare

Everything you need (except catch2) in a single .hpp file.

What's new:
Windows friendly
Many more Diff Reporters

Single Hpp file

10 Dec 11:31
Compare
Choose a tag to compare

Everything you need (except catch2) in a single .hpp file.