https://github.com/philsquared/Catch

sort by:
Revision Author Date Message Commit Date
9a56609 v1.6.1 build 20 January 2017, 11:49:59 UTC
8115983 Python scripts can now be run directly from bash 20 January 2017, 11:28:40 UTC
78a2866 Approval tests are now mostly Windows compatible There are some differences in output between Catch on Windows and Catch on Linux, that indicate a minor bug, but those have to be fixed separately. 19 January 2017, 22:56:31 UTC
9acc6b9 Approval tests now use Python std lib instead of call to diff This needed to change to let it run on Windows as well as on the Unices 19 January 2017, 21:52:47 UTC
c4b5057 Approval tests now uses path relative to cwd, not the catch folder. This means that bash's autocompletion is actually helpful. 19 January 2017, 21:08:51 UTC
d38b926 simplify output filtering in approvalTests.py 19 January 2017, 21:04:29 UTC
227598a use sizeof(expr) for unevaluated syntax check 19 January 2017, 20:25:27 UTC
cfaf906 Changed documentation to use standard main function signature 19 January 2017, 16:05:01 UTC
ee0ca51 Force short-circuited evaluation for types that have overloaded &&. This fixes #574. 17 January 2017, 22:31:03 UTC
b71a06c JUnit reporter outputs timestamps now Also extended approval tests script to support the change 16 January 2017, 19:21:43 UTC
531d267 Added the new proxy header to CMakeLists.txt 16 January 2017, 18:56:57 UTC
2e87f8e Merge branch 'windows-header-defines' of https://github.com/horenmar/Catch 16 January 2017, 16:00:43 UTC
afe46ff Extracted NOMINMAX and WIN32_LEAN_AND_MEAN guards into a proxy header 16 January 2017, 15:52:44 UTC
c65aeaf Clean up generator state 16 January 2017, 10:34:16 UTC
750b52b suppress use of __COUNTER__ when being parsed by CLion (or AppCode). 16 January 2017, 10:34:16 UTC
e12fc4a Fix missing CATCH_ for CHECK_THAT in prefixed macro version 15 January 2017, 21:11:43 UTC
99cdc62 Enabled CMake dev warnings in travis. 15 January 2017, 21:08:12 UTC
e6ef60a CMake will now warn if a file is in folder, but not in variable 15 January 2017, 21:07:36 UTC
e1c4a4b Use inline assembly with gcc under Linux for CATCH_TRAP This is more convenient than using the generic portable raise(SIGTRAP) as it avoids having another stack frame in the debugger when the break happens. 15 January 2017, 18:29:34 UTC
25d0177 Refactor CATCH_BREAK_INTO_DEBUGGER() to avoid repetition Don't duplicate Catch::isDebuggerActive() check many times, do it just once in CATCH_BREAK_INTO_DEBUGGER() definition and use a separate CATCH_TRAP() macro for the really platform-dependent part. 15 January 2017, 18:29:34 UTC
b634e59 Add support for breaking into debugger for Linux Use Linux-specific /proc/$PID/status file to check whether we're being debugged and a generic raise(SIGTRAP) to actually break into the debugger. 15 January 2017, 18:29:34 UTC
e3659cd Added single char version of logo 13 January 2017, 18:49:49 UTC
b3907a7 Added NOMINMAX and WIN32_LEAN_AND_MEAN defines before including windows.h This stops the `windows.h` header from defining `min` and `max` macros and including lot of Windows APIs that are not needed by Catch. 12 January 2017, 15:00:02 UTC
d5360e8 Sorted file lists in CMakeLists.txt for easier maintainence 12 January 2017, 11:54:53 UTC
9062ebe Removed make file (now generated from CMake) 12 January 2017, 11:22:30 UTC
e6aa1f4 Added note on escaping names on command line to docs 11 January 2017, 17:14:28 UTC
1ff0acf Tweaked release notes page with better formatting 11 January 2017, 16:50:35 UTC
713ec40 Fixed type in “Release Notes” link 11 January 2017, 16:46:09 UTC
3b2f206 v1.6.0 build - including release notes 11 January 2017, 16:44:36 UTC
4e4d733 Added \ as escape character in test names on the command line - so you can run tests by name when they contain , or [ 11 January 2017, 16:27:16 UTC
b68e8f9 Added missing #include so CATCH_CONFIG_COUNTER properly takes into account the current compiler. May address #677 and #435 and others. 11 January 2017, 16:27:16 UTC
a7cda91 Merge pull request #775 from philsquared/standardizing-feature-toggles Standardize C++11 feature toggles to follow documentation 11 January 2017, 16:27:05 UTC
a1bed57 Standardize C++11 feature toggles to follow documentation Closes #774 10 January 2017, 21:54:57 UTC
737f4ea Added missing C++11 feature toggle to docs 10 January 2017, 21:43:58 UTC
b0de6c9 Updated docs for contributing 10 January 2017, 07:36:06 UTC
6991549 Fixed compile error under VS2015 /c++:latest, caused by using random_shuffle Now if we detect C++11 compiler, or MSVC in version corresponding to VS2015, we switch from using `std::random_shuffle` to `std::shuffle`. `std::random_shuffle` was officially deprecated in C++14, and removed in C++17. Also removed guarded inclusion of `<random>` header, as there was nothing in the header that used it. 09 January 2017, 22:29:13 UTC
b50572b Renamed missing project explainer filename 09 January 2017, 21:59:53 UTC
5b00fd4 Merge pull request #767 from hmich/xml-encoder-extended-ascii Do not encode extended ASCII characters in XML reporter 09 January 2017, 18:37:52 UTC
7bb3e85 Removed all manually maintained project files in favour of instructions on how to use CMake to generate them 09 January 2017, 17:38:42 UTC
0bcae64 Set project name in CMakeLists.txt to CatchSelfTest 09 January 2017, 17:38:42 UTC
8abe17a CMake project groups test files separately from surrogate impl files for nicer rendering as XCode/ VS projects 09 January 2017, 17:38:42 UTC
10c4484 Make backticks symmetric in markdown 09 January 2017, 17:03:40 UTC
0cde0e9 Added approvals for “Greater-than inequalities with different epsilons” test 09 January 2017, 14:40:09 UTC
0f0dcd3 Excluded two more C++11 tests from Approval tests 09 January 2017, 14:37:28 UTC
62cbde3 Exclude test name from approval tests 09 January 2017, 14:37:28 UTC
1ae8489 Marked tests that use C++11 features with [c++11] tag and exclude them from approval tests 09 January 2017, 14:37:28 UTC
976a655 Approval tests can use Catch path fixed in env. var, and convert nullptr and __null to 0 for comparison 09 January 2017, 14:37:28 UTC
37e1e24 add support for inequalities 08 January 2017, 21:28:53 UTC
5a4dde4 Changed build status to be always taken from master Before it was taken from whatever last build happened, which led it show a build error because I took PR against wrong branch. This should be fixed now. 08 January 2017, 20:49:14 UTC
8d32642 Minor typo fix 07 January 2017, 21:05:18 UTC
ccc34b6 URL fixed 07 January 2017, 13:51:13 UTC
7255be2 remove concatenation of m_exprComponents.op in if-branch where op has tested empty in previous line 07 January 2017, 12:37:08 UTC
7d2668f add missing argument to CATCH_CHECK_THROWS (closes #602) 07 January 2017, 11:16:06 UTC
2a4dba1 Merge branch 'philipp-classen-master' Removed changes to the single-include header. 07 January 2017, 09:31:36 UTC
8d1e240 Fixed shell color code of "Blue" 07 January 2017, 09:30:43 UTC
e273a3d Fix grammar error in tutorial.md It's = it is In the sentence "In fact it is usually a good idea to put the block with the ```#define``` [in it's own source file](slow-compiles.md).", the correct usage is "its", not "it's". 07 January 2017, 08:56:21 UTC
7bff9cb own-main.md: fix typo 07 January 2017, 08:55:27 UTC
fd1da4a Fixing a couple of typos I tried to make sure I wasn't changing any British spellings so I apologize if I've mixed any up. 07 January 2017, 08:45:38 UTC
e1fbbe1 Added headers to CMake project (for CLion) 06 January 2017, 16:59:18 UTC
c8fefc4 Fixed Travis and CMake after moving CMakeLists.txt 06 January 2017, 16:19:20 UTC
6419307 Moved CMake into root folder (where it’s much happier - especially for CLion) 06 January 2017, 16:00:00 UTC
8d16d95 Do not encode extended ASCII characters in XML reporter 26 December 2016, 11:39:19 UTC
2be3727 Build 1.5.9 29 November 2016, 12:15:50 UTC
0c093be Removed now redundant xml stream initialisation 29 November 2016, 12:13:55 UTC
dedc7c5 Merge branch 'horenmar-xml-reporter-fix' 29 November 2016, 12:11:05 UTC
a9561ec Merge branch 'xml-reporter-fix' of https://github.com/horenmar/Catch into horenmar-xml-reporter-fix 29 November 2016, 12:10:46 UTC
e4df006 Merge branch 'horenmar-missing-include-fix' 29 November 2016, 12:05:35 UTC
fb99cc5 Merge branch 'missing-include-fix' of https://github.com/horenmar/Catch into horenmar-missing-include-fix 29 November 2016, 12:05:11 UTC
862d131 Explicitly convert int to char during transform on string (equivalent of PR #756) 29 November 2016, 12:04:09 UTC
79acc05 Sort test ordering during Approval testing 29 November 2016, 11:32:16 UTC
f9afa2a Ignore CMake and CLion generated files 29 November 2016, 11:27:22 UTC
0c8c6b3 Fixes build error caused by missing include. 28 November 2016, 14:47:20 UTC
40b6ad7 Fix XmlReporter always writing first line to stdout 26 November 2016, 11:11:23 UTC
30cebd6 Added some missing source files (including all SurrogateCpps) to CMake project. Fixed up relative include paths to make this work. 09 November 2016, 22:55:32 UTC
e27c4ee Build 1.5.8 26 October 2016, 11:08:26 UTC
0721142 Merge branch 'BillyONeal-master' 26 October 2016, 11:06:35 UTC
f90ee9f Merge branch 'master' of https://github.com/BillyONeal/Catch into BillyONeal-master 26 October 2016, 11:04:38 UTC
c17ba08 Fix transform without a lambda Catch apparently supports targeting C++03, so use an inline function instead. 14 October 2016, 21:28:15 UTC
79f0110 Fix transform narrowing warnings Catch passes ::tolower into std::transform with string iterators. ::tolower has the signature int(int), which triggers a stealth narrowing warning inside std::transform, because transform calls *_Dest = _Fn(*_First), which implicitly narrows an int to a char. For this particular application the narrowing is fine, so explicitly narrow in a lambda. 14 October 2016, 21:16:21 UTC
ccf7f28 Fix random_shuffle narrowing warnings Catch passes an RNG which accepts int to random_shuffle. Inside random_shuffle, the STL tries to call that RNG with the difference_type of the user provided iterators. For std::vector, this is ptrdiff_t, which on amd64 builds is wider than int. This triggers a narrowing warning because the 64 bit difference is being truncated to 32 bits. Note that this RNG implementation still does not produce a correctly uniformly shuffled result -- it's currently asserting that std::rand can produce 1000000 which is false -- but I don't know enough about how much repeatable shuffles are necessary here, so I'm leaving that alone for now. 14 October 2016, 21:06:45 UTC
e0302db Rename element for Fatal Error Condition so it doesn't have spaces Fixes: #685 14 October 2016, 17:45:08 UTC
88732e8 Merge pull request #716 from jbcoe/master Quick fix for failing travis builds on OS X 04 October 2016, 14:57:10 UTC
1c9a6ca Removed XCode6 builds (which were erroring anyway) and added XCode8 builds 27 September 2016, 10:20:33 UTC
40f6068 Build 1.5.7 27 September 2016, 09:46:22 UTC
21cbfc1 --list-test-names quotes test names that start with # - completes #717 27 September 2016, 09:43:03 UTC
31861bb rebased following recent changes 27 September 2016, 09:28:11 UTC
b1eeec7 -f supports quoted test names (test name surrounded with " characters). This is the first part to resolving #717 27 September 2016, 09:27:28 UTC
c23b374 Added braces to emphasise the return logic 27 September 2016, 08:58:12 UTC
916317b Merge pull request #680 from nabijaczleweli/master Fix misindent in internal/catch_test_spec.hpp:70 27 September 2016, 08:49:37 UTC
8c459dd Fix misindent Closes #679 26 September 2016, 22:35:26 UTC
fd7d354 quick fix for failing travis builds on os x 24 September 2016, 18:38:43 UTC
c47c179 Merge pull request #701 from razeh/master Fixes for XML encoding. 22 September 2016, 16:44:14 UTC
f5d2b2d Merge pull request #705 from hmich/xml-reporter-trim Do not trim test case names in the XML reporter. 22 September 2016, 16:28:46 UTC
02c7e41 Do not trim test case names in the XML reporter. SCENARIO does not add leading spaces to the test name (only BDD-style section names are modified), so the trimming is not necessary. But if the name is trimmed, it makes it harder to correlate the output of XML reporter with tests that have leading spaces in their name: e.g. these tests will have the same name attribute: TEST_CASE("Test") {} TEST_CASE(" Test") {} 30 August 2016, 10:15:19 UTC
5095619 Fixes for XML encoding. This commit fixes the following scenario: * You have a test that compares strings with embedded control characters. * The test fails. * You are using JUnit tests within TeamCity. Before this commit, the JUnit report watcher fails on parsing the XML for two reasons: the control characters are missing a semicolon at the end, and the XML document doesn't specify that it is XML 1.1. XML 1.0 --- what we get if we don't specify an XML version --- doesn't support embedding control characters --- see http://stackoverflow.com/questions/404107/why-are-control-characters-illegal-in-xml for all of the gory details. This is based on PR #588 by @mrpi 24 August 2016, 14:38:24 UTC
35f5105 v1.5.6 09 June 2016, 18:21:09 UTC
742457c Use Clara v0.0.2.4 (updated) - fix for string lengths 09 June 2016, 18:19:55 UTC
1aa6c91 Fixed RNG issue with pre C++14 compilers 09 June 2016, 18:07:05 UTC
ac22028 v1.5.5: Deal with auto_ptr and random_shuffle hard deprecations in C++14 09 June 2016, 07:19:23 UTC
be3570e Use std::shuffle instead of (deprecated) std::random_shuffle if C++14 detected 09 June 2016, 07:15:57 UTC
back to top