Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
264 changed files
with
25,357 additions
and
23,832 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
<a id="top"></a> | ||
![catch logo](catch-logo-small.png) | ||
|
||
[![Github Releases](https://img.shields.io/github/release/philsquared/catch.svg)](https://github.com/philsquared/catch/releases) | ||
[![Build Status](https://travis-ci.org/philsquared/Catch.svg?branch=master)](https://travis-ci.org/philsquared/Catch) | ||
[![Build status](https://ci.appveyor.com/api/projects/status/hrtk60hv6tw6fght/branch/master?svg=true)](https://ci.appveyor.com/project/philsquared/catch/branch/master) | ||
[![Try online](https://img.shields.io/badge/try-online-blue.svg)](https://wandbox.org/permlink/EyEbEIfp8CnnjguW) | ||
[![Build Status](https://travis-ci.org/philsquared/Catch.svg?branch=catch2)](https://travis-ci.org/philsquared/Catch?branch=catch2) | ||
[![Build status](https://ci.appveyor.com/api/projects/status/hrtk60hv6tw6fght/branch/catch2?svg=true)](https://ci.appveyor.com/project/philsquared/catch/branch/catch2) | ||
|
||
<a href="https://github.com/philsquared/Catch/releases/download/v1.11.0/catch.hpp">The latest, single header, version can be downloaded directly using this link</a> | ||
<a href="https://github.com/philsquared/Catch/releases/download/v2.0.0-develop.6/catch.hpp">The latest version of the single header can be downloaded directly using this link</a> | ||
|
||
## What's the Catch? | ||
|
||
Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C). It is implemented entirely in a set of header files, but is packaged up as a single header for extra convenience. | ||
Catch stands for C++ Automated Test Cases in Headers and is a | ||
multi-paradigm test framework for C++. which also supports Objective-C | ||
and, maybe, C. | ||
It is primarily distributed as a single header file, although certain | ||
extensions may require additional headers. | ||
|
||
## How to use it | ||
This documentation comprises these three parts: | ||
|
||
* [Why do we need yet another C++ Test Framework?](docs/why-catch.md) | ||
* [Tutorial](docs/tutorial.md) - getting started | ||
* [Reference section](docs/Readme.md) - all the details | ||
* [Why do we need yet another C++ Test Framework?](docs/why-catch.md#top) | ||
* [Tutorial](docs/tutorial.md#top) - getting started | ||
* [Reference section](docs/Readme.md#top) - all the details | ||
|
||
## More | ||
* Issues and bugs can be raised on the [Issue tracker on GitHub](https://github.com/philsquared/Catch/issues) | ||
* For discussion or questions please use [the dedicated Google Groups forum](https://groups.google.com/forum/?fromgroups#!forum/catch-forum) | ||
* See [who else is using Catch](docs/opensource-users.md) | ||
|
||
## Help us out | ||
We're currently running [a survey](https://www.surveymonkey.co.uk/r/TLLYQJW) to help us shape the future of Catch. | ||
Please take a few moments to fill it out (there's only ten questions). | ||
* See [who else is using Catch](docs/opensource-users.md#top) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
prefix=@CMAKE_INSTALL_PREFIX@ | ||
exec_prefix=${prefix} | ||
|
||
Name: Catch | ||
Description: Testing library for C++ | ||
Requires: | ||
Version: @CATCH_VERSION_NUMBER@ | ||
Libs: | ||
Cflags: -I${prefix}/@INCLUDE_INSTALL_DIR@/include |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,33 @@ | ||
To get the most out of Catch, start with the [tutorial](tutorial.md). | ||
<a id="top"></a> | ||
# Reference | ||
|
||
To get the most out of Catch, start with the [tutorial](tutorial.md#top). | ||
Once you're up and running consider the following reference material. | ||
|
||
Writing tests: | ||
* [Assertion macros](assertions.md) | ||
* [Matchers](matchers.md) | ||
* [Logging macros](logging.md) | ||
* [Test cases and sections](test-cases-and-sections.md) | ||
* [Test fixtures](test-fixtures.md) | ||
* [Reporters](reporters.md) | ||
* [Event Listeners](event-listeners.md) | ||
* [Assertion macros](assertions.md#top) | ||
* [Matchers](matchers.md#top) | ||
* [Logging macros](logging.md#top) | ||
* [Test cases and sections](test-cases-and-sections.md#top) | ||
* [Test fixtures](test-fixtures.md#top) | ||
* [Reporters](reporters.md#top) | ||
* [Event Listeners](event-listeners.md#top) | ||
|
||
Fine tuning: | ||
* [Supplying your own main()](own-main.md) | ||
* [Compile-time configuration](configuration.md) | ||
* [String Conversions](tostring.md) | ||
* [Supplying your own main()](own-main.md#top) | ||
* [Compile-time configuration](configuration.md#top) | ||
* [String Conversions](tostring.md#top) | ||
|
||
Running: | ||
* [Command line](command-line.md) | ||
* [CI and Build system integration](build-systems.md) | ||
* [Command line](command-line.md#top) | ||
* [CI and Build system integration](build-systems.md#top) | ||
|
||
FAQ: | ||
* [Why are my tests slow to compile?](slow-compiles.md) | ||
* [Known limitations](limitations.md) | ||
* [Why are my tests slow to compile?](slow-compiles.md#top) | ||
* [Known limitations](limitations.md#top) | ||
|
||
Other: | ||
* [Why Catch?](why-catch.md) | ||
* [Open Source Projects using Catch](opensource-users.md) | ||
* [Contributing](contributing.md) | ||
* [Release Notes](release-notes.md) | ||
* [Why Catch?](why-catch.md#top) | ||
* [Open Source Projects using Catch](opensource-users.md#top) | ||
* [Contributing](contributing.md#top) | ||
* [Release Notes](release-notes.md#top) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.