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
112 watching
649 forks
Language: C++
last commit: about 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. 35,046
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 161
minitest/minitest A comprehensive testing framework for Ruby that supports TDD, BDD, mocking, and benchmarking. 3,310
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,826
srz-zumix/iutest A C++ testing framework that provides a set of tools and features for writing unit tests. 66
vim-test/vim-test A tool for running tests in various programming languages from within Vim. 3,010
gammasoft71/xtd A modern C++ framework for building console, GUI, and unit test applications on multiple platforms. 814
web-platform-tests/wpt A cross-browser test suite for the web platform to ensure compatibility and reliability across different browsers and devices. 5,053
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++ 853
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 64