commit | 037beaf418d6cb38bb605428a4354243d1833ea3 | [log] [tgz] |
---|---|---|
author | onqtam <vik.kirilov@gmail.com> | Fri May 20 13:24:27 2016 +0300 |
committer | onqtam <vik.kirilov@gmail.com> | Sun May 22 04:45:30 2016 +0300 |
tree | 93b0922b0183c23220415370941f5031f6ff6f58 | |
parent | f3f1ed15641a432eb0c20a2f7e040229dd00b599 [diff] |
doc
The doctest library is inspired by the unittest {}
functionality of the D programming language and Python's docstrings - tests can be considered a form of documentation and should be able to reside near the production code which they test.
It is heavily influenced by Catch which is currently the most popular, simple and user friendly alternative out there.
Service | branch: master | branch: dev |
---|---|---|
Travis-CI (Linux/OSX) | ||
Appveyor (Windows) | ||
Unit Test Coverage | ||
Static Analysis |
Support the development of the project with donations! There is a list of planned features which are all important and big - see the roadmap. I work on this project in my spare time and every cent is a big deal. I took a break from working in the industry to make open source software.
Contributions in the form of issues and pull requests are welcome as well.
Open an issue for a discussion before making a pull request to make sure the contribution goes smoothly.
This framework has some design goals which must be kept. Make sure you have read the features and design goals page.
The master
branch is the stable one with the latest release and the dev
branch is on the bleeding edge.
All the framework tests have their output collected when the CMake TEST_MODE
variable is set to COLLECT
(making the new reference output) and later the tests are ran on the CI services (travis
and appveyor
) - their output is compared with the current reference output in the repository with the COMPARE
mode (default mode is NORMAL
).
Code should be formatted with a recent-enough clang-format
using the config file in the root of the repo (or I will do it...)
Testing with compilers different from GCC/Clang/MSVC (and more platforms) is something the project would benefit from.