fixing broken links and tiny mistakes in docs
6 files changed
tree: d3cbf3d2d4baec2be49254708b5a8dd99a391d07
  1. .clang-format
  2. .gitattributes
  3. .gitignore
  4. .travis.yml
  5. CHANGELOG.md
  6. CMakeLists.txt
  7. CONTRIBUTING.md
  8. LICENSE.txt
  9. README.md
  10. appveyor.yml
  11. doc/
  12. doctest/
  13. examples/
  14. issue_template.md
  15. pull_request_template.md
  16. scripts/
README.md

This library is free, and will stay free but needs your support to sustain its development. There are lots of new features and maintenance to do. If you work for a company using doctest or have the means to do so, please consider financial support. Monthly donations via Patreon and one-offs via PayPal.

A complete example with a self-registering test that compiles to an executable looks like this:

cover-example

doctest is a new C++ testing framework but is by far the fastest both in compile times (by orders of magnitude) and runtime compared to other feature-rich alternatives. It brings the ability of compiled languages such as D / Rust / Nim to have tests written directly in the production code by providing a fast, transparent and flexible test runner with a clean interface.

Tests can be considered a form of documentation and should be able to reside near the production code which they test.

doctest is modeled after Catch which is currently the most popular alternative for testing in C++ - check out the differences.

You can read more about it in the article of the february edition of ACCU Overload 2017.

Standard License Version download CII Best Practices Join the chat at https://gitter.im/onqtam/doctest Try it online

Documentation

Project:

Usage:

Contributing

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 took a break from working in the industry to make open source software so every cent is a big deal.

If you work for a company using doctest or have the means to do so, please consider financial support.

Contributions in the form of issues and pull requests are welcome as well - check out the Contributing page.

Sponsors

Want to see your name or the name of your company here? Consider donating!

:zap: Rockstar sponsors :zap:

:gem: Gold sponsors :gem:

  • Pascal Thomet
  • Mario Kostadinov

:cake: Silver sponsors :cake:

  • Dan Nissenbaum

:hamburger: Bronze sponsors :hamburger:

  • Sebastien Feldis
  • Zahari Karadzhov