doctest

Test framework

A fast and flexible testing framework for C++ that allows writing tests directly in production code

The fastest feature-rich C++11/14/17/20/23 single-header testing framework

GitHub

6k stars
113 watching
643 forks
Language: C++
last commit: 2 months ago
Linked from 7 awesome lists

c-plus-pluscppcpp11cpp14cpp17cpp20cpp23doctestheader-onlysingle-filetddtestingtesting-frameworkunit-testing

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
google/googletest A comprehensive C++ testing framework with features like test discovery, assertions, and parameterized tests for unit testing. 34,781
clean-test/clean-test A C++20 unit-testing framework with parallel execution and production-ready features 49
jasmcaus/tau A lightweight unit testing framework for C and C++ projects 158
minitest/minitest A comprehensive testing framework for Ruby that supports TDD, BDD, mocking, and benchmarking. 3,301
unittest-cpp/unittest-cpp A lightweight unit testing framework for C++ 557
devexpress/testcafe A Node.js tool for automating end-to-end web testing with JavaScript and TypeScript support. 9,822
srz-zumix/iutest A C++ testing framework that provides a set of tools and features for writing unit tests. 65
vim-test/vim-test A tool for running tests in various programming languages from within Vim. 2,992
gammasoft71/xtd A modern C++ framework for building console, GUI, and unit test applications on multiple platforms. 805
web-platform-tests/wpt A cross-browser test suite for the web platform to ensure compatibility and reliability across different browsers and devices. 5,014
cpp-testing/gunit A C++ testing framework that simplifies and extends Google.Test with support for Gherkin-style tests and reduced boilerplate code. 263
christophercrouzet/rexo A single-file cross-platform unit testing framework for C/C++ with a polished API and granular control. 28
sheredom/utest.h A single header unit testing framework for C and C++ 845
jimporter/mettle A C++20 unit testing framework providing a toolbox of features for writing tests 122
doc-detective/doc-detective Automates testing of documentation content to ensure accuracy and updates 63