017a63d | Martin Hořeňovský | 15 June 2017, 11:08:26 UTC | v1.9.5 | 15 June 2017, 11:08:26 UTC |
b90d0b7 | Martin Hořeňovský | 15 June 2017, 09:43:31 UTC | Disable deprecation warning of std::uncaught_exception We might prefer to use `std::uncaught_exceptions` in the future, but I would prefer not to bring in more configuration into Catch Classic Closes #927 | 15 June 2017, 09:43:31 UTC |
efba988 | Martin Hořeňovský | 13 June 2017, 16:20:59 UTC | Fix how GCC version is detected when checking for __COUNTER__ Fixes #928 | 13 June 2017, 16:20:59 UTC |
004228e | Phil Nash | 11 June 2017, 22:06:38 UTC | Merge pull request #855 from kainjow/objc-tostring-link Fix Catch::toString() linker error when main() is compiled as C++ | 11 June 2017, 22:06:38 UTC |
e0aaba6 | Martin Hořeňovský | 06 June 2017, 14:46:46 UTC | Actually link #923 from the documentation | 06 June 2017, 14:46:46 UTC |
a09bef2 | Martin Hořeňovský | 06 June 2017, 14:43:14 UTC | Refer to #923 in reporter documentation | 06 June 2017, 14:43:14 UTC |
3e018ef | Martin Hořeňovský | 04 June 2017, 10:17:59 UTC | Add link to external gcov/lcov example to documentation An alternate take on #916, that better slots into the existing documentation. Closes #916 | 04 June 2017, 10:17:59 UTC |
adb66f5 | Martin Hořeňovský | 02 June 2017, 17:10:57 UTC | Don't include warning headers from catch_xmlwriter.hpp This prevents Catch from disabling `Wpadded` for Clang inside test files (files that do not define either `CATCH_CONFIG_MAIN` or `CATCH_CONFIG_RUNNER`). catch_suppress_warnings.h and catch_reenable_warnings.h should be included only once*, so that the stitching script includes them as the first and last header respectively, since it only includes each header once. This caused a bug, where the first one was included properly, but the second one was included prematurely, from catch_xmlwriter.hpp, and thus was guarded by `CATCH_IMPL`. * At least until the stitching script is changed to accomodate common warning disabling header. Fixes #871 | 02 June 2017, 17:10:57 UTC |
377c9a7 | Martin Hořeňovský | 27 May 2017, 12:42:54 UTC | Cosmetic fixes (whitespace and spelling) | 27 May 2017, 12:42:54 UTC |
ea48ae0 | Martin Hořeňovský | 27 May 2017, 12:42:05 UTC | Add test for #914 (stringify truthy exprs in standard way) | 27 May 2017, 12:42:05 UTC |
2d1739b | twhittock | 27 May 2017, 12:09:44 UTC | ExpressionLhs reconstruction based on value, not truthiness (#914) Types which are truthy, but have more information than the truthiness in their string conversion were showing up as 'true' or 'false' instead of showing the underlying type's string value. | 27 May 2017, 12:09:43 UTC |
1c59034 | Martin Hořeňovský | 27 May 2017, 11:52:55 UTC | Merge pull request #911 from dvirtz/master CTest integration script enhancements | 27 May 2017, 11:52:55 UTC |
52a8478 | Martin Hořeňovský | 27 May 2017, 10:23:35 UTC | Add Inscopix to commercial users Closes #918 | 27 May 2017, 10:23:35 UTC |
3e328f5 | Martin Hořeňovský | 21 May 2017, 09:17:25 UTC | Merge pull request #913 from Carrotstrip/master fixed spelling error in tutorial.md | 21 May 2017, 09:17:25 UTC |
b18e675 | Austin L Wolfgram | 20 May 2017, 19:10:42 UTC | fixed spelling error | 20 May 2017, 19:10:42 UTC |
4b086bd | dvirtz | 18 May 2017, 13:00:18 UTC | added target name to test name and labels | 18 May 2017, 13:00:18 UTC |
aac594a | dvirtz | 18 May 2017, 12:53:35 UTC | add option to print debug messages | 18 May 2017, 12:53:35 UTC |
a49fa0e | dvirtz | 18 May 2017, 12:51:44 UTC | use absolute path to test files - accroding to CMake docs EXISTS behavior is well-defined only for full paths. | 18 May 2017, 12:51:44 UTC |
d271683 | Martin Hořeňovský | 16 May 2017, 19:33:58 UTC | Added release process notes/checklist/explanation | 16 May 2017, 19:33:58 UTC |
0bb8e12 | Martin Hořeňovský | 16 May 2017, 14:09:51 UTC | Merge branch 'master' of https://github.com/awglyde/Catch | 16 May 2017, 14:09:51 UTC |
32d97ca | Martin Hořeňovský | 16 May 2017, 13:45:44 UTC | Fixed missing ` in tag documentation | 16 May 2017, 13:45:44 UTC |
bc93b29 | Martin Hořeňovský | 16 May 2017, 13:28:53 UTC | Expanded tag documentation It now mentions that most characters are valid as part of tag and other details. Closes #909 | 16 May 2017, 13:28:53 UTC |
df5cf2d | Martin Hořeňovský | 16 May 2017, 12:34:55 UTC | Minor fixup in updateVcpkgPackage.py | 16 May 2017, 12:34:55 UTC |
b62c025 | Martin Hořeňovský | 16 May 2017, 12:34:27 UTC | Merge branch 'master' of https://github.com/philsquared/Catch | 16 May 2017, 12:34:27 UTC |
1ea84cb | Martin Hořeňovský | 16 May 2017, 12:34:20 UTC | Expanded logging documentation Closes #884 | 16 May 2017, 12:34:20 UTC |
2a5d373 | Martin Hořeňovský | 16 May 2017, 12:05:31 UTC | Merge pull request #908 from pJunger/patch-1 Typo: Added namespace in method testCaseEnded | 16 May 2017, 12:05:31 UTC |
3dcc923 | Martin Hořeňovský | 16 May 2017, 11:59:29 UTC | v1.9.4 | 16 May 2017, 11:59:29 UTC |
589c400 | Martin Hořeňovský | 16 May 2017, 11:49:53 UTC | Typo fix Somehow I made that in 5ffc8a84cda91b5da037a923480236450f7f4586 without noticing | 16 May 2017, 11:51:17 UTC |
d4e0b1d | Patrick Junger | 14 May 2017, 12:11:47 UTC | Added namespace in method testCaseEnded Did not compile as is | 14 May 2017, 12:11:47 UTC |
b8443e6 | Antonio Di Monaco | 11 May 2017, 11:00:03 UTC | Added Win32 UNICODE wmain support (#903) * Added wmain support * Added appveyor.yml wmain configuration * Added wmain configuration flag to CMake | 11 May 2017, 11:00:03 UTC |
5604ec7 | Martin Hořeňovský | 03 May 2017, 19:09:27 UTC | Updated toString documentation It will need another update when Catch 2 goes live. Closes #741 | 03 May 2017, 19:09:27 UTC |
6f012f2 | Benjamin R. Jack | 01 May 2017, 16:17:57 UTC | Added warning if source file cannot be found If source files are defined using relative paths, CMake will compile the tests, but this script will (sometimes) fail to find and parse the tests from the source files. I have added an explicit warning when ParseAndAddCatchTests fails to find a source file. | 01 May 2017, 17:55:17 UTC |
98e61c3 | Martin Hořeňovský | 29 April 2017, 16:06:36 UTC | Approval tests now see different line endings as ok This is mostly to deal with WSL, where git will checkout file with CRLF, but code that uses formatted output will be writing LFs. | 29 April 2017, 16:06:36 UTC |
e641485 | Martin Hořeňovský | 29 April 2017, 15:54:10 UTC | Updated approval tests | 29 April 2017, 15:54:10 UTC |
a3ceb8f | Martin Hořeňovský | 29 April 2017, 15:52:12 UTC | Approval tests now can deal with different expansions of errno | 29 April 2017, 15:52:12 UTC |
b819432 | Martin Hořeňovský | 29 April 2017, 15:50:03 UTC | Don't clear out all messages upon printing an assertion. Previously, this would not print out any messages for the last CHECK ```cpp TEST_CASE("Foo") { INFO("Test case start"); for (int i = 0; i < 2; ++i) { INFO("The number is " << i); CHECK(i == 0); } CHECK(false); } ``` now it does. | 29 April 2017, 15:50:03 UTC |
9ceae8f | Martin Hořeňovský | 28 April 2017, 18:27:10 UTC | CMake binaries are now conditionally enabled Defining NO_SELFTEST=1 when cmake configuration is being done now turns off SelfTest and Benchmark executables. This is for projects that consume Catch using ExternalProject_Add and don't want to build our selftest binaries for their unit test suite. Closes #897 | 28 April 2017, 18:27:10 UTC |
5ffc8a8 | Martin Hořeňovský | 28 April 2017, 16:30:04 UTC | Fix order of arguments in CATCH_FAIL and nonvariadic INTERNAL_CATCH_MSG Fixes #896 | 28 April 2017, 16:30:04 UTC |
6e0fa4b | JayAndCatchFire | 26 April 2017, 20:56:24 UTC | Update opensource-users.md Fixed broken link to LICENSE | 27 April 2017, 08:29:58 UTC |
a0ada2e | Phil Nash | 25 April 2017, 14:23:06 UTC | v1.9.3 | 25 April 2017, 14:23:06 UTC |
e4694f5 | Phil Nash | 25 April 2017, 14:15:59 UTC | Removed errant uses of uint64_t fixes #894 | 25 April 2017, 14:15:59 UTC |
fc7f0a0 | Martin Hořeňovský | 25 April 2017, 09:08:02 UTC | v1.9.2 | 25 April 2017, 09:08:02 UTC |
211b330 | Phil Nash | 25 April 2017, 07:43:14 UTC | Don’t unconditionally #include <stdint.h> (as earlier MSVC don’t have it) | 25 April 2017, 07:43:14 UTC |
d36fe21 | Phil Nash | 25 April 2017, 07:38:25 UTC | Further tweaked alignment hack for Option | 25 April 2017, 07:38:25 UTC |
a34c053 | Martin Hořeňovský | 24 April 2017, 20:01:45 UTC | All of Approx's member functions now accept strong typedefs Previously `Approx::operator()`, `Approx::epsilon`, `Approx::margin` and `Approx::scale` didn't. Closes #888 | 24 April 2017, 20:01:45 UTC |
4cdb203 | Martin Hořeňovský | 24 April 2017, 14:27:43 UTC | Improve documentation about using Catch with CMake Also added a note about the `contrib/ParseAndAddCatchTests.cmake` script. Closes #882 | 24 April 2017, 14:27:43 UTC |
8014bf1 | Ernst Maurer | 22 April 2017, 21:08:48 UTC | cmake script to generate ctest definitions from catch tests: fix for test case body bracket | 24 April 2017, 11:33:04 UTC |
49d87cf | Alexander Batischev | 22 April 2017, 14:02:55 UTC | Add Newsbeuter to OSS users list (#891) | 22 April 2017, 14:02:55 UTC |
eedcc82 | Phil Nash | 21 April 2017, 06:18:46 UTC | Tweaked storage alignment "workaround" a bit more in Option. | 21 April 2017, 06:19:39 UTC |
8e82590 | Martin Hořeňovský | 20 April 2017, 20:54:17 UTC | Fix .travis.yml syntax | 20 April 2017, 20:54:17 UTC |
7869e5b | Martin Hořeňovský | 20 April 2017, 20:52:41 UTC | Enable C++11 and C++14 on OSX on Travis | 20 April 2017, 20:52:41 UTC |
a49af46 | Martin Hořeňovský | 20 April 2017, 20:50:07 UTC | Minor .travis.yml cleanup Still could use someone more experienced to clean it up properly... | 20 April 2017, 20:50:07 UTC |
417b2bc | Martin Hořeňovský | 20 April 2017, 20:47:05 UTC | Enable C++14 on Linux on Travis | 20 April 2017, 20:47:05 UTC |
8f0feaa | Martin Hořeňovský | 20 April 2017, 19:32:50 UTC | Enable /std:c++latest (C++17) for AppVeyor VS 2017 | 20 April 2017, 19:32:50 UTC |
b95163b | Martin Hořeňovský | 20 April 2017, 19:02:25 UTC | Don't enable POSIX signals under QNX Fixes #889 | 20 April 2017, 19:02:25 UTC |
2809be8 | Phil Nash | 20 April 2017, 13:38:57 UTC | “fixed” alignment in Option | 20 April 2017, 13:39:07 UTC |
ac369b7 | Martin Hořeňovský | 11 April 2017, 15:25:04 UTC | Add script that helps with updating the Vcpkg package. Kind of a hackjob, that assumes vcpkg is already checked out and is next to the Catch's directory. | 11 April 2017, 15:25:04 UTC |
1aa3e4a | Ernst Maurer | 11 April 2017, 14:51:02 UTC | Add CMake script to generate ctest definitions from Catch tests (#879) Added cmake script to parse the source files containing Catch's test and generate ctest definitions. It generates one ctest test per `TEST_CASE` and labels them, using the `TEST_CASE`'s tags. Closes #719. | 11 April 2017, 14:51:02 UTC |
e5c5a63 | Phil Nash | 11 April 2017, 14:47:42 UTC | junit reporter does not count exceptions as failures if ok-to-fail | 11 April 2017, 14:47:42 UTC |
2bf30e9 | Phil Nash | 11 April 2017, 14:06:25 UTC | Use (locally defined) UInt64 instead of uint64_t - typedefs long long for MSVC - typedefs uint64_t otherwise Should probably do finer grained compiler checking - but this should at least be better than what was there before | 11 April 2017, 14:06:25 UTC |
b591cb9 | Phil Nash | 11 April 2017, 13:25:19 UTC | Added note about thread safety in assertions - closes #875 | 11 April 2017, 13:25:19 UTC |
714d01c | Phil Nash | 09 April 2017, 19:40:01 UTC | approved tests that were correct the first time (previous approvals were erroneous) | 09 April 2017, 19:40:11 UTC |
c6990cd | Martin Hořeňovský | 09 April 2017, 19:25:20 UTC | v1.9.1 release | 09 April 2017, 19:25:20 UTC |
da8786b | Martin Hořeňovský | 09 April 2017, 19:20:58 UTC | Unexpected exception are no longer ignored by default What an embarassing bug, I'll have to look into why it wasn't caught by any of Catch's self-tests. Fixes #885 and closes #887 (duplicate) | 09 April 2017, 19:20:58 UTC |
5577322 | Phil Nash | 08 April 2017, 21:47:13 UTC | Added Nonius to open-sources users | 08 April 2017, 21:47:13 UTC |
1b03c5a | Martin Hořeňovský | 07 April 2017, 20:56:36 UTC | v1.9.0 release | 07 April 2017, 20:56:36 UTC |
7dd3c19 | Phil Nash | 07 April 2017, 18:12:13 UTC | Added NASA to commercial users list | 07 April 2017, 18:12:13 UTC |
29d26d3 | Phil Nash | 07 April 2017, 10:36:54 UTC | Commented out unused argument | 07 April 2017, 10:36:54 UTC |
ca764ec | Phil Nash | 07 April 2017, 10:15:37 UTC | TeamCity reporter “ignores” failures in tests marked “ok to fail” - also don’t report hidden/ not-selected tests | 07 April 2017, 10:15:37 UTC |
250f0ee | Phil Nash | 07 April 2017, 08:33:19 UTC | Added approvals for “failed as expected” tests | 07 April 2017, 08:33:19 UTC |
09e4830 | Martin Hořeňovský | 06 April 2017, 09:01:49 UTC | Added VS2017 to AppVeyor matrix | 06 April 2017, 09:01:49 UTC |
8f85d08 | Martin Hořeňovský | 05 April 2017, 19:37:27 UTC | Give up on _Pragma for gcc, force disable Wparentheses in all TUs | 05 April 2017, 19:37:27 UTC |
3ae076c | Martin Hořeňovský | 05 April 2017, 08:26:19 UTC | Updated REQUIRE* documentation under FAST_COMPILE | 05 April 2017, 08:26:19 UTC |
94425ad | Sergey Semushin | 05 April 2017, 07:53:10 UTC | Add opt-in c++11 stream insertable check. (#877) * Add opt-in c++11 stream insertable check. To opt-in, define CATCH_CONFIG_CPP11_STREAM_INSERTABLE_CHECK. Opt-in fixes #872 and should fix #757 as well. | 05 April 2017, 07:53:10 UTC |
0354d50 | Martin Hořeňovský | 04 April 2017, 13:19:15 UTC | Added templated constructor to C++11 Approx When using C++11, comparison operators are already templated to take anything that can be explicitly converted to double, but constructor took only doubles. This lead to warnings when an `Approx` was constructed from floats, which was problematic for some users. Since just adding float constructor would be a large breaking change, as suddenly `Approx( 1 )` would become ambiguous, I added a templated constructor that will take anything that is explicitly convertible to double. This has the added benefit of allowing constructing `Approx` instances from instances of strong typedefs, ie allowing `calculated_temp == Approx( known_temp)`. Closes #873 | 04 April 2017, 13:19:15 UTC |
cdd83c2 | Martin Hořeňovský | 04 April 2017, 09:31:13 UTC | Fmt and tag fixup for #876 Github wouldn't let me push to the PR, probably because it was made from fork of a fork... | 04 April 2017, 09:31:13 UTC |
9a07dde | dvirtz | 30 March 2017, 22:06:35 UTC | print messages when unexpected exceptions are thrown | 04 April 2017, 09:27:19 UTC |
6e091d3 | Martin Hořeňovský | 03 April 2017, 09:48:50 UTC | Reset the UnexpectedException report state | 03 April 2017, 09:48:50 UTC |
95d85fb | Martin Hořeňovský | 03 April 2017, 09:36:55 UTC | Fixed up CATCH_CONFIG_FAST_COMPILE for REQUIREs Unexpected exceptions no longer cause abort and there should be no more potential for false negatives. The trade-off now is that exceptions are no longer translated. | 03 April 2017, 09:36:55 UTC |
3a3f152 | Martin Hořeňovský | 29 March 2017, 19:13:51 UTC | Updated documentation of CATCH_CONFIG_FAST_COMPILE | 29 March 2017, 19:13:51 UTC |
4fe2432 | Martin Hořeňovský | 29 March 2017, 19:12:06 UTC | Rework of REQUIRE* changes in CATCH_CONFIG_FAST_COMPILE `ResultBuilder`s destructor now checks for exceptions, preventing false negatives. The speedup should remain the same give or take a tiny bit. | 29 March 2017, 19:12:06 UTC |
c3a41e2 | Martin Hořeňovský | 29 March 2017, 18:30:59 UTC | Suppress -Wexit-time-destructors in Catch code This is another warning that follows test macros, making it painful to suppress without leaking outside. Luckily clang's `_Pragma` implementation works. Should fix #308 | 29 March 2017, 18:30:59 UTC |
4838039 | Phil Nash | 27 March 2017, 06:43:27 UTC | Merge pull request #869 from mloskot/patch-1 Add nanodbc library to Catch users | 27 March 2017, 06:43:27 UTC |
2a221b8 | Mateusz Łoskot | 26 March 2017, 19:26:08 UTC | Add nanodbc library to Catch users | 26 March 2017, 19:26:08 UTC |
79ce693 | Rian Quinn | 22 March 2017, 20:19:51 UTC | remove redundant "/" This "/" is not needed as CMake adds this automatically | 23 March 2017, 20:18:07 UTC |
d762a7c | Martin Hořeňovský | 23 March 2017, 20:16:52 UTC | Expanded documentation about THROWS_AS assertions | 23 March 2017, 20:16:52 UTC |
f23b6b8 | Martin Hořeňovský | 23 March 2017, 20:11:21 UTC | Don't sanitize exception type in REQUIRE_THROWS_AS Effectively a revert of previous commit, fixing #542, where this was added to stop linters complaining about `REQUIRE_THROWS_AS` used like `REQUIRE_THROWS_AS(expr, std::exception);`, which would be slicing the caught exception. Now it is user's responsibility to pass us proper exception type. Closes #833 which wanted to add `typename`, so that the construct works in a template, but that would not work with MSVC and older GCC's, as having `typename` outside of a template is allowed only from C++11 onward. | 23 March 2017, 20:11:21 UTC |
4597b43 | Martin Hořeňovský | 22 March 2017, 17:40:07 UTC | Throw instead of calling exit in RegistrarForTagAliases constructor Caries a problem vis-a-vis Windows, just like previous commit, but that can be fixed later on. Closes #866 | 22 March 2017, 17:40:07 UTC |
f64d914 | Martin Hořeňovský | 22 March 2017, 16:53:22 UTC | Throw instead of calling exit in enforceNotReservedTag Closes #865 | 22 March 2017, 16:53:22 UTC |
d07999d | Martin Hořeňovský | 22 March 2017, 16:45:36 UTC | Version struct now uses char* for holding branch name Since the info is constant, and the only use is to write it out during runtime, there is no need for `std::string`. | 22 March 2017, 16:45:36 UTC |
e04dc51 | Kevin Ushey | 16 March 2017, 18:17:45 UTC | use inline 'libraryVersion()' function (closes #858) | 22 March 2017, 14:51:02 UTC |
cffb031 | Phil Nash | 22 March 2017, 10:33:52 UTC | Added polymorphic_value to OSS users | 22 March 2017, 10:33:52 UTC |
f3ec843 | Phil Nash | 21 March 2017, 13:22:39 UTC | Changed all internal forwarding macro usages to put macro name as first argument (and ‘expression’, if any, last) This is a first step towards allowing expression arguments to become variadic | 21 March 2017, 13:23:35 UTC |
55ed17f | Martin Hořeňovský | 20 March 2017, 09:53:32 UTC | Removed stray define | 20 March 2017, 09:53:32 UTC |
6a502cc | Martin Hořeňovský | 20 March 2017, 07:59:25 UTC | Renamed licence file, license should now be detected by github | 20 March 2017, 07:59:25 UTC |
6a009fa | Martin Hořeňovský | 17 March 2017, 16:02:39 UTC | Documented REQUIRE under CATCH_CONFIG_FAST_COMPILE | 17 March 2017, 16:02:39 UTC |
7a8a020 | Martin Hořeňovský | 17 March 2017, 12:21:40 UTC | CATCH_CONFIG_FAST_COMPILE now disables trys in REQUIRE* This seems to give about 15% speedup when compiling tests using GCC. The tradeoff is that under certain circumstances, there is a chance for false negative result, when the expression under test throws exception and the test code catches it before it gets to the test runner. Example: ``` cpp TEST_CASE("False negative") { try { REQUIRE(throws() == ""); } catch (...) {} } ``` This test case will succeed, reporting no assertions checked, instead of failing as it would with `CATCH_CONFIG_FAST_COMPILE` disabled. However, just removing the try-catch block inside client's code will fix this, so it is worthwhile. This change does not apply to CHECK* macros, because these are currently specified as continuing on exception and thus need the local try-catch to work as intended. | 17 March 2017, 12:21:40 UTC |
4dc06bd | Mickey Rose | 15 March 2017, 12:38:19 UTC | Use bulk vector::insert rather than back_inserter | 15 March 2017, 15:19:38 UTC |
08b597b | Phil Nash | 15 March 2017, 11:44:40 UTC | Merge pull request #856 from lightmare/script-exec-perm Set execute permission on runnable python scripts | 15 March 2017, 11:44:40 UTC |
46d1664 | Mickey Rose | 15 March 2017, 11:24:18 UTC | Set execute permission on runnable python scripts | 15 March 2017, 11:24:18 UTC |