Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | implemented templated test cases - relates #38 - for more information read ↵ | onqtam | 2017-05-16 |
| | | | | the parameterized-tests.md file | ||
* | making windows builds compile (linux still fail but its because of the ↵ | onqtam | 2017-05-16 |
| | | | | output being different due to some bug in the sorting of test cases) | ||
* | - fixed bug that was introduced in commit ↵ | onqtam | 2017-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 sorting | onqtam | 2017-05-16 |
| | |||
* | working on templated test cases - initial draft in the separate_headers ↵ | onqtam | 2017-05-16 |
| | | | | example - relates #38 | ||
* | formatting - finally got a hold of clang-format for VS 2017 - see this SO ↵ | onqtam | 2017-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 - ↵ | onqtam | 2017-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 ↵ | onqtam | 2017-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 - ↵ | onqtam | 2017-05-16 |
| | | | | WARN/CHECK/REQUIRE | ||
* | using a static assert instead of deleting/hiding the forbidden overload for ↵ | onqtam | 2017-05-16 |
| | | | | rvalues - relates #23 relates #48 | ||
* | For INFO() the operator<< captures not by const - this will reject ↵ | onqtam | 2017-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 - ↵ | onqtam | 2017-05-16 |
| | | | | relates #23 relates #48 | ||
* | fixing builds for MSVC versions older than 2015 (and silencing a conversion ↵ | onqtam | 2017-05-16 |
| | | | | warning for GCC 4.8) | ||
* | moving from references to pointers when using a forward-declared ↵ | onqtam | 2017-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 ↵ | onqtam | 2017-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 work | onqtam | 2017-05-16 |
| | | | | - added detection of deleted functions | ||
* | - added detection of rvalue reference support of compilers | onqtam | 2017-05-16 |
| | |||
* | fix gcc 4.4 build | onqtam | 2017-05-16 |
| | |||
* | - updated feature detection a bit | onqtam | 2017-05-16 |
| | | | | - updated docs | ||
* | - tiny code rework - getting ready for lazy stringification + removing ↵ | onqtam | 2017-05-16 |
| | | | | | | -Winline stuff for gcc 4.7 - updated roadmap | ||
* | fixing builds when exceptions are disabled but all asserts are used - ↵ | onqtam | 2017-05-16 |
| | | | | relates #58 | ||
* | Added support for un-parenthesized expressions containing commas in asserts ↵ | onqtam | 2017-05-16 |
| | | | | - fixed #58 | ||
* | Add ability to filter subcases with filters - fixes #57 | onqtam | 2017-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 #12 | onqtam | 2017-05-16 |
| | |||
* | - fixed builds with -fno-exceptions - relates #12 | onqtam | 2017-05-16 |
| | | | | - added builds with -fno-exceptions to travis CI | ||
* | - Added option to query if code is being ran inside of a test - ↵ | onqtam | 2017-05-16 |
| | | | | | | | doctest::isRunningInTest() - relates #56 - updated copyright years - minor code rework | ||
* | - exported a forgotten symbol - relates #55 | onqtam | 2017-05-16 |
| | | | | - updated docs a bit | ||
* | fixing clang builds on CI | onqtam | 2017-05-16 |
| | |||
* | changed a bit the text for exception reporting - relates #12 | onqtam | 2017-05-16 |
| | |||
* | implemented translation of exceptions in asserts - relates #12 | onqtam | 2017-05-16 |
| | |||
* | - initial version of exception translation - for when a test case throws - ↵ | onqtam | 2017-05-16 |
| | | | | | | relates #12 - exception translators can be registered with REGISTER_EXCEPTION_TRANSLATOR | ||
* | reused warning silencing code for making anonymous global static in dummy vars | onqtam | 2017-05-16 |
| | |||
* | updated license year | onqtam | 2017-05-16 |
| | |||
* | shuffled code a bit - less stuff in the fwd part | onqtam | 2017-05-16 |
| | |||
* | added --no-line-numbers=<bool> - Line numbers are replaced with ```0``` in ↵ | onqtam | 2017-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 ↵ | onqtam | 2017-05-16 |
| | | | | TEST_SUITE_BEGIN | ||
* | forgot to export a global function - because written inside of the class as ↵ | onqtam | 2017-05-16 |
| | | | | a friend... relates #55 | ||
* | tiny rework - making the export/import defines always usable - even when not ↵ | onqtam | 2017-05-16 |
| | | | | dealing with DOCTEST_CONFIG_IMPLEMENTATION_IN_DLL | ||
* | fixed #55 - Ability for a binary (executable / shared object) to use the ↵ | onqtam | 2017-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 #52 | onqtam | 2017-05-16 |
| | |||
* | bumped version | onqtam | 2017-02-18 |
| | |||
* | added --force-colors option - so even when no tty is detected the output ↵ | onqtam | 2017-02-18 |
| | | | | gets colored - related to #50 | ||
* | fixed #49 - Issue with using lambdas in tests in gcc | onqtam | 2017-02-18 |
| | |||
* | finalized work on the no exceptions mode | onqtam | 2017-02-18 |
| | |||
* | Added exception handling | Elias Kosunen | 2016-12-21 |
| | |||
* | - updated docs a bit | onqtam | 2016-11-15 |
| | | | | - version bump to 1.1.3 | ||
* | - added the ability to compile code with assertions that need exceptions ↵ | onqtam | 2016-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 ↵ | onqtam | 2016-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 ↵ | onqtam | 2016-11-08 |
| | | | | change the output don't need to recommit new reference output | ||
* | fixed #42 - no warnings with clang in c++11 mode | onqtam | 2016-10-10 |
| |