https://github.com/philsquared/Catch

sort by:
Revision Author Date Message Commit Date
a2c8dce v2.10.1 20 October 2019, 19:03:22 UTC
1e379de Fix "ldd" -> "lld" typo in docs 20 October 2019, 18:57:55 UTC
4eea438 Update updateWandbox script to account for the new Wandbox API response 20 October 2019, 18:56:20 UTC
407ee0a Add a section on slow linking under MinGW to "Known Limitations" docs Unless someone steps up to fix the long link times with a set of unobtrusive changes, the recommended solution will remain "use a better linker". Related to #1205, #1247, and #1637 Closes #1247 Closes #1637 20 October 2019, 17:52:39 UTC
060a41e Suppress false positive from clang-analyzer Fixes issue #1230 20 October 2019, 15:27:09 UTC
90825a4 Add more tests for reading test specs from file Related to #1770 20 October 2019, 13:14:50 UTC
9e8ae7d Use scientific notation for the WithinULP matcher This should now properly handle small numbers which would previously output something like `[0.00000000000000019, 0.00000000000000019]`, which does not allow user to read the numbers properly. Closes #1760 20 October 2019, 10:30:21 UTC
8485684 Fixes #1766: Catch terminates when parsing invalid test name 19 October 2019, 19:14:06 UTC
01ef707 Allow in-tree builds where Catch2 is just a subproject Closes #1773 Closes #1774 18 October 2019, 16:49:44 UTC
ae14a47 TemplateTests: suppress -Wunused-template warning in template test cases this warning was introduced by rework to support NTTPs since we have implementation macro for NTTPs and normal template test cases warning is going to be suppressed Fixes #1762 18 October 2019, 16:38:39 UTC
f2b23db TemplateTests: fix compilation with ICC ICC in some cases fails on trailing return type with decltype Closes #1748 18 October 2019, 10:35:09 UTC
1aa98c7 add a note how to run selftests using multiconfig generators 17 October 2019, 18:23:51 UTC
3195c24 Remove JSON library from users 17 October 2019, 18:20:02 UTC
31906d8 Add parenthesis to prevent macro expansions of min/max Closes #1772 17 October 2019, 14:40:37 UTC
91fa553 Add test for including unguarded windows.h If you do this, you are wrong, but apparently people expect libraries to work around intrusive lower cased macros. Oh well. 17 October 2019, 09:15:42 UTC
7c9f92b v2.10.0 13 October 2019, 21:44:18 UTC
a92a7d0 Rewrite documentation for floating point matchers 13 October 2019, 19:31:48 UTC
e4d61e4 Fix baselines 13 October 2019, 19:26:51 UTC
9ba48e2 Remove superfluous includes in exception matchers 13 October 2019, 18:49:36 UTC
2cc0c71 Add a matcher that checks exception's message Only works for exceptions that publicly derive from `std::exception` and the matching is done exactly, including case and whitespace. Closes #1649 Closes #1728 # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch master # Your branch is up-to-date with 'origin/master'. # # Changes to be committed: # modified: ../docs/matchers.md # modified: ../include/internal/catch_capture_matchers.h # modified: ../projects/CMakeLists.txt # modified: ../projects/SelfTest/Baselines/compact.sw.approved.txt # modified: ../projects/SelfTest/Baselines/console.std.approved.txt # modified: ../projects/SelfTest/Baselines/console.sw.approved.txt # modified: ../projects/SelfTest/Baselines/junit.sw.approved.txt # modified: ../projects/SelfTest/Baselines/xml.sw.approved.txt # modified: ../projects/SelfTest/UsageTests/Matchers.tests.cpp # # Untracked files: # ./ # ../clang-full/ # ../clang-test/ # ../clang10-build/ # ../coverage-build/ # ../gcc-build/ # ../gcc-full/ # ../include/internal/catch_matchers_exception.cpp # ../include/internal/catch_matchers_exception.hpp # ../misc-build/ # ../msvc-sln/ # ../notes.txt # ../test-install/ # 13 October 2019, 18:37:07 UTC
28663fb Use the right overload of std::nextafter in tests 13 October 2019, 11:36:22 UTC
d2d418a Add a Relative Comparison matcher for floating point numbers It checks Knuth's _close enough with tolerance_ relationship, that is `|lhs - rhs| <= epsilon * max(|lhs|, |rhs|)`, rather then the _very close with tolerance_ relationship that can be written down as `|lhs - rhs| <= epsilon * min(|lhs|, |rhs|)`. This is because it is the more common model around the internet, and as such is likely to be less surprising to the users. In the future we might want to provide the other model as well. Closes #1746 13 October 2019, 09:56:50 UTC
c8db4e7 Add a from_range(Container) overload to the generator helpers 09 October 2019, 12:51:36 UTC
1c57496 Merge pull request #1769 from amitherman95/amitherman-1767 Patch:Failure to pass special chars through input file 09 October 2019, 12:16:50 UTC
3109add Add tests for the -f/--input-file command line argument 09 October 2019, 10:54:13 UTC
adb4789 Patch:Failure to apply filters through external file 09 October 2019, 09:43:06 UTC
75200e1 Merge pull request #1768 from RT222/master Simplified benchmark output with --benchmark-no-analysis 08 October 2019, 19:07:35 UTC
a5a22cd Have the random generators use the global rng instance This means that if you nest multiple random generators inside one test case, they will not return the same sequence of numbers. Idea taken from #1736 by Amit Herman. Closes #1736 Closes #1734 07 October 2019, 19:53:07 UTC
535da5c Introduce Catch's own RNG based on the PCG family of RNGs In the future, we will also want to introduce our own `uniform_int_distribution` and `uniform_real_distribution` to get repeatable test runs across different platforms. 07 October 2019, 17:56:23 UTC
2331249 Simplified benchmark output with --benchmark-no-analysis Removed unused informations from benchmarks output when the --benchmark-no-analysis flag is used, making the results easier to read. 07 October 2019, 13:40:00 UTC
319cb9e Add a generator that takes an iterator pair 06 October 2019, 11:55:10 UTC
b8b765d Merge pull request #1765 from kevingranade/patch-1 Add Cataclysm:Dark Days Ahead to project list 06 October 2019, 10:41:46 UTC
a0ebd63 Add Cataclysm:Dark Days Ahead to project list 06 October 2019, 03:18:31 UTC
4bd2c3a Fix compilation error with CATCH_CONFIG_GLOBAL_NEXTAFTER Wrong nesting of namespaces resulted in the `Catch` namespace being ambigous between `::Catch` and `::{anon}::Catch` namespaces. This should fix it. Closes #1761 05 October 2019, 19:03:46 UTC
c38a5ca Allow full range of target ULP values for the ULPMatcher Previously it was limited to roughly 2 billion ULPs, rather than the roughly 2^64 possible ones. 05 October 2019, 11:38:22 UTC
ebc5609 Add test for INF == Approx(1) 04 October 2019, 12:19:39 UTC
fcda35f update name of Value Generators in doc to match class names 04 October 2019, 11:31:37 UTC
02ee130 Special case Approx(inf) to better follow user expectations 04 October 2019, 11:28:43 UTC
815f995 Do not explicitly install conan Instead, let it be installed as a dependency of `conan-package-tools` to avoid trouble with the fact that pip is really bad at version resolution, and that up-to-date version of the `conan` package is not supported by up-to-date version of the `conan-package-tools` package. 02 October 2019, 22:00:17 UTC
da0062f Merge pull request #1752 from amitherman95/amitherman-1737 Escape characters bug patch(v2.9.2) 22 September 2019, 08:48:08 UTC
de42f8a Fix escaping of quotes in coverage helper 21 September 2019, 21:19:45 UTC
af84f13 Add documentation for the table generator helper 20 September 2019, 23:00:53 UTC
fc2066b Add tests for escaping special characters in CLI 20 September 2019, 22:50:17 UTC
2bcff9d Escape characters bug patch(v2.9.2) 20 September 2019, 22:46:58 UTC
3beccfb Remove the no longer used is_unique type trait It was used in checking that types in TEMPLATE_TEST_CASE and friends were unique, but this was removed for v2.8.0 (#1628). Since there are no further uses of this trait, the simplest thing to do is to just remove it. Fixes #1757 20 September 2019, 21:28:19 UTC
af8b253 Ignore leading/trailing whitespace in test/section specs The leading/trailing whitespace is problematic because of e.g. `WHEN` macro having preceeding whitespace for alignment, and it is generally messy. Credits to Phil who did lot of the original work. Closes #1708 09 September 2019, 12:28:11 UTC
a156440 Reinline some StringRef methods with trivial bodies 08 September 2019, 19:08:37 UTC
dab0296 Add test for past-the-end substr on StringRef 08 September 2019, 19:07:21 UTC
9f4c477 Remove (mostly) unused overloads of StringRef operator + 08 September 2019, 19:01:33 UTC
293012a Inline SourceLineInfo::empty definition 08 September 2019, 16:20:49 UTC
e2b3443 Do not blindly access empty StringRefs 08 September 2019, 15:44:56 UTC
7b865da Make StringRef's operator std::string explicit This way it is explicit when there is a `StringRef` -> `std::string` conversion and makes it easier to look for allocations that could be avoided. Doing this has already removed one allocation per registered test case, as there was a completely pointless `StringRef` -> `std::string` conversion when parsing tags of a test case. 08 September 2019, 13:58:10 UTC
1436253 Check for empty expression properly The old code was a left-over from the times when the `capturedExpression` member was a `const char*`, which could always be indexed. With the change to use `StringRef`, blindly indexing 0th element is invalid, as it is not indexable part of a StringRef. 08 September 2019, 12:35:01 UTC
a5bb3e3 Small updates to include directives (#1726) Fixed some inconsistencies in include directives. 08 September 2019, 12:25:23 UTC
923db16 Use StringRefs through the enum registration 08 September 2019, 12:14:46 UTC
fbbaadb Use StringRef literal for unknown enum values instead of string lit 08 September 2019, 12:14:14 UTC
dd1f0f1 Add test for --filename-as-tags 07 September 2019, 18:43:14 UTC
d27d580 Add test for --libidentify command line flag 07 September 2019, 18:36:12 UTC
6da00c1 Split out the rest of string manipulation tests 07 September 2019, 18:22:36 UTC
fe967b1 Remove the ill-considered StringRef::numberOfCharacters It never counted characters, only codepoints. If you think these are interchangeable, you should not touch non-ascii text. 07 September 2019, 18:13:22 UTC
f2c2711 Add trim for StringRef 07 September 2019, 09:31:00 UTC
b77ab74 Start adding tests for string manip functions 06 September 2019, 16:50:57 UTC
4038ee6 Stop compilation if registering an enum could truncate its value We probably want to use a bigger type (e.g. `int64_t`) later on, but the is a mess right now anyway. 06 September 2019, 16:36:59 UTC
789f359 Do not write singular characters into stream as C-strings 06 September 2019, 16:30:16 UTC
6e8d769 Unify handling of __has_include checks 06 September 2019, 11:38:58 UTC
1189a73 Do not assume that version placeholders contain ")" 06 September 2019, 11:25:39 UTC
071baca Properly linkthrough additions to the configuration docs 06 September 2019, 11:24:51 UTC
addf799 Workaround missing std::nextafter in uClibc Luckily, the rest of C++11 features seem to be supported... Closes #1739 06 September 2019, 11:08:44 UTC
155274f Add disabling the use of Android's logging at compile time This is done via the new compile time toggle, `CATCH_CONFIG_ANDROID_LOGWRITE`. Closes #1743 06 September 2019, 10:44:06 UTC
18d597c Allow to use non-copyable and non-movable types in TEMPLATE_LIST_TEST_CASE The parameter given to `convert` may not be copyable therefore it has to be captured by const reference. For example an `std::tuple` that contains a non-copyable type is itself non-copyable. The NonDefaultConstructible test-case was reduced by one example type because it did not add any value. 06 September 2019, 10:15:09 UTC
6629c11 Optimize in-repo PNGs 06 September 2019, 10:12:47 UTC
c6bf56b Fix Travis builds with clang 5/6 There is some weird broken dependency in their version of Trusty (14.04 LTE), so we are using Xenial (16.04 LTE) instead. 06 September 2019, 10:07:29 UTC
623e348 Merge pull request #1744 from ux3d/add-ux3d-to-commercial-users add UX3D to commercial users 06 September 2019, 09:37:55 UTC
46f767e add UX3D to commercial users 06 September 2019, 09:27:33 UTC
ce42deb Add Android's log library to Catch2's CMake interface 10 August 2019, 18:51:15 UTC
46a7007 Use __android_log_write instead of __android_log_print `print` version of the logging functions supports `printf`-like formatting, which we do not use and given our current debug print internals, will never use. This should be slightly more efficient and expresses the intent better. 10 August 2019, 12:51:38 UTC
378cc1a Rename template parameter names to avoid name conflict on Solaris. Closes #1722 10 August 2019, 08:55:17 UTC
e2d863b Actually run the random generator tests 09 August 2019, 09:21:05 UTC
ebe6a07 Remove the new tests from approvals They lead to stringification of file (which is ok) and file line (not ok) to the approvals, which makes them exceedingly brittle and not worth approval testing. Instead we just run them as part of the base test run. 09 August 2019, 09:13:28 UTC
edcfd7f Add missed item to v2.9.2 release notes 09 August 2019, 08:57:59 UTC
738818a Add a test for the internals 09 August 2019, 08:50:53 UTC
2c869e1 v2.9.2 08 August 2019, 12:05:24 UTC
0ab11aa (Hopefully) Fix Obj-C++ compilation of matchers Thanks to bdb for the patch, related to #1661 07 August 2019, 18:35:27 UTC
7a6af7b Merge pull request #1717 from ax3l/fix-storageClassFirst static constexpr: storage class first 07 August 2019, 07:23:47 UTC
fa096b2 Merge pull request #1715 from sfranzen/fix-compact-reporter Fix infinite loop in compact reporter printer 07 August 2019, 07:12:38 UTC
820b1f1 static constexpr: storage class first Seen with PGI compiler for `static constexpr`: ``` warning: storage class is not first ``` 07 August 2019, 00:17:16 UTC
6070745 Improve reporting of unmatched filters (#1684) This PR ultimately does 3 things * Separately tracks matched tests per each filter part (that is, a set of filters separated by an OR (`,`)), which allows Catch2 to report each of the alternative filters that don't match any tests. * Fixes `-w NoTests` to return non-zero in the process * Adds tests for `-w NoTests`. 06 August 2019, 18:51:19 UTC
3d9e7db Fix infinite loop in compact reporter printer Also simplify some variables with auto deduction. 06 August 2019, 18:19:42 UTC
cf55cfd Tiny speedup when listing tags Noticed that the code was originally concatenating strings just to then append the result to another string. Now it does not create temporaries and also preallocates the string buffer. 05 August 2019, 17:12:29 UTC
3701c2e Small cleanup of self tests 04 August 2019, 11:50:25 UTC
7dc7d77 Add a test for Catch version output 03 August 2019, 18:16:46 UTC
06bc20c Improve handling of newlines in release scripts Under WSL, Python in text mode will translate `\n` into `\r\n`, even though other tools and utilities use `\n` (because WSL is basically Linux). This leads to the update scripts leaving the files with Windows newlines even though git and similar expect them to have Linux newlines. By instead handling files in binary mode, we can keep the original newlines. This commits switches parts of the update process to binary mode, but not all because some of the will require a lot of work to fix. 03 August 2019, 17:59:35 UTC
7a4beed Make release script update version placeholders in docs 03 August 2019, 08:44:57 UTC
67b4ada Add 'Introduced in Catch 2.3.0.' text 02 August 2019, 17:18:47 UTC
119569a Add 'Introduced in Catch 2.4.0.' text 02 August 2019, 17:18:47 UTC
ab71389 Add docs for AND_GIVEN macro - see #1360 02 August 2019, 17:18:47 UTC
69fc94d Add 'Introduced in Catch 2.4.1.' text 02 August 2019, 17:18:47 UTC
49cd7c9 Add 'Introduced in Catch 2.4.2.' text 02 August 2019, 17:18:47 UTC
e998d15 Add 'Introduced in Catch 2.5.0.' text 02 August 2019, 17:18:47 UTC
42a5903 Add 'Introduced in Catch 2.6.0.' text 02 August 2019, 17:18:47 UTC
back to top