Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/command-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ estimates for the mean and standard deviation. The estimates come with a lower
bound and an upper bound, and the confidence interval (which is configurable but
defaults to 95%).

[bootstrapping]: http://en.wikipedia.org/wiki/Bootstrapping_%28statistics%29
[bootstrapping]: https://en.wikipedia.org/wiki/Bootstrapping_(statistics)

<a id="benchmark-confidence-interval"></a>
## Specify the confidence-interval for bootstrapping
Expand Down
2 changes: 1 addition & 1 deletion docs/release-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ proceed.

### Incrementing version number

Catch uses a variant of [semantic versioning](http://semver.org/), with breaking API changes (and thus major version increments) being very rare. Thus, the release will usually increment the patch version, when it only contains couple of bugfixes, or minor version, when it contains new functionality, or larger changes in implementation of current functionality.
Catch uses a variant of [semantic versioning](https://semver.org/), with breaking API changes (and thus major version increments) being very rare. Thus, the release will usually increment the patch version, when it only contains couple of bugfixes, or minor version, when it contains new functionality, or larger changes in implementation of current functionality.

After deciding which part of version number should be incremented, you can use one of the `*Release.py` scripts to perform the required changes to Catch.

Expand Down
6 changes: 3 additions & 3 deletions docs/test-cases-and-sections.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Now when `[@nhf]` is used on the command line this matches all tests that are ta

## BDD-style test cases

In addition to Catch's take on the classic style of test cases, Catch supports an alternative syntax that allow tests to be written as "executable specifications" (one of the early goals of [Behaviour Driven Development](http://dannorth.net/introducing-bdd/)). This set of macros map on to ```TEST_CASE```s and ```SECTION```s, with a little internal support to make them smoother to work with.
In addition to Catch's take on the classic style of test cases, Catch supports an alternative syntax that allow tests to be written as "executable specifications" (one of the early goals of [Behaviour Driven Development](https://dannorth.net/introducing-bdd/)). This set of macros map on to ```TEST_CASE```s and ```SECTION```s, with a little internal support to make them smoother to work with.

* **SCENARIO(** _scenario name_ \[, _tags_ \] **)**

Expand All @@ -103,8 +103,8 @@ This macro maps onto ```TEST_CASE``` and works in the same way, except that the

These macros map onto ```SECTION```s except that the section names are the _something_ texts prefixed by
"given: ", "when: " or "then: " respectively. These macros also map onto the AAA or A<sup>3</sup> test pattern
(standing either for [Assemble-Activate-Assert](http://wiki.c2.com/?AssembleActivateAssert) or
[Arrange-Act-Assert](http://wiki.c2.com/?ArrangeActAssert)), and in this context, the macros provide both code
(standing either for [Assemble-Activate-Assert](https://wiki.c2.com/?AssembleActivateAssert) or
[Arrange-Act-Assert](https://wiki.c2.com/?ArrangeActAssert)), and in this context, the macros provide both code
documentation and reporting of these parts of a test case without the need for extra comments or code to do so.

Semantically, a `GIVEN` clause may have multiple _independent_ `WHEN` clauses within it. This allows a test
Expand Down
10 changes: 5 additions & 5 deletions docs/why-catch.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

Good question. For C++ there are quite a number of established frameworks,
including (but not limited to),
[Google Test](http://code.google.com/p/googletest/),
[Boost.Test](http://www.boost.org/doc/libs/1_49_0/libs/test/doc/html/index.html),
[CppUnit](http://sourceforge.net/apps/mediawiki/cppunit/index.php?title=Main_Page),
[Cute](http://www.cute-test.com), and
[many, many more](http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#C.2B.2B).
[Google Test](https://github.com/google/googletest),
[Boost.Test](https://www.boost.org/doc/libs/release/libs/test/doc/html/index.html),
[CppUnit](https://freedesktop.org/wiki/Software/cppunit/),
[Cute](https://www.cute-test.com), and
[many, many more](https://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#C++).

So what does Catch2 bring to the party that differentiates it from these? Apart from the catchy name, of course.

Expand Down