Gitiles
Code Review
Sign In
gerrit.cesnet.cz
/
github
/
onqtam
/
doctest
/
acbcd1222761628fd7ddb365bbfd448160e24dee
/
doc
« Previous
7cd2fab
fixing broken links and tiny mistakes in docs
by onqtam
· 7 years ago
b8220c5
version 1.2 almost out!
by onqtam
· 7 years ago
80064af
updated documentation
by onqtam
· 7 years ago
a0e136f
- changed paypal links and removed pledgie campaign (which was long overdue...)
by onqtam
· 7 years ago
1b63b5a
fixed images in benchmarks page - now they are aligned next to each other
by onqtam
· 7 years ago
f231010
added benchmark graphs! used google spreadsheet to manipulate the data, and after that "published" the charts, opened them in a new tab, zoomed in and made screenshots... pretty primitive but gnuplot was too much for me at this point in time
by onqtam
· 7 years ago
1cfad66
- added instructions on how to integrate doctest into your projects
by onqtam
· 7 years ago
c266008
added some notes about value-parameterized test cases - relates #38
by onqtam
· 7 years ago
2af164a
changed the way the example with the tests inside of a static library is defined in cmake - now using an object library instead of a static library - thanks to github.com/pthom - relates #21
by onqtam
· 7 years ago
ebc7da3
integrated OCLint static code analysis!
by onqtam
· 7 years ago
658b48c
documented decorators
by onqtam
· 7 years ago
876c450
- updated links to examples in the documentation - added faq entry about mocking
by onqtam
· 7 years ago
7528ad8
benchmarks page done!
by onqtam
· 7 years ago
86691a4
finalized benchmarks !!! the no-inlining of functions did speed up the binary and fast asserts in release builds
by onqtam
· 7 years ago
7877549
updated benchmark results after the last compile time optimization commit - relates #70
by onqtam
· 7 years ago
f4bf0fa
added runtime benchmark results
by onqtam
· 7 years ago
7f2c0ba
- updated compile time benchmarks - fixed script for runtime benchmarks
by onqtam
· 7 years ago
15b541d
new compile time benchmarks!
by onqtam
· 7 years ago
31b03fb
work in progress on an automated way to run all benchmarks - based on tests.json
by onqtam
· 7 years ago
fea36c5
updated the benchmark script - now uses the command line
by onqtam
· 7 years ago
1f5ff30
removed benchmarks for doctest 1.0
by onqtam
· 7 years ago
1d7320b
removed catch as a submodule - will fetch it some other way
by onqtam
· 7 years ago
87fb93a
made the string be 24 instead of 32 bytes long - gives around 14% runtime performance boost for an assert that doesn't fail (evaluated 10 million times inside of a loop) - relates #69
by onqtam
· 7 years ago
82c0e5c
- added move semantics to the new String class - closes #69
by onqtam
· 7 years ago
513cf69
implementation of a string class with a small buffer optimization - relates #69
by onqtam
· 7 years ago
458aea1
avoiding some unnecessary allocations - relates #69
by onqtam
· 7 years ago
969af8f
got rid of local statics entirely from the hot path (except for when translating exceptions - but that should be the exceptional path) - relates #69
by onqtam
· 7 years ago
0f66592
- no longer accessing the current context through a getter with a static local
by onqtam
· 7 years ago
c2b6e13
gcc 4.5 build should pass now...
by onqtam
· 7 years ago
68d0f1d
added an overload for operator<< of the ContextBuilder that catches by const ref and use a static assert - relates #23
by onqtam
· 7 years ago
e6412e1
finished decorators - coverage should be maxed! - relates #67
by onqtam
· 7 years ago
754f402
- almost done with the should_fail/may_fail/expected_failures decorators
by onqtam
· 7 years ago
b89eefb
added the actual helper classes (decorators) - the may/should/expected aren't integrated yet - relates #67
by onqtam
· 7 years ago
6c7369e
first steps towards decorators for test cases - relates #67
by onqtam
· 7 years ago
edeff28
added a way to use normal literals with the INFO() logging macro - the TO_LVALUE() macro - relates #23
by onqtam
· 8 years ago
14ddb1e
code coverage done!
by onqtam
· 8 years ago
aab98c5
added gcc 7
by onqtam
· 8 years ago
321f270
working on test coverage
by onqtam
· 8 years ago
f6d1a51
code coverage should work now
by onqtam
· 8 years ago
0decb1d
added clang-tidy static code analysis - closes #66
by onqtam
· 8 years ago
7937d52
added MSVC /analyze for VS 2017 - relates #66
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
3bf83c4
- clang 4 builds under linux should work now
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
cb7bad6
- logging example done!
by onqtam
· 8 years ago
7cc0e96
examples almost done! only assertion_macros.cpp is left
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
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
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
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
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
2751b56
simplified exception translation a bit - relates #12
by onqtam
· 8 years ago
a9675f5
- added CII badge
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
0642b93
removed unnecessary silencing of Wdouble-promotion for gcc/clang
by onqtam
· 8 years ago
2825144
Added support to Approx for strong typedefs of double - fixes #62
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
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
bef26de
all builds should pass now!
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
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
7244b43
now capturing C string literals with INFO() will treat them as strings - 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
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
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
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
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
653a24e
- initial version of exception translation - for when a test case throws - relates #12
by onqtam
· 8 years ago
e097006
reused warning silencing code for making anonymous global static in dummy vars
by onqtam
· 8 years ago
b564f08
updated different config build count
by onqtam
· 8 years ago
1c896da
updated docs - plans for versions 1.2 / 1.3 / 1.4
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
Next »