summaryrefslogtreecommitdiff
path: root/doctest
Commit message (Collapse)AuthorAge
* implemented templated test cases - relates #38 - for more information read ↵onqtam2017-05-16
| | | | the parameterized-tests.md file
* making windows builds compile (linux still fail but its because of the ↵onqtam2017-05-16
| | | | output being different due to some bug in the sorting of test cases)
* - fixed bug that was introduced in commit ↵onqtam2017-05-16
| | | | | | 0b0b82f1728f65075724b41aca83c62834978d44 - should have made these changes in a separate commit for easier testing - regenerated test output so the tests pass
* fixed name of argument for sortingonqtam2017-05-16
|
* working on templated test cases - initial draft in the separate_headers ↵onqtam2017-05-16
| | | | example - relates #38
* formatting - finally got a hold of clang-format for VS 2017 - see this SO ↵onqtam2017-05-16
| | | | thread: http://stackoverflow.com/questions/42955863/clang-format-plugin-for-visual-studio-2017
* added _MESSAGE forms of normal asserts and exception-related asserts - ↵onqtam2017-05-16
| | | | | | relates #23 relates #48 Basically these are just a paired INFO() with an ASSERT() inside of a code block - { INFO(msg); CHECK(expr); }
* Added API for reporting failures - MESSAGE() / FAIL_CHECK() / FAIL() (like ↵onqtam2017-05-16
| | | | warn/check/require) and the appropriate ADD_<LEVEL>_AT macros for integration with mocking frameworks and other third party - fixes #9
* changed a bit the message for the 3 different levels of failures - ↵onqtam2017-05-16
| | | | WARN/CHECK/REQUIRE
* using a static assert instead of deleting/hiding the forbidden overload for ↵onqtam2017-05-16
| | | | rvalues - relates #23 relates #48
* For INFO() the operator<< captures not by const - this will reject ↵onqtam2017-05-16
| | | | temporaries even in C++98 (but compilation error messages will be horrible) - relates #23 relates #48
* now capturing C string literals with INFO() will treat them as strings - ↵onqtam2017-05-16
| | | | relates #23 relates #48
* fixing builds for MSVC versions older than 2015 (and silencing a conversion ↵onqtam2017-05-16
| | | | warning for GCC 4.8)
* moving from references to pointers when using a forward-declared ↵onqtam2017-05-16
| | | | std::ostream - trying to fix builds for VS 2008/2010/2012/2013 - oddly enough 2015/2017 pass (also all gcc/clang versions under linux/osx pass as well...) - relates #23 relates #48
* added INFO() and CAPTURE() logging macros - they can log variables and ↵onqtam2017-05-16
| | | | construct a message which gets printed only when an assert in the same scope (or in a nested one) after them fails. They use lazy stringification and the stack to avoid heap allocations and unnecessary string construction for the common case where no asserts fail. fixes #48 fixes #23
* - added simplified example of how captures workonqtam2017-05-16
| | | | - added detection of deleted functions
* - added detection of rvalue reference support of compilersonqtam2017-05-16
|
* fix gcc 4.4 buildonqtam2017-05-16
|
* - updated feature detection a bitonqtam2017-05-16
| | | | - updated docs
* - tiny code rework - getting ready for lazy stringification + removing ↵onqtam2017-05-16
| | | | | | -Winline stuff for gcc 4.7 - updated roadmap
* fixing builds when exceptions are disabled but all asserts are used - ↵onqtam2017-05-16
| | | | relates #58
* Added support for un-parenthesized expressions containing commas in asserts ↵onqtam2017-05-16
| | | | - fixed #58
* Add ability to filter subcases with filters - fixes #57onqtam2017-05-16
| | | | | - the filters are "--subcase=" and "--subcase-exclude=" - there is also the option "--subcase-filter-levels=<int>" which affects which levels of nested subcases should check the filters
* builds with -fno-exceptions should pass now - relates #12onqtam2017-05-16
|
* - fixed builds with -fno-exceptions - relates #12onqtam2017-05-16
| | | | - added builds with -fno-exceptions to travis CI
* - Added option to query if code is being ran inside of a test - ↵onqtam2017-05-16
| | | | | | | doctest::isRunningInTest() - relates #56 - updated copyright years - minor code rework
* - exported a forgotten symbol - relates #55onqtam2017-05-16
| | | | - updated docs a bit
* fixing clang builds on CIonqtam2017-05-16
|
* changed a bit the text for exception reporting - relates #12onqtam2017-05-16
|
* implemented translation of exceptions in asserts - relates #12onqtam2017-05-16
|
* - initial version of exception translation - for when a test case throws - ↵onqtam2017-05-16
| | | | | | relates #12 - exception translators can be registered with REGISTER_EXCEPTION_TRANSLATOR
* reused warning silencing code for making anonymous global static in dummy varsonqtam2017-05-16
|
* updated license yearonqtam2017-05-16
|
* shuffled code a bit - less stuff in the fwd partonqtam2017-05-16
|
* added --no-line-numbers=<bool> - Line numbers are replaced with ```0``` in ↵onqtam2017-05-16
| | | | the output when a source location is printed - useful if you want the same output from the testing framework even when test positions change within a source file
* fixed #41 - !!! BREAKING CHANGE !!! - Make TEST_SUITE work with bodies, add ↵onqtam2017-05-16
| | | | TEST_SUITE_BEGIN
* forgot to export a global function - because written inside of the class as ↵onqtam2017-05-16
| | | | a friend... relates #55
* tiny rework - making the export/import defines always usable - even when not ↵onqtam2017-05-16
| | | | dealing with DOCTEST_CONFIG_IMPLEMENTATION_IN_DLL
* fixed #55 - Ability for a binary (executable / shared object) to use the ↵onqtam2017-05-16
| | | | | | test runner implementation of another binary - with exported symbols - so tests end up in a single registry - checkout the DOCTEST_CONFIG_IMPLEMENTATION_IN_DLL config identifier in the documentation.
* added the rest of the relational operators to Approx - fixes #52onqtam2017-05-16
|
* bumped versiononqtam2017-02-18
|
* added --force-colors option - so even when no tty is detected the output ↵onqtam2017-02-18
| | | | gets colored - related to #50
* fixed #49 - Issue with using lambdas in tests in gcconqtam2017-02-18
|
* finalized work on the no exceptions modeonqtam2017-02-18
|
* Added exception handlingElias Kosunen2016-12-21
|
* - updated docs a bitonqtam2016-11-15
| | | | - version bump to 1.1.3
* - added the ability to compile code with assertions that need exceptions ↵onqtam2016-11-15
| | | | | | | | even without exceptions - see the use of DOCTEST_CONFIG_NO_EXCEPTIONS_BUT_WITH_ALL_ASSERTS - added clang 3.9 to build matrix relates #44
* introduced the DOCTEST_CONFIG_NO_EXCEPTIONS and ↵onqtam2016-11-08
| | | | | | DOCTEST_CONFIG_NO_TRY_CATCH_IN_ASSERTS config identifiers fixes #44
* removed the version from the reference output - so releases that don't ↵onqtam2016-11-08
| | | | change the output don't need to recommit new reference output
* fixed #42 - no warnings with clang in c++11 modeonqtam2016-10-10
|