Change Log
2.3.2 (2019-05-06)
Full Changelog
Closed issues:
- scripts/bench/run_all.py : module 'urllib' has no attribute 'urlretrieve' #230
- wrong set of tests registered with TEST_CASE_TEMPLATE get executed #228
- Logging not Working for me #227
- Link test runner executable into dll? #226
- Linking issue for executables after including doctest in library #224
- Strange REQUIRE_THROWS behaviour #223
- Windows clang-cl Wunused-variable warning #221
- Update doctest 2.3.1 in bincrafters #220
- make install, on 64 bit, installs cmake files into lib instead of lib64 folder #218
- TSAN: data race related to hasLoggedCurrentTestStart #217
- REQUIRE_THROWS_AS does not support class constructors #216
- Build failure on clang 7.0.1 on Fedora 29 #214
- add example compatible with -> https://github.com/report-ci/ #212
- No DOCTEST_WITH_TESTS? #211
Merged pull requests:
- Added meson file, to declare a dependency. #232 (jormundgand)
- Explicitly specify the doctest_with_main C++ standard in CMake. #231 (DaanDeMeyer)
- Remove architecture check from CMake package #225 (mmha)
- add default install prefix #219 (a4z)
- [regression] Workaround MSVC preprocessor issue triggered by REQUIRE_THROWS #213 (zhihaoy)
2.3.1 (2019-03-24)
Full Changelog
Closed issues:
- CMake config deletes doctest.h on clean #210
Merged pull requests:
- Add two very simple examples of using doctest with CMake #209 (pr0g)
2.3.0 (2019-03-23)
Full Changelog
Closed issues:
- Compilation with emscripten fails by default because of signal handling #207
- Compilation fails with cl.exe /Zc:wchar_t- #206
- Parallel invocation of doctest's own testsuite via CTest fails #202
- Get the number of passed/failed tests in the code #200
- Tests alongside code with multiple executables #199
- Cppcheck 1.86 warnings #198
- Compiling as Dll maybe is wrong #196
- Forward-declaring identifiers in std:: is UB - consider including some of the cheaper C/C++ stdlib headers #194
- QtCreator + clang warning about operator << precedence #191
- run test fixture from cli #190
- Installing doctest using cmake and make fails on Ubuntu 16.04 (C++11 is not used) #189
- c++17 requirement for testing private members #188
- [feature request] implement a user-extendable reporter system #138
- Same test runs multiple times when written in a header and included with different unnormalized paths #45
Merged pull requests:
- Fix unmatched bracket in DOCTEST_TEST_CASE_CLASS #204 (patstew)
- Template apply #203 (zhihaoy)
- No undefined behavior per C++ standard in detecting endianess. #195 (dimztimz)
- Fix propagating include directories of target doctest_with_main #193 (dimztimz)
- Move single header to a separate folder #187 (dimztimz)
- Fix Clang format to handle C++11 #186 (dimztimz)
- Rename doctest_impl.h to doctest.cpp for less confusion. #185 (dimztimz)
2.2.3 (2019-02-10)
Full Changelog
Closed issues:
- Calling convention needed on a few functions #182
- Terminal color is not reset when a test fails with some signal #122
- testing private members - ability to write test cases in class bodies #76
2.2.2 (2019-01-28)
Full Changelog
Closed issues:
- Add way to override getCurrentTicks() implementation #178
- Wrap <csignal> include with ifdef #177
- How to stop doctest hijack unhandled exceptions? #176
- Change the include path of the
doctest
CMake interface target so users need to specify the folder as well #175 - Reduce scope of DebugOutputWindowReporter instance #174
- Can logging (INFO) be used in helper class outside of TEST_CASE? #169
Merged pull requests:
2.2.1 (2019-01-15)
Full Changelog
Closed issues:
- the
--no-throw
option shouldn't affect \<LEVEL\>\_NOTHROW
asserts #173 - Make doctest work with XCode 6 and 7 (no support for C++11 thread_local) #172
- Print vector content. #170
- Conan package #103
- [feature request] Thread-safety for asserts and logging facilities #4
2.2.0 (2018-12-05)
Full Changelog
Closed issues:
- remove the FAST_ versions of the binary asserts (not a breaking change!) #167
- [compile times] make the DOCTEST_CONFIG_SUPER_FAST_ASSERTS identifier affect normal asserts too #166
2.1.0 (2018-11-30)
Full Changelog
Closed issues:
- doctest::String ctor with non-zero terminated string #165
- thread_local is not supported on iOS 9.0 #164
- Compiler error on Android NDK r18 #163
- [question] One setup for multiple tests #160
- clang unwanted warning in user code #156
- Unsigned integer overflow in fileOrderComparator #151
- ThreadSanitizer: signal-unsafe call inside of a signal #147
- Feature request: check for exception string (like Catch's CHECK_THROWS_WITH) #97
Merged pull requests:
- Fixed build error under Android NDK #162 (tals)
- Added clang-7 to travis build #161 (AMS21)
- Remove clang-tidy warnings for static fields created by doctest #159 (rantasub)
- Make it possible to change the command line options prefix #158 (tbleher)
2.0.1 (2018-10-24)
Full Changelog
Closed issues:
- macro name collision with google log #157
- Add #define to not run tests by default #152
- REQUIRE_THROWS_MESSAGE not checking message correctly #150
- Test case passes even though subcase failed #149
Merged pull requests:
- Correctly document when a main() entry point will be created #155 (tbleher)
- Correct format string for unsigned char #154 (tbleher)
2.0.0 (2018-08-23)
Full Changelog
Closed issues:
- MSVC 2017 15.8.1, New Warnings as Errors #144
- Windows clang-cl Wdeprecated-declarations warnings #143
- Logo Proposal for Doctest #141
- PCH Support #140
- improve compile times even further #139
- !!! BREAKING CHANGE !!! - Move to C++11 for next version of the library #137
- getCurrentTicks producing warning on MinGW #133
- [enhancement] Add support for "stand-alone assertions". #114
Merged pull requests:
- Suppress compiler warning on MinGW #134 (AMS21)
1.2.9 (2018-05-10)
Full Changelog
Closed issues:
- GCC 8.0 std::uncaught_exception() is deprecated #130
- Signal stack size too small on Linux #129
- Support Intel Compiler #128
- Please add support for MSVC 2005 #127
- Doctest is not able to compile on OSX #126
- scan-build report "Dereference of null pointer" for function wildcmp #124
- !!! BREAKING CHANGE (console output only) !!! - Emulate the error/warning format emitted by native compiler gcc/clang/msvc when printing test failures in the log #123
- ARM builds: FTBFS on armhf - error: cast from 'const char*' to 'const #118
Merged pull requests:
- Exclude Intel from GCC compiler check #132 (smcallis)
- Fix deprecated-declarations warning with GCC-8.0 #131 (AMS21)
1.2.8 (2018-03-10)
Full Changelog
Closed issues:
- ARM64 builds: templated_test_cases.cpp test fails #119
1.2.7 (2018-02-06)
Full Changelog
Closed issues:
- MSan has runtime error: unsigned integer overflow #116
- clang-tidy warning about cert-err58-cpp #115
- Linking errors #113
- inlining function defs #111
- Nullptr issue. #110
- MemorySanitizer: use-of-uninitialized-value #109
- Potential memory leak through scan-build #108
- Warnings raised to error with lastest MSVC version #107
- New solution for tests in static libraries ! (MSVC) #106
- Command line flags do not work after code formatter/beautifier #104
- Cppcheck 1.81 warnings #102
Merged pull requests:
- Fix macros WIN32_LEAN_AND_MEAN typo #112 (vladimirgamalyan)
- Correct DOCTEST_NO_INSTALL logic; do install unless it is set (#99) #100 (onqtam)
- Correct DOCTEST_NO_INSTALL logic; do install unless it is set #99 (OdyX)
1.2.6 (2017-10-29)
Full Changelog
Closed issues:
- [bug] writing an exception translator in a header file results in it being registered multiple times which is suboptimal #98
- Warnings when using something more than /W4 for Visual Studio #95
Merged pull requests:
- Added an option to not install Doctest in the CMake scripts #96 (NeverMine17)
- Adding a defensive check against a null pointer for the current test suite #94 (Lectem)
- Remove incomplete copy ctor #93 (McMartin)
1.2.5 (2017-10-06)
Full Changelog
Closed issues:
- Xcode 9 / clang - unknown warning group #92
1.2.4 (2017-09-20)
Full Changelog
Closed issues:
- [bug] test cases can end up in the wrong test suite #91
1.2.3 (2017-09-11)
Full Changelog
Closed issues:
- [bug] Defining a variable T inside a test with DOCTEST_CONFIG_DISABLE defined does not compile #90
- [support] Using
DOCTEST\_CONFIG\_NO\_SHORT\_MACRO\_NAMES
does not compile using g++ 6.3.0 #89 - [question] Why are SUBCASEs executed only once when within a function called multiple times? #88
1.2.2 (2017-09-05)
Full Changelog
Closed issues:
- [question] Differences between doctest and googletest (gtest) for uninitialised local variables in test cases #86
- !!! BREAKING CHANGE !!! - remove the custom implementation of std::is_constructible and optionally use the <type_traits> header because of infinite template recursion issues with GCC #85
- Static Analysis results of doctest #83
- !!! BREAKING CHANGE !!! - catch exceptions as const reference in <LEVEL>_THROWS_AS #81
- doctest implementation as static library #77
- Provide some easy way to compare structs containing float/doubles #73
Merged pull requests:
1.2.1 (2017-05-24)
Full Changelog
Closed issues:
- Compile error under MSVC 2015/2017 if <thread> included in same file as "doctest.h" #72
Merged pull requests:
- docs: TEST_CASE_METHOD -> TEST_CASE_FIXTURE #71 (akrzemi1)
1.2.0 (2017-05-15)
Full Changelog
Closed issues:
- Further improvements on compile time - disable inlining of functions used in asserts #70
- Improve runtime performance - lazy stringification, more inlining, no statics on the hot path, move semantics for classes such as doctest::String which are used by value, etc. #69
- Add option to show duration of test case execution and add a timeout(seconds) decorator - marking them as failed if they exceed it #68
- Add support for test case decorators - label, description, skip, may_fail, should_fail, expected_failures, etc. #67
- Integrate static analysis into the CI builds #66
- Print the test suite name on test case failure #65
- Add signal handlers to handle crashes (and use SEH under Windows) - report which test case failed #63
- Add support to Approx for strong typedefs of double #62
- [question] Is there a way to always have 0 as the exit code regardless of test results? #59
- Add support for un-parenthesized expressions containing commas in asserts #58
- Add ability to filter subcases with filters #57
- Add option to query if code is being ran inside of a test - doctest::is_running_in_test #56
- Ability for a binary (executable / shared object) to use the test runner implementation of another binary - with exported symbols - so tests end up in a single registry #55
- How to force the use of colors in the terminal? #54
- How can I mix production code with the Unit Tests? #53
- add <= and >= operators to Approx (and also maybe < and >) #52
- Add ability to capture variables from test scope #48
- !!! BREAKING CHANGE !!! - Make TEST_SUITE work with blocks and add TEST_SUITE_BEGIN #41
- Add option to print which test suites/cases are run #39
- Add support for templated test cases - parameterized by type #38
- Add custom failure messages with lazy stringification #23
- Add an exception translation mechanism + the ability for users to extend it with custom exception types #12
- Add API for reporting failures #9
Merged pull requests:
1.1.4 (2017-02-18)
Full Changelog
Closed issues:
- Add option --force-colors - for when a tty is not detected for stdout #51
- Issue with using lambdas in tests in gcc #49
- Add the include file to releases #47
Merged pull requests:
- Add translation of std::exception for exceptions that terminate a test case #46 (eliaskosunen)
1.1.3 (2016-11-15)
Full Changelog
Closed issues:
- Exception handlers cause warnings when exceptions are disabled #44
1.1.2 (2016-10-10)
Full Changelog
Closed issues:
- clang warnings when using C++11 or newer #42
- [support] identical names for test suites? #40
1.1.1 (2016-09-22)
Full Changelog
1.1.0 (2016-09-21)
Full Changelog
Closed issues:
- char* comparison uses the contents, not the pointer #36
- add configuration preprocessor identifier for passing by value in assertions instead of by reference #35
- restrict expressions in assertion macros to binary comparisons at most with a static assert #34
- Add clearFilters() to doctest::Context #33
- A way to refrain from polluting “#define” space for users of tested code? #32
- drop VC++6 support #31
- False positive test #30
- Turn off coloring after tests are finished? #28
- C++11 nullptr #27
- Only one SUBCASE per line is executed #25
- creative formatting of chars #24
- DOCTEST_BREAK_INTO_DEBUGGER undefined under OSX #22
- Tests inside a static library #21
- Add example how to remove doctest options from the command line for the program after the tests run #20
- Single-letter options active even without leading '-' (dash) #19
- pointer stringification not working for compilers different from MSVC #18
- Tests that accompany code run and produce output at default #17
- GCC 5.3.1 Compiler warning: sign compare #16
- Slower than Catch in realistic test cases #14
- Rename doctest::detail::Result res; in DOCTEST_ASSERT_IMPLEMENT #10
- No red when all tests pass #7
- UNIX line feedings on GitHub please #6
Merged pull requests:
1.0.0 (2016-05-22)
Merged pull requests:
- Reduce the header size for test users #3 (zah)
- Add a Gitter chat badge to README.md #1 (gitter-badger)
* This Change Log was automatically generated by github_changelog_generator