Gitiles
Code Review
Sign In
gerrit.cesnet.cz
/
github
/
onqtam
/
doctest
/
135a50e3a5783431526ef838dec4cdb1de385d1c
135a50e
fixing clang builds...
by onqtam
· 8 years ago
8c31176
fixing builds
by onqtam
· 8 years ago
7cc0e96
examples almost done! only assertion_macros.cpp is left
by onqtam
· 8 years ago
d320ac2
- templated test cases example is done - simplified a bit the cmake
by onqtam
· 8 years ago
119cfb6
- added an undocumented flag to omit the "skipped" part in the output summary - for convenience for the all_features example
by onqtam
· 8 years ago
e0f1880
- removed another unnecessary example that slowed down builds - now only the python script is left
by onqtam
· 8 years ago
27079bc
output is now like the old one
by onqtam
· 8 years ago
a985f5a
added playground project and made (again) the common.cmake behave when included multiple times
by onqtam
· 8 years ago
2c100d6
- added test outputs
by onqtam
· 8 years ago
12d5598
everything compiles!
by onqtam
· 8 years ago
98e12af
cleaning up examples
by onqtam
· 8 years ago
0d55e8d
added example how to filter out doctest options from the command line in the docs and removed it from the examples folder
by onqtam
· 8 years ago
56d9170
- added prefix for the TEST_MODE option - removed the cpp11 option
by onqtam
· 8 years ago
908ce00
fixing appveyor builds - the name of the solution had changed in my previous commits
by onqtam
· 8 years ago
41bd61f
fixed link to small logo
by onqtam
· 8 years ago
c10674f
adding first draft of logo
by onqtam
· 8 years ago
bff67f7
setting the cmake version of the project properly
by onqtam
· 8 years ago
26c2008
examples can no longer be built using cmake separately - they require cmake invocation from the root of the repository (and now use the modern way of handling include dependencies)
by onqtam
· 8 years ago
61954c3
reworked cmake a bit
by onqtam
· 8 years ago
08cf7dc
moved all cmake-related stuff to scripts/cmake
by onqtam
· 8 years ago
c89cf82
Read version from scripts/version.txt in CMakeLists.txt
by Giuseppe Roberti
· 8 years ago
f3425ae
add DOCTEST_SKIP_COVERAGE and DOCTEST_SKIP_EXAMPLES
by Giuseppe Roberti
· 8 years ago
e01299b
add cmake package configuration files creation
by Giuseppe Roberti
· 8 years ago
40f29f6
moved stuff around (compacted in one folder)
by onqtam
· 8 years ago
bc85976
- removed warning that is included in Wall/Wextra (although not documented in the online docs of GCC)
by onqtam
· 8 years ago
a67e510
improved compile times (not measured though...) - in commit d321e9baf9b4904da74ab3d7404b2d41aa50fb9c 1 year ago I introduced the always_false() function to silence the C4127 MSVC warning (conditional expression is constant) for constructs such as "do {} while(false)" - but that added an unnecessary function call. Now I fix that issue by using the "owl" technique - see this SO question: http://stackoverflow.com/a/1947233/3162383
by onqtam
· 8 years ago
6abb354
fixing -Wunused-parameter warning introduced in last commit
by onqtam
· 8 years ago
2751b56
simplified exception translation a bit - relates #12
by onqtam
· 8 years ago
a9675f5
- added CII badge
by onqtam
· 8 years ago
f41e25b
windows builds should be fixed! problem was that colors are disabled for the code coverage project and windows.h wasn't getting included - but it was needed for the recently added SEH support
by onqtam
· 8 years ago
bbaab9e
fixing clang builds
by onqtam
· 8 years ago
bab3f28
fixing builds with -fno-exceptions ...
by onqtam
· 8 years ago
dab0130
this should hopefully fix linux builds...
by onqtam
· 8 years ago
53d4e78
added "struct" infront of "sigaction" - seems necessary - see this SO question: http://stackoverflow.com/questions/14213270/sigaction-both-struct-and-function
by onqtam
· 8 years ago
596e1ba
fixing builds for old MSVC versions - where the is_constructible<> trait doesn't work - adding a default double overload - relates previous commit b68f6d7f6dfd7d37f5b78596007adca96da45588
by onqtam
· 8 years ago
b7716c6
Approx epsilon() and scale() can not take floats and strong typedefs of double as well - relates #62
by onqtam
· 8 years ago
b395b5e
added crash handling: signals on UNIX platforms or structured exceptions on Windows - closes #63
by onqtam
· 8 years ago
8fa60c0
preserving context from ```INFO()``` contexts when the test case ends from an exception - relates #48 #23 (also see this Catch PR: https://github.com/philsquared/Catch/pull/876 )
by onqtam
· 8 years ago
dfafb4b
clarified stuff in the docs
by onqtam
· 8 years ago
523d3d7
handling the newly introduced asser_with_message macros properly when exceptions are disabled - relates #48
by onqtam
· 8 years ago
e694ad1
silencing this warning again to fix my builds... I don't think it could end up silencing user code since by the time the evaluation of operator== (or whatever) comes to the doctest templates all operators with higher precedence should have already finished (regarding the expression decomposition)
by onqtam
· 8 years ago
2fffbd3
added comment about the use of operator << instead of <= for the expression decomposition
by onqtam
· 8 years ago
4d7222a
all clang/gcc builds should pass now!
by onqtam
· 8 years ago
0642b93
removed unnecessary silencing of Wdouble-promotion for gcc/clang
by onqtam
· 8 years ago
09288d3
simplified is_constructible<> to accept only one argument and removed pointer support - builds with old MSVC versions should pass now - relates #62
by onqtam
· 8 years ago
659ce3b
fixed the constructor - should now work for types from which double can be constructed - see here: http://stackoverflow.com/questions/43306848
by onqtam
· 8 years ago
2825144
Added support to Approx for strong typedefs of double - fixes #62
by onqtam
· 8 years ago
fafc9e6
Revert "- silenced warnings for unused variables in assert macros when DOCTEST_CONFIG_DISABLE is used"
by onqtam
· 8 years ago
77a96ea
- silenced warnings for unused variables in assert macros when DOCTEST_CONFIG_DISABLE is used
by onqtam
· 8 years ago
a486397
added 2 more notes about the templated test cases
by onqtam
· 8 years ago
0e35eb2
the TEST_CASE_TEMPLATE_INSTANTIATE and TYPE_TO_STRING macros now properly require a semicolon after their use
by onqtam
· 8 years ago
94ca1cd
builds should pass now... the return type of sizeof() is tricky - it gets stringified differently in some environments
by onqtam
· 8 years ago
8545faf
- moved contributing guidelines to root folder
by onqtam
· 8 years ago
ee6d4bf
implemented templated test cases - relates #38 - for more information read the parameterized-tests.md file
by onqtam
· 8 years ago
27a8c08
trying to get the gcc osx builds running again
by onqtam
· 8 years ago
b881c1c
this should fix the MSVC builds... forgot to delete the duplicate line
by onqtam
· 8 years ago
bef26de
all builds should pass now!
by onqtam
· 8 years ago
5d10992
- removed retired xcode images
by onqtam
· 8 years ago
8469018
making windows builds compile (linux still fail but its because of the output being different due to some bug in the sorting of test cases)
by onqtam
· 8 years ago
be91727
- fixed bug that was introduced in commit 0b0b82f1728f65075724b41aca83c62834978d44 - should have made these changes in a separate commit for easier testing
by onqtam
· 8 years ago
cfce188
fixed name of argument for sorting
by onqtam
· 8 years ago
9c34f97
working on templated test cases - initial draft in the separate_headers example - relates #38
by onqtam
· 8 years ago
73b00f2
doc fix
by onqtam
· 8 years ago
b71881e
formatting - finally got a hold of clang-format for VS 2017 - see this SO thread: http://stackoverflow.com/questions/42955863/clang-format-plugin-for-visual-studio-2017
by onqtam
· 8 years ago
38091e4
tiny docs change
by onqtam
· 8 years ago
01d6a67
added _MESSAGE forms of normal asserts and exception-related asserts - relates #23 relates #48
by onqtam
· 8 years ago
565c97f
Added API for reporting failures - MESSAGE() / FAIL_CHECK() / FAIL() (like warn/check/require) and the appropriate ADD_<LEVEL>_AT macros for integration with mocking frameworks and other third party - fixes #9
by onqtam
· 8 years ago
cfefe2b
changed a bit the message for the 3 different levels of failures - WARN/CHECK/REQUIRE
by onqtam
· 8 years ago
3bf66ca
using a static assert instead of deleting/hiding the forbidden overload for rvalues - relates #23 relates #48
by onqtam
· 8 years ago
0cd0607
For INFO() the operator<< captures not by const - this will reject temporaries even in C++98 (but compilation error messages will be horrible) - relates #23 relates #48
by onqtam
· 8 years ago
01e8954
added xcode 8.3 image to travis
by onqtam
· 8 years ago
7244b43
now capturing C string literals with INFO() will treat them as strings - relates #23 relates #48
by onqtam
· 8 years ago
7d44cfa
fixing builds for MSVC versions older than 2015 (and silencing a conversion warning for GCC 4.8)
by onqtam
· 8 years ago
d096dc2
moving from references to pointers when using a forward-declared std::ostream - trying to fix builds for VS 2008/2010/2012/2013 - oddly enough 2015/2017 pass (also all gcc/clang versions under linux/osx pass as well...) - relates #23 relates #48
by onqtam
· 8 years ago
a369a98
added INFO() and CAPTURE() logging macros - they can log variables and construct a message which gets printed only when an assert in the same scope (or in a nested one) after them fails. They use lazy stringification and the stack to avoid heap allocations and unnecessary string construction for the common case where no asserts fail. fixes #48 fixes #23
by onqtam
· 8 years ago
21e3ec6
- added simplified example of how captures work
by onqtam
· 8 years ago
7ccebe0
- added detection of rvalue reference support of compilers
by onqtam
· 8 years ago
cad5cf4
fix gcc 4.4 build
by onqtam
· 8 years ago
0c4bbb8
- updated feature detection a bit - updated docs
by onqtam
· 8 years ago
34b56a3
- tiny code rework - getting ready for lazy stringification + removing -Winline stuff for gcc 4.7
by onqtam
· 8 years ago
2aae425
fixing builds when exceptions are disabled but all asserts are used - relates #58
by onqtam
· 8 years ago
f48d0fe
Added support for un-parenthesized expressions containing commas in asserts - fixed #58
by onqtam
· 8 years ago
199d50d
tiny docs change
by onqtam
· 8 years ago
9a3dd31
added a note in the docs
by onqtam
· 8 years ago
297f7bb
Add ability to filter subcases with filters - fixes #57
by onqtam
· 8 years ago
7a3ad26
c++11 and -fno-rtti builds now compare to reference output
by onqtam
· 8 years ago
6914dbf
added a minimal example of how exception translation works
by onqtam
· 8 years ago
74f3412
better docs
by onqtam
· 8 years ago
4b68df3
builds with -fno-exceptions should pass now - relates #12
by onqtam
· 8 years ago
2d93e04
- fixed builds with -fno-exceptions - relates #12
by onqtam
· 8 years ago
68c47e5
- Added option to query if code is being ran inside of a test - doctest::isRunningInTest() - relates #56
by onqtam
· 8 years ago
96a4b87
- exported a forgotten symbol - relates #55 - updated docs a bit
by onqtam
· 8 years ago
036fa31
fixing builds... default template arguments for function templates not supported in C++98...
by onqtam
· 8 years ago
8327c6c
fixing clang builds on CI
by onqtam
· 8 years ago
246e817
fixing CI builds - no C++11...
by onqtam
· 8 years ago
408d1f9
finished docs on "exception translation mechanism + the ability for users to extend it with custom exception types" - fixes #12
by onqtam
· 8 years ago
05bcc37
added exception translation to examples - relates #12
by onqtam
· 8 years ago
74facf2
changed a bit the text for exception reporting - relates #12
by onqtam
· 8 years ago
85642bf
implemented translation of exceptions in asserts - relates #12
by onqtam
· 8 years ago
653a24e
- initial version of exception translation - for when a test case throws - relates #12
by onqtam
· 8 years ago
Next »