Gitiles
Code Review
Sign In
gerrit.cesnet.cz
/
github
/
onqtam
/
doctest
/
refs/heads/fix-clang-tidy-static-throwing
/
scripts
« Previous
89da654
more work on test coverage
by onqtam
· 8 years ago
f6d1a51
code coverage should work now
by onqtam
· 8 years ago
21623a6
added cppcheck to travis builds - relates #66
by onqtam
· 8 years ago
35c14cd
Printing the test suite name on test case failure - fixes #65
by onqtam
· 8 years ago
39afa2e
adding /permissive- to msvc flags
by onqtam
· 8 years ago
af07cbb
finished with examples!
by onqtam
· 8 years ago
378d670
test cases example done
by onqtam
· 8 years ago
cb7bad6
- logging example done!
by onqtam
· 8 years ago
8c31176
fixing builds
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
a985f5a
added playground project and made (again) the common.cmake behave when included multiple times
by onqtam
· 8 years ago
98e12af
cleaning up examples
by onqtam
· 8 years ago
56d9170
- added prefix for the TEST_MODE option - removed the cpp11 option
by onqtam
· 8 years ago
c10674f
adding first draft of logo
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
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
2751b56
simplified exception translation a bit - relates #12
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
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
2825144
Added support to Approx for strong typedefs of double - fixes #62
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
bef26de
all builds should pass now!
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
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
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
0c4bbb8
- updated feature detection a bit - updated docs
by onqtam
· 8 years ago
199d50d
tiny docs change
by onqtam
· 8 years ago
297f7bb
Add ability to filter subcases with filters - fixes #57
by onqtam
· 8 years ago
6914dbf
added a minimal example of how exception translation works
by onqtam
· 8 years ago
4b68df3
builds with -fno-exceptions should pass now - relates #12
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
1c896da
updated docs - plans for versions 1.2 / 1.3 / 1.4
by onqtam
· 8 years ago
2a921f2
added VS 2017 to build matrix - should work! (also reworked the appveyor builds to be 1 job per compiler instead of 1 job per config/arch pair)
by onqtam
· 8 years ago
1fc3dc7
added --no-line-numbers=<bool> - Line numbers are replaced with ```0``` in the output when a source location is printed - useful if you want the same output from the testing framework even when test positions change within a source file
by onqtam
· 8 years ago
658c870
fixed #41 - !!! BREAKING CHANGE !!! - Make TEST_SUITE work with bodies, add TEST_SUITE_BEGIN
by onqtam
· 8 years ago
b43aa04
fixed #55 - Ability for a binary (executable / shared object) to use the test runner implementation of another binary - with exported symbols - so tests end up in a single registry
by onqtam
· 8 years ago
376530a
updated docs a bit
by onqtam
· 8 years ago
f63c510
- removed old hacks for gcc 4.4 under osx
by onqtam
· 8 years ago
3bb1157
bumped version
by onqtam
· 8 years ago
37065ea
added --force-colors option - so even when no tty is detected the output gets colored - related to #50
by onqtam
· 8 years ago
1687de8
- removed duplicated warnings (ones which are included by wall/wextra)
by onqtam
· 8 years ago
b6ac3f2
updated article...
by onqtam
· 8 years ago
38115fb
updated article
by onqtam
· 8 years ago
e2df0ba
added the article I wrote about doctest - which I submit to various websites for publishing
by onqtam
· 8 years ago
3281a7b
moved pictures out of doc folder
by onqtam
· 8 years ago
e34600e
- updated docs a bit - version bump to 1.1.3
by onqtam
· 8 years ago
0b51b7b
removed the version from the reference output - so releases that don't change the output don't need to recommit new reference output
by onqtam
· 8 years ago
5cab8e9
fixed #42 - no warnings with clang in c++11 mode
by onqtam
· 8 years ago
ec103be
- changed the test suite macros to require a semicolon with a dummy typedef instead of a forward declaration of a dummy function
by onqtam
· 8 years ago
2115e6d
updated docs
by onqtam
· 8 years ago
bf4f453
updated docs and bumped version to 1.1.1
by onqtam
· 8 years ago
1.1.1
b6c6967
fixed html documentation!
by onqtam
· 8 years ago
1435c01
bumped version to 1.1
by onqtam
· 8 years ago
a1c34ba
docs updated more - still WIP!
by onqtam
· 8 years ago
06a3e10
updating docs - WIP
by onqtam
· 8 years ago
c6555cf
all compile time benchmarks done!
by onqtam
· 8 years ago
200e888
more stuff benchmarked
by onqtam
· 8 years ago
7b8d8dc
fixing clang builds - added new line at end of main.cpp for `removing_doctest_options` example...
by onqtam
· 8 years ago
f4ea19f
fixing clang builds...
by onqtam
· 8 years ago
8337278
fixing bench.py script to be executable under linux
by onqtam
· 8 years ago
19b21e9
updated benchmarks (results of doctest vs catch (header inclusion cost) are the same from 4 months ago - doctest 1.0)
by onqtam
· 8 years ago
cc6a6d6
- added tests that assertion macros don't copy the types and that they evaluate the expressions only once
by onqtam
· 8 years ago
a1ede61
Added example how to remove doctest options from the command line for the program after the tests run - fixes #20
by onqtam
· 8 years ago
52eee92
- added patreon and paypal donation options
by onqtam
· 8 years ago
11210ce
- added an image instead of code for the main readme
by onqtam
· 8 years ago
d0a083a
this should REALLY give 1 more line hit in the coverage...
by onqtam
· 8 years ago
83de18b
this should get us 1 more line hit in the coverage
by onqtam
· 8 years ago
8d78e70
code coverage should be maxed - around 99.2%
by onqtam
· 8 years ago
3ef438f
code coverage should be again near 99%
by onqtam
· 8 years ago
956d4ec
added DOCTEST_CONFIG_SUPER_FAST_ASSERTS which makes the fast asserts insanely fast for compile times - just 1 function call - with 1 tiny change in behavior - breaking into the debugger will be into an internal doctest function instead of in the test case
by onqtam
· 8 years ago
7ff1dc1
simplified the new unary/binary assertion macros - reusing stuff from the main assertion macro
by onqtam
· 8 years ago
25b5d21
moved stuff out of fwd and into impl
by onqtam
· 8 years ago
441c98d
implemented the fast alternative assertion macros!
by onqtam
· 8 years ago
52755c5
binary assertions (and unary) are now properly implemented.
by onqtam
· 8 years ago
db5eee9
- moved an inline remapping function to the implementation part of doctest
by onqtam
· 8 years ago
df09f51
refactor - assertion macros use integers and flags instead of strings and substringing - this will allow me to more easily deal with the increasing number of assertion macros
by onqtam
· 8 years ago
c0a8baf
updated Catch submodule
by onqtam
· 8 years ago
f90739e
added warning suppression around the expression decomposition template machinery - comparing signed to unsigned integers should now not generate warnings...
by onqtam
· 8 years ago
fa04f13
fixing colors for the --success option
by onqtam
· 8 years ago
96bdf71
- restrict expressions in assertion macros to binary comparisons at most with a static assert
by onqtam
· 8 years ago
a0e2846
Using a CMake function called "doctest_force_link_static_lib_in_target" located in "doctest_force_link_static_lib_in_target.cmake" users of CMake can force the linking of every object file from a static library to an executable/shared target. Not intrusive - using generated dummy headers in the build folder of the target, CMake target properties and compiler flags for including the headers to the appropriate sources.
by onqtam
· 8 years ago
f516977
travis builds should pass now
by onqtam
· 8 years ago
Next »