Skip to content

Commit

Permalink
version 2.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
onqtam committed May 17, 2020
1 parent 15aa164 commit d5aa2bf
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 12 deletions.
29 changes: 27 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,43 @@
# Change Log

## [2.3.8](https://github.com/onqtam/doctest/tree/2.3.8) (2020-05-17)
[Full Changelog](https://github.com/onqtam/doctest/compare/2.3.7...2.3.8)

**Closed issues:**

- Scenario name can not be passed to -tc to execute single scenario [\#373](https://github.com/onqtam/doctest/issues/373)
- Compile Error with CHECK\_NOTHROW when using 2 Template Arguments [\#372](https://github.com/onqtam/doctest/issues/372)
- dll example won't compile [\#371](https://github.com/onqtam/doctest/issues/371)
- Build error with MinGW \(Mingw-w64\) due to missing Windows.h \(with capital W\) [\#370](https://github.com/onqtam/doctest/issues/370)
- How to override file\_line\_to\_stream? [\#369](https://github.com/onqtam/doctest/issues/369)
- Memory sanitizer fails. [\#365](https://github.com/onqtam/doctest/issues/365)
- Warning c6319 in Visual Studio [\#359](https://github.com/onqtam/doctest/issues/359)
- Any option to show each test case's execute time? [\#358](https://github.com/onqtam/doctest/issues/358)
- doctest in embedded [\#355](https://github.com/onqtam/doctest/issues/355)
- Reloading a plugin with test cases leads to a segmentation fault [\#350](https://github.com/onqtam/doctest/issues/350)
- Compiling with DOCTEST\_CONFIG\_COLORS\_ANSI fails on Windows [\#348](https://github.com/onqtam/doctest/issues/348)
- Can I inherit ConsoleReporter? [\#344](https://github.com/onqtam/doctest/issues/344)
- Data-driven testing -- print out the deepest DOCTEST\_SUBCASE [\#215](https://github.com/onqtam/doctest/issues/215)
- Print the SUBCASE path when an assert fails in the TEST\_CASE body [\#125](https://github.com/onqtam/doctest/issues/125)

**Merged pull requests:**

- fix: possible UB with nullptr increment [\#368](https://github.com/onqtam/doctest/pull/368) ([oktonion](https://github.com/oktonion))
- Use CMake's CMP0077 policy if available [\#363](https://github.com/onqtam/doctest/pull/363) ([thelink2012](https://github.com/thelink2012))
- Fix warning c6319 in Visual Studio 16.5 [\#361](https://github.com/onqtam/doctest/pull/361) ([Cvelth](https://github.com/Cvelth))

## [2.3.7](https://github.com/onqtam/doctest/tree/2.3.7) (2020-02-24)
[Full Changelog](https://github.com/onqtam/doctest/compare/2.3.6...2.3.7)

**Closed issues:**

- No reset to std::dec for printing the test summary table [\#343](https://github.com/onqtam/doctest/issues/343)
- Some of the GitHub CI builds are failing [\#334](https://github.com/onqtam/doctest/issues/334)
- C++20 removed std::uncaught\_exception [\#333](https://github.com/onqtam/doctest/issues/333)
- Doctest SEH handlers are called before \_\_except handlers [\#324](https://github.com/onqtam/doctest/issues/324)

**Merged pull requests:**

- using std namespace where necessary [\#341](https://github.com/onqtam/doctest/pull/341) ([oktonion](https://github.com/oktonion))
- using std namespace where necessary and timer ticks fix [\#341](https://github.com/onqtam/doctest/pull/341) ([oktonion](https://github.com/oktonion))
- fix std::uncaught\_exceptions [\#340](https://github.com/onqtam/doctest/pull/340) ([cyyever](https://github.com/cyyever))
- Fix GitHub CI and add GitHub build badges [\#336](https://github.com/onqtam/doctest/pull/336) ([claremacrae](https://github.com/claremacrae))
- http -\> https [\#331](https://github.com/onqtam/doctest/pull/331) ([Coeur](https://github.com/Coeur))
Expand Down
4 changes: 2 additions & 2 deletions doc/html_generated/features.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
## Extremely portable:

- Standards compliant **C++11** code - should work with any **C++11** capable compiler (use tag [**1.2.9**](https://github.com/onqtam/doctest/tree/1.2.9) for C++98 and older compilers)
- tested with **GCC**: **4.8**, **4.9**, **5**, **6**, **7**, **8**, **9**
- tested with **Clang**: **3.5**, **3.6**, **3.7**, **3.8**, **3.9**, **4**, **5**, **6**, **7**, **8** (XCode 6+)
- tested with **GCC**: **4.8**, **4.9**, **5**, **6**, **7**, **8**, **9**, **10**
- tested with **Clang**: **3.5**, **3.6**, **3.7**, **3.8**, **3.9**, **4**, **5**, **6**, **7**, **8**, **9** (XCode 6+)
- tested with **MSVC**: **2015**, **2017**, **2019** (also in 32 bit mode)
- per-commit tested on [**travis**](https://travis-ci.org/onqtam/doctest) and [**appveyor**](https://ci.appveyor.com/project/onqtam/doctest) CI services
- warnings as errors even on the most aggressive warning levels - see [**here**](../../scripts/cmake/common.cmake#L84)
Expand Down
2 changes: 2 additions & 0 deletions doc/html_generated/testcases.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@

Other than the additional prefixes and the formatting in the console reporter these macros behave exactly as ```TEST_CASE```s and ```SUBCASE```s. As such there is nothing enforcing the correct sequencing of these macros - that's up to the programmer!

Note that when using the [`--test-case=<filters>`](https://github.com/onqtam/doctest/blob/master/doc/markdown/commandline.html) command line option (or `--subcase=<filters>`) you will have to pass the prefix `Scenario: ` as well.

## Test fixtures

Although **doctest** allows you to group tests together as subcases within a test case, it can still be convenient, sometimes, to group them using a more traditional test fixture. **doctest** fully supports this too. You define the test fixture as a simple structure:
Expand Down
4 changes: 2 additions & 2 deletions doctest/doctest.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@

#define DOCTEST_VERSION_MAJOR 2
#define DOCTEST_VERSION_MINOR 3
#define DOCTEST_VERSION_PATCH 7
#define DOCTEST_VERSION_STR "2.3.7"
#define DOCTEST_VERSION_PATCH 8
#define DOCTEST_VERSION_STR "2.3.8"

#define DOCTEST_VERSION \
(DOCTEST_VERSION_MAJOR * 10000 + DOCTEST_VERSION_MINOR * 100 + DOCTEST_VERSION_PATCH)
Expand Down
4 changes: 2 additions & 2 deletions doctest/parts/doctest_fwd.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@

#define DOCTEST_VERSION_MAJOR 2
#define DOCTEST_VERSION_MINOR 3
#define DOCTEST_VERSION_PATCH 7
#define DOCTEST_VERSION_STR "2.3.7"
#define DOCTEST_VERSION_PATCH 8
#define DOCTEST_VERSION_STR "2.3.8"

#define DOCTEST_VERSION \
(DOCTEST_VERSION_MAJOR * 10000 + DOCTEST_VERSION_MINOR * 100 + DOCTEST_VERSION_PATCH)
Expand Down
2 changes: 1 addition & 1 deletion examples/all_features/test_output/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[doctest] doctest version is "2.3.7"
[doctest] doctest version is "2.3.8"
2 changes: 1 addition & 1 deletion examples/all_features/test_output/version_xml.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<doctest binary="all_features" version="2.3.7">
<doctest binary="all_features" version="2.3.8">
<Options order_by="file" rand_seed="324" first="0" last="4294967295" abort_after="0" subcase_filter_levels="2147483647" case_sensitive="false" no_throw="false" no_skip="false"/>
</doctest>
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
project('doctest', ['cpp'], version: '2.3.7', meson_version:'>=0.50')
project('doctest', ['cpp'], version: '2.3.8', meson_version:'>=0.50')
doctest_dep = declare_dependency(include_directories: include_directories('doctest'))
2 changes: 1 addition & 1 deletion scripts/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.7
2.3.8

0 comments on commit d5aa2bf

Please sign in to comment.