Native ApprovalTests for C++ on Linux, Mac and Windows
C++ Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ApprovalTests
ApprovalTests_Catch1_Tests
ApprovalTests_Catch2_Tests
ApprovalTests_GoogleTest_Tests
build
doc
lib
.gitignore
.travis.yml
BUILD-Windows.md
CMakeLists.txt
README.md
to_do.txt

README.md

CppApprovals

Build Status

Native ApprovalTests for C++

Intro Graphic

Currently working in Mac/Linux/Windows with

Getting Started

I Highly suggest you clone The Approval.cpp Starter Project

Main File

you need to include 2 lines for your main file to work.

#define APPROVALS_CATCH
#include "ApprovalTests.hpp"

For all other files, you only need

#include "ApprovalTests.hpp"

Examples

ApprovalTests uses ApprovalTests to test ApprovalTests (it's turtles all the way down)
Checkout our own tests to see how we do it:

Suggested:

ApprovalTests
VectorTests
CombinationTests