Skip to content

Commit ce37f48

Browse files
committed
v1.7.0 build
1 parent 090fc74 commit ce37f48

File tree

4 files changed

+740
-370
lines changed

4 files changed

+740
-370
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
![catch logo](catch-logo-small.png)
22

3-
*v1.6.1*
3+
*v1.7.0*
44

55
Build status (on Travis CI) [![Build Status](https://travis-ci.org/philsquared/Catch.svg?branch=master)](https://travis-ci.org/philsquared/Catch)
66

7-
<a href="https://github.com/philsquared/Catch/releases/download/v1.6.1/catch.hpp">The latest, single header, version can be downloaded directly using this link</a>
7+
<a href="https://github.com/philsquared/Catch/releases/download/v1.7.0/catch.hpp">The latest, single header, version can be downloaded directly using this link</a>
88

99
## What's the Catch?
1010

docs/release-notes.md

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,37 @@
1-
# 1.6.1
1+
# 1.7.0
2+
3+
### Features/ Changes:
4+
* Catch now runs significantly faster for passing tests
5+
* Microbenchmark focused on Catch's overhead went from ~3.4s to ~0.7s.
6+
* Real world test using [JSON for Modern C++](https://github.com/nlohmann/json)'s test suite went from ~6m 25s to ~4m 14s.
7+
* Catch can now run specific sections within test cases.
8+
* For now the support is only basic (no wildcards or tags), for details see the [documentation](docs/command-line.md).
9+
* Catch now supports SEH on Windows as well as signals on Linux.
10+
* After receiving a signal, Catch reports failing assertion and then passes the signal onto the previous handler.
11+
* Approx can be used to compare values against strong typedefs (available in C++11 mode only).
12+
* Strong typedefs mean types that are explicitly convertible to double.
13+
* CHECK macro no longer stops executing section if an exception happens.
14+
* Certain characters (space, tab, etc) are now pretty printed.
15+
* This means that a `char c = ' '; REQUIRE(c == '\t');` would be printed as `' ' == '\t'`, instead of ` == 9`.
16+
17+
### Fixes:
18+
* Text formatting no longer attempts to access out-of-bounds characters under certain conditions.
19+
* THROW family of assertions no longer trigger `-Wunused-value` on expressions containing explicit cast.
20+
* Breaking into debugger under OS X works again and no longer required `DEBUG` to be defined.
21+
* Compilation no longer breaks under certain compiler if a lambda is used inside assertion macro.
22+
23+
### Other:
24+
* Catch's CMakeLists now defines install command.
25+
* Catch's CMakeLists now generates projects with warnings enabled.
26+
27+
28+
29+
30+
31+
# Older versions
32+
Release notes were not maintained prior to v1.6.0, but you should be able to work them out from the Git history
33+
34+
## 1.6.1
235

336
### Features/ Changes:
437
* Catch now supports breaking into debugger on Linux
@@ -18,10 +51,6 @@
1851
* This can be disabled if needed, see [documentation](docs/configuration.md) for details.
1952

2053

21-
22-
# Older versions
23-
Release notes were not maintained prior to v1.6.0, but you should be able to work them out from the Git history
24-
2554
## 1.6.0
2655

2756
### Cmake/ projects:

include/internal/catch_version.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace Catch {
3737
return os;
3838
}
3939

40-
Version libraryVersion( 1, 6, 1, "", 0 );
40+
Version libraryVersion( 1, 7, 0, "", 0 );
4141

4242
}
4343

0 commit comments

Comments
 (0)