diff options
author | onqtam <vik.kirilov@gmail.com> | 2018-02-07 00:34:14 +0300 |
---|---|---|
committer | onqtam <vik.kirilov@gmail.com> | 2018-02-07 00:35:15 +0300 |
commit | 8cec9171c05502b608c8f810707122a9366c122d (patch) | |
tree | 518393489c560df907d841b575c9af3927158040 | |
parent | fd00d4c9e5147f6e431a4503cbb3587d09347f46 (diff) |
version 1.2.7
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | doc/html_generated/build-systems.html | 2 | ||||
-rw-r--r-- | doc/html_generated/faq.html | 2 | ||||
-rw-r--r-- | doc/html_generated/roadmap.html | 5 | ||||
-rw-r--r-- | doctest/doctest.h | 4 | ||||
-rw-r--r-- | doctest/parts/doctest_fwd.h | 4 | ||||
-rw-r--r-- | examples/all_features/test_output/version.txt | 2 | ||||
-rw-r--r-- | scripts/version.txt | 2 |
8 files changed, 15 insertions, 8 deletions
@@ -82,7 +82,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/Jcmj4Eqb7IeFgIZr) +[![Try it online](https://img.shields.io/badge/try%20it-online-orange.svg)](https://wandbox.org/permlink/YSid52GI4qMDFvs1) <!-- [![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/build-systems.html b/doc/html_generated/build-systems.html index 2d10c3d6..fe12a8e4 100644 --- a/doc/html_generated/build-systems.html +++ b/doc/html_generated/build-systems.html @@ -75,6 +75,8 @@ target_link_libraries(my_tests doctest) - vcpkg - hunter - conan + - https://bintray.com/bincrafters/public-conan/doctest:bincrafters + - https://bintray.com/mmha/conan/doctest%3Ammha --- diff --git a/doc/html_generated/faq.html b/doc/html_generated/faq.html index 1f260e16..56d5764c 100644 --- a/doc/html_generated/faq.html +++ b/doc/html_generated/faq.html @@ -119,6 +119,8 @@ It doesn't work in 2 scenarios: You can also checkout this repository for a different solution: [**pthom/doctest_registerlibrary**](https://github.com/pthom/doctest_registerlibrary). +A compiler-specific solution for MSVC is to use the [```/OPT:NOREF```](https://msdn.microsoft.com/en-us/library/bxwfs976.aspx) linker flag (thanks to [lectem](https://github.com/Lectem) for [reporting](https://github.com/onqtam/doctest/issues/106) it!) + ### Why is comparing C strings (```char*```) actually comparing pointers? **doctest** by default treats ```char*``` as normal pointers. Using the [**```DOCTEST_CONFIG_TREAT_CHAR_STAR_AS_STRING```**](configuration.html#doctest_config_treat_char_star_as_string) changes that. diff --git a/doc/html_generated/roadmap.html b/doc/html_generated/roadmap.html index 51ac77bc..6b00f87c 100644 --- a/doc/html_generated/roadmap.html +++ b/doc/html_generated/roadmap.html @@ -32,6 +32,8 @@ Planned features for future releases - order changes constantly... - Value-Parameterized test cases - generators? - look at Catch - and investigate what they are - proper conan package + - https://github.com/onqtam/doctest/issues/103 + - https://github.com/bincrafters/conan-doctest - https://github.com/uilianries/conan-catch - https://github.com/philsquared/Catch/pull/938 - https://stackoverflow.com/questions/40311363/conan-io-header-only-package @@ -67,7 +69,7 @@ Planned features for future releases - order changes constantly... - [symbolizer](https://github.com/facebook/folly/tree/master/folly/experimental/symbolizer) - for a stack trace - when an assertion fails - and it's in a user function with some deep callstack away from the current test case - how to know the exact code path that lead to the failing assert - ability to make the framework not capture unexpected exceptions - as requested [here](https://github.com/onqtam/doctest/issues/12#issuecomment-235334585) - add Approx ability to compare with absolute epsilon - [Catch PR](https://github.com/philsquared/Catch/pull/538) -- ability to customize the colors in the console output (may also use styles - based on [this](https://github.com/agauniyal/rang)) +- ability to customize the colors in the console output (may also use styles - based on [this](https://github.com/agauniyal/rang) or [this](https://github.com/ikalnytskyi/termcolor)) - implement breaking into the debugger under linux - see [here](https://github.com/philsquared/Catch/pull/585) and [here](https://github.com/scottt/debugbreak) - better testing of the library - unit test the String class @@ -110,6 +112,7 @@ Planned features for future releases - order changes constantly... - checkpoint/passpoint - like in [boost test](http://www.boost.org/doc/libs/1_63_0/libs/test/doc/html/boost_test/test_output/test_tools_support_for_logging/checkpoints.html) (also make all assert/subcase/logging macros to act as passpoints and print the last one on crashes or exceptions) - queries for the current test case - name (and probably decorators) - thread safety - asserts/subcases/captures should be safe to be used by multiple threads simultaneously + - https://github.com/blastrock/doctest/tree/threadsafe - support for running tests in parallel in multiple threads - death tests - as in [google test](https://github.com/google/googletest/blob/master/googletest/docs/AdvancedGuide.html#death-tests) - config options diff --git a/doctest/doctest.h b/doctest/doctest.h index 57e59059..9373570d 100644 --- a/doctest/doctest.h +++ b/doctest/doctest.h @@ -53,8 +53,8 @@ #define DOCTEST_VERSION_MAJOR 1 #define DOCTEST_VERSION_MINOR 2 -#define DOCTEST_VERSION_PATCH 6 -#define DOCTEST_VERSION_STR "1.2.6" +#define DOCTEST_VERSION_PATCH 7 +#define DOCTEST_VERSION_STR "1.2.7" #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 2b15b37f..4f6c1c77 100644 --- a/doctest/parts/doctest_fwd.h +++ b/doctest/parts/doctest_fwd.h @@ -50,8 +50,8 @@ #define DOCTEST_VERSION_MAJOR 1 #define DOCTEST_VERSION_MINOR 2 -#define DOCTEST_VERSION_PATCH 6 -#define DOCTEST_VERSION_STR "1.2.6" +#define DOCTEST_VERSION_PATCH 7 +#define DOCTEST_VERSION_STR "1.2.7" #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 c7b3f4a0..5b3bcd31 100644 --- a/examples/all_features/test_output/version.txt +++ b/examples/all_features/test_output/version.txt @@ -1 +1 @@ -[doctest] doctest version is "1.2.6" +[doctest] doctest version is "1.2.7" diff --git a/scripts/version.txt b/scripts/version.txt index 7e099ec5..a77d7d92 100644 --- a/scripts/version.txt +++ b/scripts/version.txt @@ -1 +1 @@ -1.2.6
\ No newline at end of file +1.2.7
\ No newline at end of file |