dvirtz
4b086bd5b5
added target name to test name and labels
2017-05-18 16:00:18 +03:00
dvirtz
aac594aae3
add option to print debug messages
2017-05-18 15:53:35 +03:00
dvirtz
a49fa0edbe
use absolute path to test files - accroding to CMake docs EXISTS behavior is well-defined only for full paths.
2017-05-18 15:51:44 +03:00
Martin Hořeňovský
d271683c14
Added release process notes/checklist/explanation
2017-05-16 21:33:58 +02:00
Martin Hořeňovský
0bb8e1247e
Merge branch 'master' of https://github.com/awglyde/Catch
2017-05-16 16:09:51 +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ý
df5cf2d323
Minor fixup in updateVcpkgPackage.py
2017-05-16 14:34:55 +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ý
589c40077b
Typo fix
...
Somehow I made that in 5ffc8a84cd
without noticing
2017-05-16 13:51:17 +02:00
Patrick Junger
d4e0b1d093
Added namespace in method testCaseEnded
...
Did not compile as is
2017-05-14 14:11:47 +02:00
Antonio Di Monaco
b8443e67da
Added Win32 UNICODE wmain support ( #903 )
...
* Added wmain support
* Added appveyor.yml wmain configuration
* Added wmain configuration flag to CMake
2017-05-11 13:00:03 +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
Benjamin R. Jack
6f012f2d1d
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.
2017-05-01 19:55:17 +02:00
Martin Hořeňovský
98e61c31df
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.
2017-04-29 18:06:36 +02:00
Martin Hořeňovský
e641485132
Updated approval tests
2017-04-29 17:54:10 +02:00
Martin Hořeňovský
a3ceb8f007
Approval tests now can deal with different expansions of errno
2017-04-29 17:52:12 +02:00
Martin Hořeňovský
b819432271
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.
2017-04-29 17:50:03 +02:00
Martin Hořeňovský
9ceae8f51f
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
2017-04-28 20:27:10 +02:00
Martin Hořeňovský
5ffc8a84cd
Fix order of arguments in CATCH_FAIL and nonvariadic INTERNAL_CATCH_MSG
...
Fixes #896
2017-04-28 18:30:04 +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
e4694f58da
Removed errant uses of uint64_t
...
fixes #894
2017-04-25 14:15:59 +00:00
Martin Hořeňovský
fc7f0a02b8
v1.9.2
2017-04-25 11:08:02 +02:00
Phil Nash
211b330346
Don’t unconditionally #include <stdint.h> (as earlier MSVC don’t have it)
2017-04-25 08:43:14 +01:00
Phil Nash
d36fe214a6
Further tweaked alignment hack for Option
2017-04-25 08:38:25 +01:00
Martin Hořeňovský
a34c053f0a
All of Approx's member functions now accept strong typedefs
...
Previously `Approx::operator()`, `Approx::epsilon`, `Approx::margin` and
`Approx::scale` didn't.
Closes #888
2017-04-24 22:01:45 +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
Ernst Maurer
8014bf1124
cmake script to generate ctest definitions from catch tests: fix for test case body bracket
2017-04-24 13:33:04 +02:00
Alexander Batischev
49d87cf182
Add Newsbeuter to OSS users list ( #891 )
2017-04-22 16:02:55 +02:00
Phil Nash
eedcc82d31
Tweaked storage alignment "workaround" a bit more in Option.
2017-04-21 07:19:39 +01:00
Martin Hořeňovský
8e8259091c
Fix .travis.yml syntax
2017-04-20 22:54:17 +02:00
Martin Hořeňovský
7869e5b007
Enable C++11 and C++14 on OSX on Travis
2017-04-20 22:52:41 +02:00
Martin Hořeňovský
a49af4648c
Minor .travis.yml cleanup
...
Still could use someone more experienced to clean it up properly...
2017-04-20 22:50:07 +02:00
Martin Hořeňovský
417b2bcf5c
Enable C++14 on Linux on Travis
2017-04-20 22:47:05 +02:00
Martin Hořeňovský
8f0feaa6d2
Enable /std:c++latest (C++17) for AppVeyor VS 2017
2017-04-20 21:32:50 +02:00
Martin Hořeňovský
b95163bd3a
Don't enable POSIX signals under QNX
...
Fixes #889
2017-04-20 21:02:25 +02:00
Phil Nash
2809be87cc
“fixed” alignment in Option
2017-04-20 14:39:07 +01:00
Martin Hořeňovský
ac369b7b83
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.
2017-04-11 17:25:04 +02:00
Ernst Maurer
1aa3e4abfa
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 .
2017-04-11 16:51:02 +02:00
Phil Nash
e5c5a636a9
junit reporter does not count exceptions as failures if ok-to-fail
2017-04-11 15:47:42 +01:00
Phil Nash
2bf30e9e5a
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
2017-04-11 15:06:25 +01:00
Phil Nash
b591cb9a03
Added note about thread safety in assertions
...
- closes #875
2017-04-11 14:25:19 +01:00
Phil Nash
714d01c07c
approved tests that were correct the first time (previous approvals were erroneous)
2017-04-09 20:40:11 +01:00
Martin Hořeňovský
c6990cdf91
v1.9.1 release
2017-04-09 21:25:20 +02:00
Martin Hořeňovský
da8786b8fd
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)
2017-04-09 21:20:58 +02:00
Phil Nash
5577322062
Added Nonius to open-sources users
2017-04-08 22:47:13 +01:00