Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/onqtam/doctest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoronqtam <vik.kirilov@gmail.com>2020-05-17 21:22:38 +0300
committeronqtam <vik.kirilov@gmail.com>2020-05-17 21:22:58 +0300
commitd5aa2bfb8f00b6260296a754af3a3a98d93f7b67 (patch)
treea076d95eb971e63a6e0163cd4e5d355179658e8f
parent15aa16426130ccd419fff124d343efdef597f02d (diff)
version 2.3.82.3.8
-rw-r--r--CHANGELOG.md29
-rw-r--r--doc/html_generated/features.html4
-rw-r--r--doc/html_generated/testcases.html2
-rw-r--r--doctest/doctest.h4
-rw-r--r--doctest/parts/doctest_fwd.h4
-rw-r--r--examples/all_features/test_output/version.txt2
-rw-r--r--examples/all_features/test_output/version_xml.txt2
-rw-r--r--meson.build2
-rw-r--r--scripts/version.txt2
9 files changed, 39 insertions, 12 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8fb21c8e..bc7bd993 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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))
diff --git a/doc/html_generated/features.html b/doc/html_generated/features.html
index 86c91297..db7c0007 100644
--- a/doc/html_generated/features.html
+++ b/doc/html_generated/features.html
@@ -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)
diff --git a/doc/html_generated/testcases.html b/doc/html_generated/testcases.html
index 25b260a6..c4ef5ff1 100644
--- a/doc/html_generated/testcases.html
+++ b/doc/html_generated/testcases.html
@@ -53,6 +53,8 @@ When any of these macros are used the console reporter recognises them and forma
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:
diff --git a/doctest/doctest.h b/doctest/doctest.h
index 65306b10..86f6f24a 100644
--- a/doctest/doctest.h
+++ b/doctest/doctest.h
@@ -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)
diff --git a/doctest/parts/doctest_fwd.h b/doctest/parts/doctest_fwd.h
index d5d180c4..8c972216 100644
--- a/doctest/parts/doctest_fwd.h
+++ b/doctest/parts/doctest_fwd.h
@@ -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)
diff --git a/examples/all_features/test_output/version.txt b/examples/all_features/test_output/version.txt
index 4ce38757..b6c9b232 100644
--- a/examples/all_features/test_output/version.txt
+++ b/examples/all_features/test_output/version.txt
@@ -1 +1 @@
-[doctest] doctest version is "2.3.7"
+[doctest] doctest version is "2.3.8"
diff --git a/examples/all_features/test_output/version_xml.txt b/examples/all_features/test_output/version_xml.txt
index 88cc3999..9d4629c2 100644
--- a/examples/all_features/test_output/version_xml.txt
+++ b/examples/all_features/test_output/version_xml.txt
@@ -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>
diff --git a/meson.build b/meson.build
index 1b7c7fe6..e4490d8c 100644
--- a/meson.build
+++ b/meson.build
@@ -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'))
diff --git a/scripts/version.txt b/scripts/version.txt
index 51bd8557..3f5e730f 100644
--- a/scripts/version.txt
+++ b/scripts/version.txt
@@ -1 +1 @@
-2.3.7 \ No newline at end of file
+2.3.8 \ No newline at end of file