Martin Hořeňovský
da0edcbe25
Collect startup exceptions instead of throwing them
...
Previously, some errors in Catch configuration would cause exceptions to
be thrown before main was even entered. This leads to call to
`std::terminate`, which is not a particularly nice way of ending the
binary.
Now these exceptions are registered with a global collector and used
once Catch enters main. They can also be optionally ignored, if user
supplies his own main and opts not to check them (or ignored them
intentionally).
Closes #921
2017-06-04 21:39:27 +02:00
Martin Hořeňovský
3e018ef131
Add link to external gcov/lcov example to documentation
...
An alternate take on #916 , that better slots into the existing
documentation.
Closes #916
2017-06-04 12:17:59 +02:00
Martin Hořeňovský
52a84788e0
Add Inscopix to commercial users
...
Closes #918
2017-05-27 12:23:35 +02:00
Martin Hořeňovský
67914d8b86
Move back to static StringMaker<T>::convert
...
This avoids some breakage from the modernization
2017-05-21 23:40:05 +02:00
Austin L Wolfgram
b18e67522f
fixed spelling error
2017-05-20 15:10:42 -04:00
Martin Hořeňovský
d271683c14
Added release process notes/checklist/explanation
2017-05-16 21:33:58 +02:00
Martin Hořeňovský
32d97caf42
Fixed missing ` in tag documentation
2017-05-16 15:45:44 +02:00
Martin Hořeňovský
bc93b29789
Expanded tag documentation
...
It now mentions that most characters are valid as part of tag and other
details.
Closes #909
2017-05-16 15:28:53 +02:00
Martin Hořeňovský
b62c0256b2
Merge branch 'master' of https://github.com/philsquared/Catch
2017-05-16 14:34:27 +02:00
Martin Hořeňovský
1ea84cb734
Expanded logging documentation
...
Closes #884
2017-05-16 14:34:20 +02:00
Martin Hořeňovský
2a5d3736e8
Merge pull request #908 from pJunger/patch-1
...
Typo: Added namespace in method testCaseEnded
2017-05-16 14:05:31 +02:00
Martin Hořeňovský
3dcc923351
v1.9.4
2017-05-16 13:59:29 +02:00
Martin Hořeňovský
31f5e2ed81
Updated documentation about stringifying UDTs
2017-05-16 13:38:52 +02:00
Patrick Junger
d4e0b1d093
Added namespace in method testCaseEnded
...
Did not compile as is
2017-05-14 14:11:47 +02:00
Martin Hořeňovský
5604ec7266
Updated toString documentation
...
It will need another update when Catch 2 goes live.
Closes #741
2017-05-03 21:09:27 +02:00
JayAndCatchFire
6e0fa4be68
Update opensource-users.md
...
Fixed broken link to LICENSE
2017-04-27 10:29:58 +02:00
Phil Nash
a0ada2e935
v1.9.3
2017-04-25 14:23:06 +00:00
Phil Nash
569d355b36
Removed C++11 config macro docs
2017-04-25 14:57:47 +01:00
Martin Hořeňovský
fc7f0a02b8
v1.9.2
2017-04-25 11:08:02 +02:00
Martin Hořeňovský
4cdb203ec3
Improve documentation about using Catch with CMake
...
Also added a note about the `contrib/ParseAndAddCatchTests.cmake`
script.
Closes #882
2017-04-24 16:27:43 +02:00
Alexander Batischev
49d87cf182
Add Newsbeuter to OSS users list ( #891 )
2017-04-22 16:02:55 +02:00
Phil Nash
b591cb9a03
Added note about thread safety in assertions
...
- closes #875
2017-04-11 14:25:19 +01:00
Martin Hořeňovský
c6990cdf91
v1.9.1 release
2017-04-09 21:25:20 +02:00
Phil Nash
5577322062
Added Nonius to open-sources users
2017-04-08 22:47:13 +01:00
Martin Hořeňovský
1b03c5ab6a
v1.9.0 release
2017-04-07 22:56:36 +02:00
Phil Nash
7dd3c19027
Added NASA to commercial users list
2017-04-07 19:12:13 +01:00
Martin Hořeňovský
3ae076ce8d
Updated REQUIRE* documentation under FAST_COMPILE
2017-04-05 10:26:19 +02:00
Sergey Semushin
94425ad59b
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.
2017-04-05 09:53:10 +02:00
Martin Hořeňovský
3a3f152979
Updated documentation of CATCH_CONFIG_FAST_COMPILE
2017-03-29 21:13:51 +02:00
Mateusz Łoskot
2a221b8fcd
Add nanodbc library to Catch users
2017-03-26 21:26:08 +02:00
Martin Hořeňovský
d762a7ca6c
Expanded documentation about THROWS_AS assertions
2017-03-23 21:16:52 +01:00
Phil Nash
cffb031ce1
Added polymorphic_value to OSS users
2017-03-22 10:33:52 +00:00
Martin Hořeňovský
6a009fabcb
Documented REQUIRE under CATCH_CONFIG_FAST_COMPILE
2017-03-17 17:02:39 +01:00
Phil Nash
e7984e3711
Reorganised the readme/ ref docs TOC and added link to reporters docs
2017-03-15 09:08:20 +00:00
Phil Nash
90d89377ea
Added docs on reporters
2017-03-15 09:07:23 +00:00
Phil Nash
0692317bc5
Added Obj-C bindings fix to release notes
2017-03-15 09:04:09 +00:00
Martin Hořeňovský
95fc8d62a2
Fixed up old documentation links in release notes
2017-03-13 21:31:26 +01:00
Martin Hořeňovský
0c015aa887
v1.8.2 release
2017-03-13 21:29:30 +01:00
Phil Nash
f69f821853
Updatecd [!shouldFail] docs with extra explanatory note,
2017-03-13 19:35:17 +00:00
Phil Nash
485dbdc0e7
Added link to event listeners docs
2017-03-13 19:27:18 +00:00
Phil Nash
68da5a6d19
Docs for Listeners
2017-03-10 19:17:25 +00:00
Phil Nash
5dd0639520
Added FAIL_CHECK
...
Works like FAIL, but does not abort test.
As proposed in #765
2017-03-08 15:42:11 +00:00
m0ppers
807941eb31
Add ArangoDB
2017-03-07 12:29:13 +01:00
Martin Hořeňovský
af1ed708e4
Copied release note fixes to documentation
2017-03-06 10:46:21 +01:00
Phil Nash
658b5f63ef
Updated release notes
2017-03-01 16:06:48 +00:00
Phil Nash
470561cbbd
Update release-notes.md
...
Removed speed up time placeholder
2017-03-01 08:24:16 +00:00
Phil Nash
417202b743
Update release-notes.md
...
Fixed docs/ paths
2017-03-01 08:22:38 +00:00
Phil Nash
0952b76e16
v1.8.0 release
2017-02-28 14:19:09 +00:00
Martin Hořeňovský
e4f4335b07
Improved Approx documentation
2017-02-27 14:22:17 +01:00
Martin Hořeňovský
593161ddd8
Documented the new vector matchers
2017-02-24 15:42:11 +01:00
Martin Hořeňovský
71e500f4b5
Updated reporter documentation
2017-02-24 14:01:38 +01:00
Justin Wilson
b753f05d74
Add reporter for Automake ( #826 )
...
This allows for integration with Automake's default log compiler.
See #826 for more details.
2017-02-22 11:17:25 +01:00
Martin Hořeňovský
5d8055319e
Updated docs to reflect the change to leak checking
2017-02-18 17:24:31 +01:00
Martin Hořeňovský
9202a77498
Documentation improvement
2017-02-16 11:11:52 +01:00
Martin Hořeňovský
d8230a8d4d
Add opt-in leak detection under MSVC + Windows.
...
Closes #439
2017-02-16 11:09:09 +01:00
Martin Hořeňovský
c6178601c5
Cygwin compatibility fixes
2017-02-15 17:57:22 +01:00
Martin Hořeňovský
c9a37c59c4
Added CATCH_CONFIG_FAST_COMPILE
to documentation.
2017-02-15 10:42:11 +01:00
Phil Nash
5cb9e47034
Added SOCI to open-source users
2017-02-15 08:39:21 +00:00
Phil Nash
044b616127
Added link to matchers docs from readme
2017-02-15 08:30:47 +00:00
Kevin Wojniak
f88049169e
Fix wrong short option for section
2017-02-15 08:17:43 +01:00
Phil Nash
d4ae1b18c0
Matcher documentation
2017-02-14 09:16:54 +00:00
Phil Nash
d08cee288f
v1.7.2 build
2017-02-13 16:15:42 +00:00
Martin Hořeňovský
d890791800
Fixed editing mishap in documentation.
2017-02-12 15:48:32 +01:00
Martin Hořeňovský
26f6012bb9
Expanded the practical example in slow-compiles documentation
2017-02-12 14:47:25 +01:00
Phil Nash
324260f253
Removed reference to DEBUG in command line docs
2017-02-11 23:39:38 +00:00
Martin Hořeňovský
fd7dde10d3
Added example of how to separately compile Catch's main
...
Closes #632
2017-02-11 19:11:57 +01:00
Phil Nash
9a3788d98c
Added links to open source users page from general pages
2017-02-10 22:50:40 +00:00
Phil Nash
c72ba93f92
Added file for listing commercial users
2017-02-09 17:54:13 +00:00
Phil Nash
c1a5391034
Added some more open source projects
2017-02-08 21:47:07 +00:00
Martin Hořeňovský
a38ccec33a
Added 3rd party bug to documentation
2017-02-08 20:53:39 +01:00
Phil Nash
1ff56301a1
Corrected formatting
2017-02-08 18:35:30 +00:00
Phil Nash
aee3675968
Added ChakraCore, Couchbase-lite and MAME rot OS projects
2017-02-08 18:34:19 +00:00
Phil Nash
0579f07092
Added RxCpp to OS page
2017-02-08 18:02:11 +00:00
Phil Nash
e9ad954435
Seeded new doc page for tracking open source projects that use Catch
2017-02-08 17:15:37 +00:00
Phil Nash
1e87cae8af
Documented the _THROWS_WITH macros, as well as slightly expanding the matchers docs.
2017-02-08 16:18:53 +00:00
Martin Hořeňovský
7b8a27eadb
v1.7.1 build
2017-02-07 10:06:52 +01:00
Martin Hořeňovský
f126d7943a
Add explanation of THROW assertion limits + using lambda
2017-02-06 16:08:13 +01:00
Martin Hořeňovský
cd489d9647
More documentation of known issues.
...
Closes #315
2017-02-06 15:55:01 +01:00
Martin Hořeňovský
e991c006b7
Fixes for MinGW compatibility
...
Some versions of MinGW do not support enough of Win32 API to let us work
with SEH, so SEH is now MSVC only (+ configurable toggle).
Also made use of gmtime_s MSVC only (as oposed to Windows only).
Fixes #805
2017-02-06 01:43:53 +01:00
Martin Hořeňovský
7e7c813486
New documentation section: "known limitations"
...
It contains known limitation such as the fact that Catch is not thread
safe, it does not support running tests in forked process or running
multiple tests in parallel
closes #399
closes #681
closes #246
closes #483
2017-02-06 00:53:39 +01:00
Martin Hořeňovský
ce37f48ffa
v1.7.0 build
2017-02-01 21:47:43 +01:00
Phil Nash
8cad76a749
typo
2017-02-01 14:39:06 +00:00
Phil Nash
1a3f6d829b
Updated command line docs with info on -c for running sections, as well as -# for filenames as tags
2017-02-01 14:37:02 +00:00
Jan Včelák
1e5176bd69
Cap main exit code to 255 ( #797 )
...
Changed default main to clamp exit code to 8 bits because of POSIX limitations.
Updated documentation about declaring non-default main.
2017-01-31 20:48:14 +01:00
Martin Hořeňovský
c97ada1910
Improved assertion documentation
...
Mentioned that decomposing `&&` and `||` is not supported, gave examples
+ possible workarounds.
Closes #621 , #787 , #341 and maybe others I haven't found.
2017-01-30 19:42:27 +01:00
Martin Hořeňovský
60a9ac7e65
Enabled previous commit under MSVC, introduced new feature toggle
2017-01-26 18:47:29 +01:00
Joshua Gerrard
51860f1568
Change include -> single_include in CMake example
2017-01-26 10:24:48 +01:00
Phil Nash
31c23b9489
Added [!nonportable] tag
2017-01-23 17:44:55 +00:00
Martin Hořeňovský
9a56609569
v1.6.1 build
2017-01-20 12:49:59 +01:00
Martin Hořeňovský
cfaf906417
Changed documentation to use standard main function signature
2017-01-19 17:05:01 +01:00
Martin Hořeňovský
2e87f8e328
Merge branch 'windows-header-defines' of https://github.com/horenmar/Catch
2017-01-16 17:00:43 +01:00
Martin Hořeňovský
b3907a78e1
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.
2017-01-12 16:00:02 +01:00
Phil Nash
e6aa1f4e4e
Added note on escaping names on command line to docs
2017-01-11 17:14:28 +00:00
Phil Nash
1ff0acfe22
Tweaked release notes page with better formatting
2017-01-11 16:50:35 +00:00
Phil Nash
713ec400e8
Fixed type in “Release Notes” link
2017-01-11 16:46:09 +00:00
Phil Nash
3b2f206191
v1.6.0 build - including release notes
2017-01-11 16:44:36 +00:00
Martin Hořeňovský
737f4ea77c
Added missing C++11 feature toggle to docs
2017-01-10 22:43:58 +01:00
Phil Nash
b0de6c938a
Updated docs for contributing
2017-01-10 07:36:06 +00:00
Kylo Ginsberg
10c44847f4
Make backticks symmetric in markdown
2017-01-09 18:03:40 +01:00
Antoine Wendlinger
8d326424f3
Minor typo fix
2017-01-07 22:05:18 +01:00