- started the documentation
- disabled the CI while I iterate on the markdown
11 files changed
tree: f4ba2616caed4dee2e401296ab8c7e9ebb804c65
  1. .clang-format
  2. .gitignore
  3. .gitmodules
  4. .travis.yml
  5. CHANGELOG.md
  6. CMakeLists.txt
  7. LICENSE.txt
  8. README.md
  9. appveyor.yml
  10. doc/
  11. doctest/
  12. examples/
  13. scripts/
README.md

DOCTEST - the lightest and feature rich C++ single header testing framework

The library is inspired by the unittest functionality of the D programming language and the docstrings in python - tests can be considered a form of documentation and should be able to reside near the production code which they test.

  • Check out features and design goals to see why this library exists and how it is different from all the rest.
  • Check out the tutorial here.
  • Try it online
  • documentation
  • The latest version of the library can be downloaded from here.

This library was strongly influenced by Catch and lest.

Language Standard License Version Join the chat at https://gitter.im/onqtam/doctest

Build status

Servicebranch: masterbranch: dev
Travis-CI (Linux/OSX)Linux/OSX StatusLinux/OSX Status
Appveyor (Windows)Windows statusWindows status
Unit Test CoverageCoverage StatusCoverage Status
Static AnalysisStatic Analysis

Contributing

Donations would be appreciated very much since I quit my job to write open source software.

Donate to support

Contributions in the form of issues and pull requests are welcome as well.

For pull requests make sure the code is formatted with a recent-enough clang-format using the config file in the root of the repo (or I will format it after the merge) and that all the builds on travis and appveyor pass. Also before making a pull requrest you might want to make an issue about it for a discussion. This library has some design goals which must be kept.

The master branch is the stable one with the latest release and the dev branch is on the bleeding edge.