Gitiles
Code Review
Sign In
gerrit.cesnet.cz
/
github
/
onqtam
/
doctest
/
2e3d265bdd1a0369eae3cb5f21129617a1ca2aa5
/
examples
/
all_features
77af200
version 2.3.5
by onqtam
· 5 years ago
2e137ae
reporting the current subcase if an exception is thrown - fixed #136
by onqtam
· 5 years ago
dca8b66
fixed #282
by onqtam
· 5 years ago
5856bb9
implemented <LEVEL>_THROWS_WITH_AS() assert which combines <LEVEL>_THROWS_WITH with <LEVEL>_THROWS_AS - fixed #295
by onqtam
· 5 years ago
33cc7f9
Fix typos and misspellings found by codespell. (#292)
by warmsocks
· 5 years ago
4552c01
Add -order-by=name to filter_2 test. (#288)
by Daan De Meyer
· 5 years ago
3c6834b
Add support for compiling with clang-cl. (#286)
by Daan De Meyer
· 5 years ago
3ab0392
fixed #278 - added test_case_reenter() to the IReporter interface so users can track when a test case is getting reentered because of unfinished subcases (because there is no other way to tell with the current start/end functions which are called just once for each test case - no matter how many subcases there are)
by Viktor Kirilov
· 5 years ago
5014634
version 2.3.4
by onqtam
· 5 years ago
c241a44
fixed #257 - listeners can be registered with REGISTER_LISTENER and all registered listeners will be executed before any reporters
by Viktor Kirilov
· 5 years ago
c250f8a
fixes unrelated to code (added funding badge, fixed some comments)
by Viktor Kirilov
· 5 years ago
a52e94b
version 2.3.3
by onqtam
· 5 years ago
d5d67f3
fixed #238 - moved from an anonymous lambda to a call to a helper where the proper thing is instantiated + now the location of the test file is where it gets instantiated and not where the template was defined
by onqtam
· 5 years ago
505b05c
version 2.3.2
by onqtam
· 5 years ago
ca2719d
this is actually necessary for the xml reporter as well - relates #217
by onqtam
· 6 years ago
83a7844
fixed a bug in the output when writing to stdout from within a test case would break the XML
by onqtam
· 6 years ago
a3ae958
version 2.3.1 - mainly a fix for #210 - nothing in the doctest header has changed. Also renamed a bit the recently merged examples using doctest as installed
by onqtam
· 6 years ago
92dce5b
version 2.3.0
by onqtam
· 6 years ago
cdfcb57
xml reporter is... done!!!!!
by onqtam
· 6 years ago
7868611
the options for the run are included in the xml
by onqtam
· 6 years ago
53d8fa0
the xml reporter now includes queries
by onqtam
· 6 years ago
190ba25
added VS 2019 support
by onqtam
· 6 years ago
582edb4
tracked down a bug - turns out the template id which is used to distinguish template instantiations of a test case was used only when registering test cases but not when ordering them. This problem hadn't manifested itself yet because the template test cases weren't failing and thus the order wasn't present in the reference output. >>> REALLY <<< glad I managed to track this down - there was a difference between the use of libstdc++ (gcc/clang) vs VS & XCode ==> different instability of std::sort
by onqtam
· 6 years ago
coverity_scan
40fc39c
small improvement
by onqtam
· 6 years ago
0bebe8e
fixing builds
by onqtam
· 6 years ago
8d5eafa
fixing coverage
by onqtam
· 6 years ago
2377a0c
xml switch flipped for the tests!
by onqtam
· 6 years ago
88911e3
proper names - relates #203
by onqtam
· 6 years ago
0682171
fixes after merging #203
by onqtam
· 6 years ago
73ff612
Template apply (#203)
by zhihaoy
· 6 years ago
09e6d3e
fixes around crashing and proper reporting of stats
by onqtam
· 6 years ago
b656d60
added a subcase test
by onqtam
· 6 years ago
d347546
queries now also go through the reporter interface!
by onqtam
· 6 years ago
b205cf1
fix builds
by onqtam
· 6 years ago
a1a38de
some work on the docs/examples
by onqtam
· 6 years ago
585bb71
more work on the xml reporter + other cleanup. Also implemented output to file
by onqtam
· 6 years ago
15ce266
some more work
by onqtam
· 6 years ago
c6cc9ff
extended the cmake testing infrastructure to invoke the xml reporter as well - for N tests now we will have 2xN tests - N with the console reporter and the same N with the xml reporter (currently commented out)
by onqtam
· 6 years ago
759b98a
fixes of output
by onqtam
· 6 years ago
d9d794c
fixing builds - updated output
by onqtam
· 6 years ago
acbcd12
higher test coverage
by onqtam
· 6 years ago
36e3745
"fixes" after merging #187
by onqtam
· 6 years ago
df8b6d4
added badge for https://lgtm.com and cleaned up warnings
by onqtam
· 6 years ago
0dbbd4f
Move single header to a separate folder (#187)
by Dimitrij Mijoski
· 6 years ago
935e52c
version 2.2.3
by onqtam
· 6 years ago
c5458f2
Change the include path in examples as #175 (#180)
by ncihnegn
· 6 years ago
f5bec8d
version 2.2.2
by onqtam
· 6 years ago
8e98986
version 2.2.1
by onqtam
· 6 years ago
b031dd0
hopefully fixing xcode 6.4/7.3 builds
by onqtam
· 6 years ago
5b514ec
trying to fix the old OSX builds - propagating the thread_local definition
by Viktor Kirilov
· 6 years ago
eb89a02
re-enabling builds on travis for xcode 6.4 and 7.3
by onqtam
· 6 years ago
72ca33b
version 2.2
by onqtam
· 6 years ago
c494843
fixes #166 and fixes #167 - TODO: update benchmarks page
by onqtam
· 6 years ago
2d97b85
version 2.1
by onqtam
· 6 years ago
8cf9041
users can now pass both just the exception type and a const(+ref) version of it to the <LEVEL>_THROWS_AS macros and it means the same - const and & are always removed (if present) and then added
by onqtam
· 6 years ago
0e6236a
added support for CHECK_THROWS_WITH macro - currently accepts only a C string but in the future will be extended for matchers support - fixes #97
by onqtam
· 6 years ago
9639cee
version 2.0.1
by onqtam
· 6 years ago
dc01198
fixed issue #149
by onqtam
· 6 years ago
f8d5719
version 2.0.0
by onqtam
· 6 years ago
8f10044
clang builds should finally be passing now!
by onqtam
· 6 years ago
8aecdee
oh come on! clang builds - warnings...
by onqtam
· 6 years ago
65cf692
builds should pass now...
by onqtam
· 6 years ago
a2e77c7
implemented a full example of using doctest in a threaded environment - relates to #4
by onqtam
· 6 years ago
7b7bb8a
windows builds with mingw should pass now
by onqtam
· 6 years ago
c9b4e1f
added an example with concurrent threads doing assertions - relates #4 (currently ctest fails on it...)
by onqtam
· 6 years ago
4d87d56
moved to nullptr, removed c++98-compat warning suppressions for clang (also long-long and 0 as null for gcc/clang)
by onqtam
· 6 years ago
25bfda9
hopefully fixing builds...
by onqtam
· 6 years ago
917d79d
fixing builds... relates #114
by onqtam
· 6 years ago
8171c48
polished the feature for allowing the use of asserts outside of a testing context (also example and docs) - relates #114
by onqtam
· 6 years ago
1d68a13
- added the ability to call asserts outside of a testing context without recompiling! currently the fast asserts are optimized for runtime speed to the maximum but the other asserts are not. Sadly logging macros - like INFO() - aren't supported... yet! - closes #114 - the way to do it is to call setAsDefaultForAssertsOutOfTestCases() on a doctest::Context and optionally to register a custom handler with doctest::Context::setAssertHandler()
by onqtam
· 6 years ago
3ac4c3f
code coverage to the max!
by onqtam
· 6 years ago
42b60db
moved implementation details into an anonymous namespace (still inside of doctest but outside of detail - reason for this: not to have 3 namespaces nested into each other, downside: had to use detail in doctest (for convenience) - hope it doesn't break anywhere...)
by onqtam
· 6 years ago
4317c82
lets see those builds clean!
by onqtam
· 6 years ago
be46017
using c++11 variadic templates for the templated test cases! relates #137 and #38
by onqtam
· 6 years ago
2d16073
initial version of a reporter system! inherit from the IReporter class and register it with doctest::registerReporter()
by onqtam
· 6 years ago
68681e6
version 1.2.9
by onqtam
· 6 years ago
1655b24
regenerated test output - relates #123
by onqtam
· 6 years ago
7907692
fixed #123 - changed the output style in the console - gcc/clang output with :n: around line numbers and other compilers output with (n) - there is also a documented option for this. Also changed lots of code - thank god I moved to streams!
by onqtam
· 6 years ago
c168e36
version 1.2.8
by onqtam
· 7 years ago
568b109
fixed issue #119
by onqtam
· 7 years ago
09f55ca
typo in comment
by Viktor Kirilov
· 7 years ago
8cec917
version 1.2.7
by onqtam
· 7 years ago
50cbb80
updated travis build matrix with supported osx images
by onqtam
· 7 years ago
ac175d1
version 1.2.6
by onqtam
· 7 years ago
7d8ecb3
fixing the reference output... relates #95
by onqtam
· 7 years ago
02b7eb7
silencing 1 more warning for VS 2008/2010 when using /Wall - that a float was getting stored in memory and not in a register... relates #95
by onqtam
· 7 years ago
abf39d2
Visual studio builds now use /Wall instead of /W4 - and only 4 warnings are left disabled globally - fixes #95
by onqtam
· 7 years ago
c80eed1
[release] version 1.2.5
by onqtam
· 7 years ago
914fb9a
bumped version
by onqtam
· 7 years ago
6ff3d35
version 1.2.3
by onqtam
· 7 years ago
eb96d16
enabling clang 5 builds
by onqtam
· 7 years ago
90523ec
version 1.2.2
by onqtam
· 7 years ago
eca6585
removed templated test case for float - was triggering clang warnings when constructing doctest::Approx which only takes double by default - relates #85
by onqtam
· 7 years ago
d8a7edc
Prefer if(MSVC) (#84)
by Martin Moene
· 7 years ago
fd9560c
- fixing build after merging the #82 PR about catching by const ref in <LEVEL>_THROWS_AS assert macros
by onqtam
· 7 years ago
88d3e86
code coverage maxed
by onqtam
· 7 years ago
9ae8e02
version 1.2.1
by onqtam
· 7 years ago
b8220c5
version 1.2 almost out!
by onqtam
· 7 years ago
8cd8b3b
fixing cmake - builds should pass now - all cmake projects can be used by themselves and all depend on the assemble_single_header target (as they should - previous commit had changed that)
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
Next »