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>2019-02-10 14:37:42 +0300
committeronqtam <vik.kirilov@gmail.com>2019-02-10 14:37:42 +0300
commit935e52ceadb96f6425799f10304a3fa9724958e9 (patch)
treeabafcd3c10815192e738686c462736c05eddc5bb
parent2d36c236563cb39e64a76255372cc391deba0d51 (diff)
version 2.2.3
-rw-r--r--README.md2
-rw-r--r--doc/html_generated/testcases.html8
-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--scripts/version.txt2
6 files changed, 11 insertions, 11 deletions
diff --git a/README.md b/README.md
index 28a19d91..a0be4968 100644
--- a/README.md
+++ b/README.md
@@ -84,7 +84,7 @@ The framework can be used like any other if you don't want/need to mix productio
[![download](https://img.shields.io/badge/download%20%20-latest-blue.svg)](https://raw.githubusercontent.com/onqtam/doctest/master/doctest/doctest.h)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/503/badge)](https://bestpractices.coreinfrastructure.org/projects/503)
[![Join the chat at https://gitter.im/onqtam/doctest](https://badges.gitter.im/onqtam/doctest.svg)](https://gitter.im/onqtam/doctest?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
-[![Try it online](https://img.shields.io/badge/try%20it-online-orange.svg)](https://wandbox.org/permlink/xOea0qDYZilNizZz)
+[![Try it online](https://img.shields.io/badge/try%20it-online-orange.svg)](https://wandbox.org/permlink/nRXesFZUIjiLBQa6)
<!--
[![Language](https://img.shields.io/badge/language-C++-blue.svg)](https://isocpp.org/)
[![documentation](https://img.shields.io/badge/documentation%20%20-online-blue.svg)](https://github.com/onqtam/doctest/blob/master/doc/markdown/readme.md#reference)
diff --git a/doc/html_generated/testcases.html b/doc/html_generated/testcases.html
index 267bc6e9..25b260a6 100644
--- a/doc/html_generated/testcases.html
+++ b/doc/html_generated/testcases.html
@@ -5,7 +5,7 @@
## Test cases
-While **doctest** fully supports the traditional, xUnit, style of class-based fixtures containing test case methods this is not the preferred style. Instead **doctest** provides a powerful mechanism for nesting subcases within a test case. For a more detailed discussion see the [**tutorial**](tutorial.html#test-cases-and-subcases).
+While **doctest** fully supports the traditional, xUnit, style of class-based fixtures containing test case methods this is not the preferred style. Instead **doctest** provides a powerful mechanism for nesting subcases within a test case. For a more detailed discussion and examples see the [**tutorial**](tutorial.html#test-cases-and-subcases).
Test cases and subcases are very easy to use in practice:
@@ -14,11 +14,11 @@ Test cases and subcases are very easy to use in practice:
_test name_ and _subcase name_ are free form, quoted, strings. Test names don't have to be unique within the **doctest** executable. They should also be string literals.
-Keep in mind that even though **doctest** is [**thread-safe**](faq.html#is-doctest-thread-aware) - using subcases has to be done only in the main test runner thread.
+It is possible to write test cases inside of class bodies in C++17 with the help of ```TEST_CASE_CLASS()``` - used just like ```TEST_CASE()``` - making testing private parts of classes easier.
-For examples see the [Tutorial](tutorial.html)
+Keep in mind that even though **doctest** is [**thread-safe**](faq.html#is-doctest-thread-aware) - using subcases has to be done only in the main test runner thread.
-Test cases can also be parameterized - see the [documentation](parameterized-tests.html)
+Test cases can also be parameterized - see the [**documentation**](parameterized-tests.html)
Test cases and subcases can be filtered through the use of the [**command line**](commandline.html)
diff --git a/doctest/doctest.h b/doctest/doctest.h
index 03145c00..45db3114 100644
--- a/doctest/doctest.h
+++ b/doctest/doctest.h
@@ -47,8 +47,8 @@
#define DOCTEST_VERSION_MAJOR 2
#define DOCTEST_VERSION_MINOR 2
-#define DOCTEST_VERSION_PATCH 2
-#define DOCTEST_VERSION_STR "2.2.2"
+#define DOCTEST_VERSION_PATCH 3
+#define DOCTEST_VERSION_STR "2.2.3"
#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 4ecb0171..23189379 100644
--- a/doctest/parts/doctest_fwd.h
+++ b/doctest/parts/doctest_fwd.h
@@ -44,8 +44,8 @@
#define DOCTEST_VERSION_MAJOR 2
#define DOCTEST_VERSION_MINOR 2
-#define DOCTEST_VERSION_PATCH 2
-#define DOCTEST_VERSION_STR "2.2.2"
+#define DOCTEST_VERSION_PATCH 3
+#define DOCTEST_VERSION_STR "2.2.3"
#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 b7804623..fd81b480 100644
--- a/examples/all_features/test_output/version.txt
+++ b/examples/all_features/test_output/version.txt
@@ -1 +1 @@
-[doctest] doctest version is "2.2.2"
+[doctest] doctest version is "2.2.3"
diff --git a/scripts/version.txt b/scripts/version.txt
index 7e541aec..6b4d1577 100644
--- a/scripts/version.txt
+++ b/scripts/version.txt
@@ -1 +1 @@
-2.2.2 \ No newline at end of file
+2.2.3 \ No newline at end of file