thecppzoo
3f3238edf0
operator<< works from the global namespace
...
Since https://github.com/catchorg/Catch2/pull/1405 was merged and propagated to the single include declaring a user operator<< in the global namespace makes it available to Catch2 string converters.
2018-11-16 16:45:13 -08:00
Martin Hořeňovský
00d4f5d3c6
Add documentation for templated tests
2018-11-16 21:21:30 +01:00
Antonio Borondo
87950d9cfa
Fix Cute test framework URL
2018-11-05 19:38:37 +01:00
Martin Hořeňovský
03d122a35c
v2.4.2
2018-10-26 21:14:16 +02:00
Martin Hořeňovský
1d9b506e39
Add documentation for some miscellaneous and less important macros
...
Fixes #1367
2018-10-26 20:50:32 +02:00
Stephane Del Pino
544c7d7cbf
Add the optional variable OptionalCatchTestLauncher
...
This variable is set to allow the use of the nice ParseAndAddCatchTests script
in the case where a launcher is needed to execute the script.
This is introduced to allow to launch unit tests using mpi. In this case one can
write for instance
set(OptionalCatchTestLauncher ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} ${NUMPROC})
before calling the ParseAndAddCatchTests function.
2018-10-25 15:51:15 +02:00
Martin Hořeňovský
9e1bdca466
v2.4.1
2018-09-28 15:52:51 +02:00
Martin Moene
558bbe7d24
Add example for TeamCity reporter and refer to it
...
Prevent warnings
- gnu: -Wcomment: multi-line comment
- clang: -Wweak-vtables 'class' has no out-of-line virtual method definitions; its vtable will be emitted in every translation unit
- clang: -Winconsistent-missing-override: 'method' overrides a member function but is not marked 'override'
- MSVC: C4702: unreachable code
2018-09-27 23:20:02 +02:00
Martin Hořeňovský
4dd6e81d0f
Update "Known limitations" section of documentation
...
This fixes some wording that implies C++98 standard, updates
the recommended solution to looped SECTION macros and mentioned
the "last section failed, test needs to be rerun" problem.
Related to #1367
Related to #1384
Related to #1389
2018-09-21 21:03:14 +02:00
Martin Hořeňovský
9e6d7bbf00
Add documentation for installing Catch from the repository
...
This might prove helpful when the package managers either doesn't
have Catch at all, or provides it in obsolete version (Ubuntu 16.04,
I am looking at you).
Closes #1383
2018-09-21 20:48:18 +02:00
Martin Hořeňovský
dfb025cf08
Change wording of Approx documentation to be less misleading
...
The "percentage" suggests that the expected epsilon can be in
[0, 100], but the expected values are in [0, 1]. The new wording
uses "coefficient", to make it clearer that we are talking about
values in [0, 1].
Closes #1388
2018-09-21 20:04:56 +02:00
melak47
c638c57209
Add StringMaker for std::variant, std::monostate ( #1380 )
...
The StringMaker is off by default and can be enabled by a new macro `CATCH_CONFIG_ENABLE_VARIANT_STRINGMAKER`, to avoid increasing the footprint of stringification machinery by default.
2018-09-20 14:13:35 +02:00
melak47
a575536abe
Add StringMaker for std::(w)string_view
...
Fixes #1375
2018-09-10 11:37:26 +02:00
Martin Hořeňovský
46e99e258f
Fixup TOC script sluggification and documentation
2018-09-09 17:09:57 +02:00
Martin Moene
a81c01d4f9
Updated documentation TOCs
2018-09-08 11:05:52 +02:00
Martin Hořeňovský
60b05b2041
v2.4.0
2018-09-04 11:59:15 +02:00
Martin Hořeňovský
232ea3c456
Add documentation for no-exception support
...
Closes #703
Closes #1358
2018-09-04 10:06:31 +02:00
Axel Huebl
7667a7d89c
Docs: TABs to Spaces
...
Replace TABs with four (4) spaces in code docs.
2018-08-29 18:05:22 +02:00
George Fotopoulos
2067c8d3bd
Update opensource-users.md
...
Add "thor"
Update "forest" description
2018-08-29 14:51:17 +02:00
Martin Hořeňovský
94121a5f6d
Add a basic documentation for generators
2018-08-24 13:34:27 +02:00
Martin Hořeňovský
15cf3caace
v2.3.0
2018-07-23 10:12:15 +02:00
Martin Hořeňovský
797d3b04df
Reinstate CATCH_BUILD_TESTING CMake option
2018-07-22 18:01:42 +02:00
Martin Hořeňovský
ce80358306
Document Approx's UDL support
2018-07-15 17:38:57 +02:00
Axel Huebl
5347ff9e5f
Refactor: override implies virtual
...
If not used with `final`, override implies `virtual`.
Detected via CodeFactor score.
Another reference on SO:
https://stackoverflow.com/questions/43466863/isnt-virtual-keyword-redundant-when-override-or-final-specifiers-are-used
2018-07-12 14:27:06 +02:00
Unknown
e21c6aa94d
Fix the second Multiple-file example file link
...
Previously it pointed to the first file as well.
2018-07-09 15:47:03 +02:00
Martin Hořeňovský
7a59d5027f
Link the example from CATCH_CONFIG_NOSTDOUT
documentation
2018-07-08 13:58:44 +02:00
Martin Hořeňovský
c8941cccb5
Add an example on providing streams with CATCH_CONFIG_NOSTDOUT
...
Related to #1037
Closes #1290
2018-07-08 13:38:42 +02:00
Martin Hořeňovský
5eeb6aa361
Update Approx documentation
...
Fixes #1328
2018-07-05 17:28:00 +02:00
Stephen McDowell
ad120965cf
fix link to single header version catch.hpp
2018-07-01 12:37:13 +02:00
Martin Hořeňovský
f460a7d8f9
Fix documentation of CATCH_CONFIG_FAST_COMPILE
...
Related to issue #1279
2018-06-30 12:31:46 +02:00
Martin Hořeňovský
ebf89000f1
Update thread safety documentation
...
Closes #1302
2018-06-28 22:35:42 +02:00
Martin Hořeňovský
e69afb6252
Remove removed macros from documentation
2018-06-28 09:43:10 +02:00
Martin Hořeňovský
bf221583b1
Update CMake and build documentation
2018-06-24 12:32:22 +02:00
Martin Hořeňovský
c5301bf8bf
Updated release process documentation to reflect vcpkg autoupdate
2018-06-11 22:44:14 +02:00
Martin Hořeňovský
d2a130f243
v2.2.3
2018-06-06 23:19:06 +02:00
Cristian Morales Vega
7abd7db2c8
Fix minor typo in the documentation
2018-06-01 22:24:49 +02:00
Martin Hořeňovský
df0b0e64e1
Make FALLBACK_STRINGIFIER documentation more explicit
...
Related to #1024
2018-05-14 21:03:07 +02:00
Martin Hořeňovský
db570b7e24
Split list of examples into "done" and "planned".
...
Closes #1282
2018-05-09 22:49:04 +02:00
Martin Hořeňovský
0074926e5c
Provide a polyfill over std::to_string
...
Android apparently does not support `std::to_string`, so we add a
small polyfill over it. Right now only the ULP matcher uses it,
but we have had plans to use it in `StringMaker<int>` and friends,
as it performs a lot better than `std::stringstream` based
stringification on MSVC.
See #1280 for more details
2018-05-09 21:47:42 +02:00
Palotás Boldizsár
dd99a66cf4
Add documentation for --use-colour
...
The documentation added is based on output from `-?` (help),
and comments to #590 .
2018-05-06 11:37:00 +02:00
Christian Berger
7f791fa08f
Suggestion for adding libcluon that is also using Catch2 for testing
2018-04-30 16:02:41 +02:00
Martin Hořeňovský
e92b9c07c3
Add an experimental new way of capturing stdout/stderr
...
Unlike the relatively non-invasive old way of capturing stdout/stderr,
this new way is also able to capture output from C's stdlib functions
such as `printf`. This is done by redirecting stdout and stderr file
descriptors to a file, and then reading this file back.
This approach has two sizeable drawbacks:
1) Performance, obviously. Previously an installed capture made the
program run faster (as long as it was then discarded), because a call
to `std::cout` did not result in text output to the console. This new
capture method in fact forces disk IO. While it is likely that any
modern OS will keep this file in memory-cache and might never actually
issue the IO to the backing storage, it is still a possibility and
calls to the file system are not free.
2) Nonportability. While POSIX is usually assumed portable, and this
implementation relies only on a very common parts of it, it is no
longer standard C++ (or just plain C) and thus might not be available
on some obscure platforms. Different C libs might also implement the
relevant functions in a less-than-useful ways (e.g. MS's `tmpfile`
generates a temp file inside system folder, so it will not work
without elevated privileges and thus is useless).
These two drawbacks mean that, at least for now, the new capture is
opt-in. To opt-in, `CATCH_CONFIG_EXPERIMENTAL_REDIRECT` needs to be
defined in the implementation file.
Closes #1243
2018-04-29 22:25:49 +02:00
Barry
200d3ad824
Support for parenthesizing types with commas.
2018-04-20 15:11:09 +02:00
Martin Hořeňovský
d2d8455b57
v2.2.2
2018-04-06 12:11:22 +02:00
Martin Hořeňovský
1ca8f43b01
Add PredicateMatcher that takes an arbitrary predicate functions
...
Also adds `Predicate` helper function to create `PredicateMatcher`.
Because of limitations in type inference it needs to be explicitly
typed, like so
`Predicate<std::string>([](std::string const& str) { ... })`.
It also takes an optional second argument for description of the
predicate.
It is possible to infer the argument with sufficient TMP, see
https://stackoverflow.com/questions/43560492/how-to-extract-lambdas-return-type-and-variadic-parameters-pack-back-from-gener/43561563#43561563
but I don't think that the magic is worth introducing ATM.
Closes #1236
2018-04-04 11:14:19 +02:00
Martin Hořeňovský
0a34cc201e
v2.2.1
2018-03-11 12:04:28 +01:00
Martin Hořeňovský
d14b7563c2
v2.2.0
2018-03-07 11:06:15 +01:00
Martin Hořeňovský
552589f25b
Merge branch 'master' into master
2018-03-07 10:37:50 +01:00
Tomas Zeman
352853ed7e
Introduce conditional wchar_t (and std::wstring) support
...
The support is turned on by default but the user might need to be able
to turn it off which is now possible by defining CATCH_CONFIG_NO_WCHAR.
2018-03-07 10:35:31 +01:00
Josh Soref
b11175548a
Fixup various spelling errors ( #1208 )
2018-03-07 10:08:35 +01:00
Martin Hořeňovský
cf4b7eead9
Document CATCH_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS macro
...
Also fix how it can be disabled.
2018-02-25 21:22:38 +01:00
Nils Deppe
e84768fff1
Add SpECTRE project to list of users.
2018-02-14 08:31:33 +01:00
Martin Hořeňovský
31673ee0ca
Document CATCH_CONFIG_DEFAULT_REPORTER macro
2018-02-11 18:10:28 +01:00
Martin Hořeňovský
34d7a33574
Add a way to change fallback stringifier
...
This allows reuse of projects existing stringification machinery
Closes #1024
2018-02-11 16:31:12 +01:00
Martin Hořeňovský
082c3b84bc
Fix typos in documentation
2018-02-10 22:16:32 +01:00
Martin Hořeňovský
a90305f857
Add another known bug to limitations.md
...
Related to #1183
2018-02-10 13:51:33 +01:00
dvirtz
355b3f9952
Add option to warn when no tests ran
...
Closes #1158
2018-02-09 18:49:36 +01:00
Martin Hořeňovský
7cbd0b587a
v2.1.2
2018-02-09 17:10:27 +01:00
Martin Hořeňovský
5e484862f2
Add Catch::is_range to documentation
2018-02-01 20:29:49 +01:00
George Fotopoulos
5e8df1c384
Update opensource-users.md
2018-01-28 21:05:24 +01:00
Martin Hořeňovský
44dbda9f01
Add CATCH_VERSION_* defines for external use
...
I wonder how much use they will actually see, but their cost is
fairly minor.
Closes #1131
2018-01-26 20:56:14 +01:00
Martin Hořeňovský
62dae592c3
v2.1.1
2018-01-26 16:06:07 +01:00
Phil Nash
d5959907f5
Added Catch::clara namespace to doc for adding Opt
...
- Thanks to sakamoto-poteko in #1159 for point out its ommission
2018-01-23 07:44:09 +00:00
Martin Hořeňovský
9700ee4fc0
Update CTest autodiscovery documentation
2018-01-12 12:28:14 +01:00
Martin Hořeňovský
bbda8cd77c
Update reporter docs with their new location
2018-01-12 12:20:52 +01:00
Martin Hořeňovský
5774c4f9c2
Update release process with the need to release reporters
2018-01-11 21:06:35 +01:00
Martin Hořeňovský
cd76f5730c
v2.1.0
2018-01-10 13:53:04 +01:00
Aivars Kalvans
13ea4225e7
Add fuxedo.io to open source users
2018-01-06 14:02:01 +01:00
Phil Nash
fc88313d45
Added DtCraft to Open Source users
2017-12-12 17:22:40 +00:00
Dan Nissenbaum
88d2bac624
Trivial typo fix. ( #1119 )
2017-12-09 21:29:39 +01:00
Martin Hořeňovský
24851dff99
Add release notes from the EOL of Catch Classic
2017-12-03 14:19:02 +01:00
lbersch
516dbc83bc
Add inja to open source users ( #1106 )
...
* Add Inja to open-source users
* Capitalize first letter in user description
* Fix url
2017-11-17 11:49:39 +01:00
Martin Moene
2bbba4f544
Refer to example code from the Tutorial
2017-11-15 15:37:39 +01:00
Martin Moene
29cdd6c526
Add link to event listener example to documentation
2017-11-15 15:37:39 +01:00
Martin Moene
dfb7217613
Add list of examples to documentation
2017-11-15 15:37:39 +01:00
Martin Hořeňovský
97a8640cbf
Update 3rd party bugs documentation
...
Removes bugs from no longer supported compilers
Adds a confirmed 3rd party bug in VS 2015
Closes #881
2017-11-14 22:05:30 +01:00
Martin Hořeňovský
033e078320
Fix typo in build system docs
2017-11-14 21:42:28 +01:00
Martin Hořeňovský
9796a77a37
Initial prototype of PCH support
...
Related to #1061
2017-11-14 21:41:36 +01:00
Martin Hořeňovský
b0857e846f
Provide a regex matcher against std::string
...
Related to #1040
2017-11-13 15:35:31 +01:00
Martin Hořeňovský
0b1f1b1003
Add ULP and margin matcher
...
Closes #1074
2017-11-10 18:33:00 +01:00
Phil Nash
24e6d5fa33
Fixed release notes mention of *_THROWS_MATCHES
...
As reported in #1088
2017-11-09 11:09:17 +01:00
Phil Nash
7423a481eb
Updated some Catch references to Catch2
2017-11-03 13:05:09 +00:00
Phil Nash
b119ebdde1
v2.0.1 release
2017-11-03 12:01:52 +00:00
Phil Nash
1c43fb64c1
Added docs for extending command line with Clara
2017-11-02 18:01:24 +00:00
Phil Nash
8b40c26434
Removed handling of start-up exceptions from custom main docs
2017-11-02 18:01:24 +00:00
Martin Hořeňovský
31cc62e6b7
Updated release notes with Approx changes
2017-11-01 22:25:17 +01:00
Martin Hořeňovský
a49e6fdc27
Update Approx documentation
2017-11-01 13:45:21 +01:00
Martin Hořeňovský
ae21020640
dev build 6
2017-10-31 15:17:21 +01:00
Pfiffikus
c3ddd4a7e2
Update test-cases-and-sections.md
...
some clarification and typo correction
2017-10-31 14:28:30 +01:00
Clare Macrae
c43ce85416
Fix very minor typo
...
it's -> its
2017-10-31 14:28:20 +01:00
Pfiffikus
4220f2eef2
Update build-systems.md
...
typo correction
2017-10-31 14:28:10 +01:00
Martin Hořeňovský
88e912b4d1
Fix documentation crosslink in configuration.md
2017-10-31 14:19:53 +01:00
Martin Hořeňovský
276393e4e5
Change ToC script to use <br> instead of trailing spaces
...
Also updated docs that contain ToC. Fixes #1048
2017-10-13 11:17:38 +02:00
Martin Hořeňovský
79b405fd3f
Add stringification for std::chrono::{duration,time_point}
...
Also hides std::chrono, std::pair and std::chrono::* behind
new configuration macros, CATCH_CONFIG_ENABLE_*_STRINGMAKER
to avoid dragging in <utility>, <tuple> and <chrono> in common
path, unless requested.
2017-10-09 13:03:29 +02:00
Martin Hořeňovský
b80c5134f0
Updated release notes
2017-10-01 17:03:06 +02:00
Martin Hořeňovský
80bbce8424
Reorganize release notes
2017-09-26 13:38:09 +02:00
Phil Nash
e9f0773f37
Updated release notes
2017-09-19 17:36:20 +01:00
Martin Hořeňovský
a4df0b2c37
Remove obsoleted utility functions on matchers
...
Natural operators, &&, || and ! are preferred and do not have
limited arity.
2017-08-30 19:45:09 +02:00
Martin Hořeňovský
13213faa4e
Update release notes in regards to CATCH_CONFIG_DISABLE
2017-08-30 12:43:23 +02:00
Martin Moene
07211cea9c
Add table of contents
2017-08-29 17:25:24 +02:00
Martin Moene
c5553019cc
Fix heading levels
...
- page title (chapter): 1
- sections: 2
2017-08-29 17:25:24 +02:00
Martin Moene
66124d9e38
Make Current, Older releases sections, add subsections for each minor release
2017-08-29 17:25:24 +02:00
Martin Hořeňovský
053c29a2b8
Add partial implementation of CATCH_CONFIG_DISABLE
...
* Assertions are defined into (void)(0) no-op
* SECTIONs are defined away (leaving {} as scope)
* TEST_CASEs and TEST_CASE_METHODs are not registered.
* REGISTER_TEST_CASE is defined into (void)(0) no-op
* METHOD_AS_TEST_CASE is defined away
2017-08-27 22:05:25 +02:00
Martin Hořeňovský
2a13593885
Update CATCH_CONFIG_FAST_COMPILE documentation
...
Now it mentions that CHECK family of macros is affected as well
2017-08-27 16:48:15 +02:00
Martin Hořeňovský
a0988dabf6
Add the experimental benchmark feature in documentation
2017-08-27 16:47:25 +02:00
Martin Hořeňovský
8f6d6a4a2d
Remove legacy [hide] tag
...
Also removed even legacier "./" prefix for test case name...
2017-08-27 16:45:53 +02:00
Martin Hořeňovský
e8d3be3621
Workaround raw string literal bug in VS2017
2017-08-27 12:38:59 +02:00
Martin Moene
071f49b12b
Add page titles
2017-08-24 22:56:27 +02:00
Martin Moene
6c09b45a20
Let toplevel links to .md files link to .md#top
2017-08-24 19:40:36 +02:00
Martin Moene
e8225052f1
Add html anchor 'top'
2017-08-24 19:40:36 +02:00
Martin Hořeňovský
49f5919c41
Add partial release notes for 2.0.0
2017-08-18 20:15:00 +02:00
Martin Hořeňovský
c7da5b5128
Remove obsolete note from reporter documentation
2017-08-18 19:33:00 +02:00
Martin Hořeňovský
3dc4de8173
Document implementation of listeners in non-main files
...
Closes #991
2017-08-18 19:33:00 +02:00
Martin Hořeňovský
626b1d3936
Add problems with SECTION
s in loops to documentations
2017-08-18 19:33:00 +02:00
Phil Nash
ff9aaf3afe
Added Clara and TextFlowCpp to open source users
2017-08-17 10:48:53 +01:00
Phil Nash
0b52dbe8bb
Small doc updates
2017-08-17 08:28:45 +01:00
Phil Nash
699e571400
Documented benchmark-resolution-multiple command line option
...
- and increased default to 100
2017-08-15 19:51:22 +01:00
Phil Nash
07ded81541
Added --libidentify and --wait-for-keypress to docs
2017-08-15 19:43:30 +01:00
Monocasual
74dfd0b1e0
Add open-source user
2017-08-15 13:48:43 +01:00
Martin Hořeňovský
0aec06f4c3
Update documentation with changes from 7e4038d
2017-08-14 12:20:27 +01:00
Martin Hořeňovský
aa42dd92d1
Merge branch 'master' into dev-modernize
2017-08-10 11:34:26 +02:00
Martin Hořeňovský
705a1bf527
Add wandbox to release process documentation
...
Also some formatting and wording changes.
2017-08-08 23:04:10 +02:00
Cody Han
d5613fb18a
Update matchers docs to reflect namespace usage
2017-08-03 19:11:21 +02:00
Markus Werle
28741467d5
Update tutorial.md
2017-08-01 22:29:13 +02:00
Ivan Kush
7a76ff161b
added 'args' argument parser library
2017-08-01 22:27:51 +02:00
Martin Hořeňovský
0ca4cfb743
Introduce compile time toggle to remove Matchers from TU
...
The toggle is `CATCH_CONFIG_DISABLE_MATCHERS` and the only use is
to speed up compilation of small TUs. For large ones it is likely
insignificant, because the speed up is constant relative to
number of tests/assertions in TU.
2017-07-28 21:34:34 +02:00
Martin Hořeňovský
a14bd08b27
Update documentation to reflect the last change
2017-07-19 21:34:06 +02:00
Martin Hořeňovský
91c1556078
Moved Catch NotImplementedException out of the common include path
...
We could probably toss it away completely, currently it is used
only by TeamCity reporter.
2017-07-12 15:05:01 +02:00
Ivan Kush
8d380a7399
added 'args' argument parser library
2017-07-05 15:55:28 +02:00
Markus Werle
6f32db35af
Update tutorial.md
2017-06-28 20:54:31 +02:00
Phil Nash
cb0a5194af
Updated overview docs a bit
2017-06-27 11:45:47 +01:00
Phil Nash
4c1880b35f
Clamp exit code internally, so it doesn’t have to be done in every main() implies
2017-06-27 11:37:50 +01:00
Martin Hořeňovský
ee67ac6b7c
v1.9.6
2017-06-27 12:21:48 +02:00
Martin Hořeňovský
c5bac73cad
Merge branch 'master' into dev-modernize
...
This includes the performance commits done recently
2017-06-26 19:08:42 +02:00
Martin Hořeňovský
9382534d59
Added "How to test changes in PR" section to documentation
...
Also linked it from PR template.
Closes #936
2017-06-26 16:54:14 +01:00
Martin Hořeňovský
a6cdcd43aa
Added "How to test changes in PR" section to documentation
...
Also linked it from PR template.
Closes #936
2017-06-22 18:56:10 +02:00
Martin Hořeňovský
017a63da62
v1.9.5
2017-06-15 13:08:26 +02:00
Martin Hořeňovský
e0aaba6cf8
Actually link #923 from the documentation
2017-06-06 16:46:46 +02:00
Martin Hořeňovský
a09bef23ed
Refer to #923 in reporter documentation
2017-06-06 16:43:14 +02:00
Martin Hořeňovský
c465fbd0ea
Slight documentation improvements
2017-06-05 18:42:04 +02:00
Martin Hořeňovský
950cae9040
Added new assertion macros: *_THROWS_WITH
...
It combines `*_THROWS_AS` and `*_THROWS_WITH` macros, so that the
exception type matches expectetations and its contents match a specific
matcher.
2017-06-05 18:40:50 +02:00
Martin Hořeňovský
7f6773bb4d
Merge branch 'master' into dev-modernize
...
Hopefully nothing went too wrong.
2017-06-05 17:19:42 +02:00
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
Eldar Zakirov
ccc34b63b6
URL fixed
2017-01-07 14:51:13 +01:00
faulda
e273a3dc88
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".
2017-01-07 09:56:21 +01:00
Victor
7bff9cb451
own-main.md: fix typo
2017-01-07 09:55:27 +01:00
andrew morton
fd1da4a1d1
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.
2017-01-07 09:45:38 +01:00
Rafael Eyng
7544644bb4
Update tutorial.md
...
Closes #633
2016-04-04 23:04:45 -03:00
Trevor Hickey
e52ad48fb7
removes link to missing readme file
2016-02-26 10:29:23 -05:00
Phil Nash
3bd20bf2cd
Removed reference to pre 1.0 release from README
2016-01-22 07:59:06 +00:00
Phil Nash
a49f088032
exception translators considered even for types deriving from std::exception, now
...
- also added docs for exception translators
- updated approvals
2015-11-18 08:39:21 +00:00
Phil Nash
b3b2352045
Fixed some missing sentence structure
...
Thanks to #517
2015-10-19 09:16:16 +01:00
Phil Nash
40d0d2f656
Added unique_ptr detection to compiler_capabilities
...
- as well as use by C++11 conformant compilers now enabled for VS2013 on too (see #479 )
- updated docs with this (and long long and override support)
2015-08-11 08:09:41 +01:00
Phil Nash
02e1966db3
Changed --filenames-as-tags prefix to #, added -# as short form and updated docs
2015-07-06 18:46:50 +01:00
Phil Nash
7ab3b5aefb
Added compiler feature suppression macros
...
_NO_ forms to disable detection of features - particularly C++11 features.
Also removed SFINAE detection (and use in tostring)
2015-06-30 08:41:55 +01:00
Phil Nash
21f7ef6fdc
Committed to semantic versioning
...
as prompted by #365 , #430 , #447 and a thread on the google group.
- split version bumping out of generateSingleHeader script
- separate scripts for bumping each version component
- "build" number only incremented for "develop" builds
2015-06-29 18:06:15 +01:00
Phil Nash
bdbfe69e3c
Merge branch 'master' of github.com:philsquared/Catch
2015-05-20 18:13:15 +01:00
Phil Nash
605d870384
Updated toString docs with StringMaker
2015-05-20 18:12:40 +01:00
Phil Nash
a55c1cfb97
Merge pull request #380 from socantre/master
...
s/ran/run
2015-05-20 06:27:00 +01:00
Phil Nash
e86daf8bdd
Reorganised C+11 feature detection a bit
...
and added CATCH_CONFIG_CPP11_NULLPTR for VS2015
2015-05-19 22:31:57 +01:00
Phil Nash
2946c1988c
Added comments on multi-file tests to tutorial
...
Prompted by PR #397 (and a lot of support history!) - added some comments on how to move beyond "everything in a single file"
2015-05-18 18:40:58 +01:00
Nikolaus Wittenstein
65953871fc
Fix typo in tutorial.md
2015-04-20 19:49:40 -04:00
Phil Nash
35f4266d00
Merge branch 'develop'
2015-03-27 20:49:32 +00:00
Phil Nash
4af4405ce1
Fixed a missing ), as per PR #363 and PR #390
2015-03-27 18:23:02 +00:00
Phil Nash
d9fbc62093
Merged from develop
2015-03-27 17:54:45 +00:00
socantre
dd460f0085
s/ran/run
2015-03-07 16:09:36 -05:00
Phil Nash
b9ec8a10ed
Merge pull request #344 from therocode/patch-1
...
Update test-fixtures.md
2014-12-30 18:36:27 +00:00
Phil Nash
1cbc4f2c9c
Merge branch 'develop' of https://github.com/SeanCline/Catch into develop
2014-12-23 18:54:08 +00:00
Phil Nash
acf638f2bc
Added docs for floating point comparisons
2014-12-17 18:45:50 +00:00
Phil Nash
b454c43dea
Extends configuration docs
2014-12-17 18:16:24 +00:00
Phil Nash
7abc9fa8b7
Added docs for --invisibles
...
also reordered command line docs jump list to match order listed when getting usage from Catch itself.
2014-12-16 18:38:40 +00:00
Phil Nash
f5c9859131
Try again to fix --order docs
2014-12-16 18:21:42 +00:00
Phil Nash
0b1fa6a080
fixed (hopefully) formatting of '--order' docs
...
if only there was a standard-markdown!
2014-12-16 18:19:28 +00:00
Phil Nash
840b99af92
Added docs for --input-file
...
(somehow missing from previous commit)
2014-12-16 18:13:29 +00:00
Phil Nash
5259b78fea
Updated command line docs
...
Added docs for:
-f, --input-file
--list-test-names-only
--order
--rng-seed
2014-12-16 18:11:13 +00:00
Phil Nash
7e1f21b334
tweaks to tutorial
2014-12-15 07:25:54 +00:00
Phil Nash
30888f59bf
removed spurious }
2014-12-12 08:33:10 +00:00
Phil Nash
82754c1766
tweaked formatting
2014-12-12 08:29:21 +00:00
Phil Nash
c6d9bde04e
fixed case of tostring.md link
2014-12-09 22:58:28 +00:00
Phil Nash
15a8bdf45b
Added string conversions link
2014-12-09 19:15:49 +00:00
Phil Nash
27ce70c96b
Added documentation for toString
2014-12-09 18:54:35 +00:00
Phil Nash
32186db1b0
Added first cut of docs for configuring Catch
...
- initially just covers new colour config
- also updated all [Home] links in footers to go to local readme
2014-10-21 18:25:57 +01:00
Tobias Widlund
e26e1567c8
Update test-fixtures.md
...
Fix a small type
2014-10-13 16:37:03 +02:00
Anthony Super
c9746634c4
Documentation Changes
...
Modified several sentences for clarity and fixed a few typos.
2014-09-12 17:12:43 -06:00
Andy Balaam
389f3f5be8
Fix a typo (missing "n")
2014-08-22 15:18:33 +01:00
Phil Nash
4f4b44e3a2
Merge branch 'develop' of github.com:philsquared/Catch
...
Tweaked wording around ability to do BDD
2014-08-21 07:25:27 +01:00
Phil Nash
b3ece7e75d
Tweaked wording around ability to do BDD
2014-08-21 07:22:35 +01:00
Phil Nash
76edbc104c
Updated “contributing” docs to reflect new develop branch
2014-08-20 19:03:31 +01:00
Martin Moene
3e025cc2b6
Added bundled compact reporter
2014-08-19 23:43:51 +02:00
Phil Nash
bcbd0cbbc2
Merge pull request #302 from johannesmoene/doc-index
...
Add Readme as documentation entry
2014-08-19 07:44:34 +01:00
Martin Moene
e35f862653
Fixed link to blog post
2014-08-19 07:34:00 +02:00
Martin Moene
d59fd53e7e
Update link in tutorial
2014-08-15 14:30:38 +02:00
Martin Moene
6336bb1b6e
Add Readme as documentation entry
2014-08-15 14:12:53 +02:00
Phil Nash
08dc8458c0
Updated docs on slow compiles
2014-07-30 19:06:26 +01:00
Phil Nash
6880a0c909
Added FAQ on slow compiles to docs
2014-07-21 19:00:02 +01:00
Alex Moreno
c6022381f5
Fixed typo
2014-06-11 15:17:17 +08:00
Phil Nash
44aa45cc4f
Merge pull request #283 from lichray/patch-1
...
fix macro syntax in doc
2014-06-02 08:02:03 +01:00
Phil Nash
7f1156d477
Fixed typo
2014-05-29 17:10:38 +01:00
Zhihao Yuan
a9cd3a0ef8
fix macro syntax in doc
2014-05-28 18:27:34 -04:00
Joseph Schrag
d8bde3e847
Fixed Typo
2014-05-22 16:13:42 -06:00
Phil Nash
463f7bdf65
Merge pull request #260 from paleozogt/patch-1
...
GIT_EXECUTABLE undefined
2014-04-18 18:33:46 +01:00