doctest

FORK: The fastest feature-rich C++11/14/17/20 single-header testing framework
git clone https://git.neptards.moe/neptards/doctest.git
Log | Files | Refs | README

ModeNameSize
-rw-r--r--.clang-format82L
-rw-r--r--.clang-tidy62L
-rw-r--r--.editorconfig12L
-rw-r--r--.gitattributes1L
-rw-r--r--.github/FUNDING.yml4L
-rw-r--r--.github/issue_template.md29L
-rw-r--r--.github/pull_request_template.md26L
-rw-r--r--.github/workflows/build_and_test.py99L
-rw-r--r--.github/workflows/codeql-analysis.yml67L
-rw-r--r--.github/workflows/main.yml302L
-rw-r--r--.gitignore75L
-rw-r--r--CHANGELOG.md895L
-rw-r--r--CMakeLists.txt155L
-rw-r--r--CONTRIBUTING.md30L
-rw-r--r--LICENSE.txt21L
-rw-r--r--README.md138L
-rw-r--r--WORKSPACE0B
-rw-r--r--doc/html_generated/assertions.html200L
-rw-r--r--doc/html_generated/benchmarks.html212L
-rw-r--r--doc/html_generated/build-systems.html93L
-rw-r--r--doc/html_generated/commandline.html145L
-rw-r--r--doc/html_generated/configuration.html311L
-rw-r--r--doc/html_generated/extensions.html180L
-rw-r--r--doc/html_generated/faq.html188L
-rw-r--r--doc/html_generated/features.html94L
-rw-r--r--doc/html_generated/logging.html80L
-rw-r--r--doc/html_generated/main.html72L
-rw-r--r--doc/html_generated/parameterized-tests.html187L
-rw-r--r--doc/html_generated/readme.html46L
-rw-r--r--doc/html_generated/reporters.html116L
-rw-r--r--doc/html_generated/strapdown.js/README.md24L
-rw-r--r--doc/html_generated/strapdown.js/index.html154L
-rw-r--r--doc/html_generated/strapdown.js/strapdown.css96L
-rw-r--r--doc/html_generated/strapdown.js/strapdown.js476L
-rw-r--r--doc/html_generated/strapdown.js/themes/bootstrap-responsive.min.css9L
-rw-r--r--doc/html_generated/strapdown.js/themes/bootstrap.min.css9L
-rw-r--r--doc/html_generated/strapdown.js/themes/cyborg.min.css945L
-rw-r--r--doc/html_generated/strapdown.js/themes/united.min.css12L
-rw-r--r--doc/html_generated/stringification.html105L
-rw-r--r--doc/html_generated/testcases.html182L
-rw-r--r--doc/html_generated/tutorial.html215L
-rw-r--r--doc/markdown/assertions.md190L
-rw-r--r--doc/markdown/benchmarks.md202L
-rw-r--r--doc/markdown/build-systems.md83L
-rw-r--r--doc/markdown/commandline.md135L
-rw-r--r--doc/markdown/configuration.md301L
-rw-r--r--doc/markdown/extensions.md170L
-rw-r--r--doc/markdown/faq.md178L
-rw-r--r--doc/markdown/features.md84L
-rw-r--r--doc/markdown/logging.md70L
-rw-r--r--doc/markdown/main.md62L
-rw-r--r--doc/markdown/parameterized-tests.md177L
-rw-r--r--doc/markdown/readme.md36L
-rw-r--r--doc/markdown/reporters.md106L
-rw-r--r--doc/markdown/stringification.md95L
-rw-r--r--doc/markdown/testcases.md172L
-rw-r--r--doc/markdown/tutorial.md205L
-rw-r--r--doctest/BUILD.bazel32L
-rw-r--r--doctest/doctest.h7017L
-rw-r--r--doctest/extensions/doctest_mpi.h166L
-rw-r--r--doctest/extensions/doctest_util.h34L
-rw-r--r--doctest/extensions/mpi_reporter.h268L
-rw-r--r--doctest/extensions/mpi_sub_comm.h81L
-rw-r--r--doctest/parts/doctest.cpp3971L
-rw-r--r--doctest/parts/doctest_fwd.h3038L
-rw-r--r--examples/all_features/CMakeLists.txt154L
-rw-r--r--examples/all_features/alternative_macros.cpp15L
-rw-r--r--examples/all_features/assert_returns_disabled.cpp30L
-rw-r--r--examples/all_features/assert_returns_disabled_evaluate.cpp4L
-rw-r--r--examples/all_features/assertion_macros.cpp235L
-rw-r--r--examples/all_features/asserts_used_outside_of_tests.cpp74L
-rw-r--r--examples/all_features/concurrency.cpp71L
-rw-r--r--examples/all_features/coverage_maxout.cpp127L
-rw-r--r--examples/all_features/decomposition.cpp63L
-rw-r--r--examples/all_features/doctest_proxy.h71L
-rw-r--r--examples/all_features/double_stringification.cpp18L
-rw-r--r--examples/all_features/enums.cpp121L
-rw-r--r--examples/all_features/header.h68L
-rw-r--r--examples/all_features/logging.cpp81L
-rw-r--r--examples/all_features/main.cpp51L
-rw-r--r--examples/all_features/namespace1.cpp27L
-rw-r--r--examples/all_features/namespace2.cpp24L
-rw-r--r--examples/all_features/namespace3.cpp22L
-rw-r--r--examples/all_features/namespace4.cpp37L
-rw-r--r--examples/all_features/namespace5.cpp39L
-rw-r--r--examples/all_features/namespace6.cpp41L
-rw-r--r--examples/all_features/namespace7.cpp41L
-rw-r--r--examples/all_features/namespace8.cpp45L
-rw-r--r--examples/all_features/namespace9.cpp44L
-rw-r--r--examples/all_features/no_failures.cpp13L
-rw-r--r--examples/all_features/reporters_and_listeners.cpp85L
-rw-r--r--examples/all_features/stringification.cpp250L
-rw-r--r--examples/all_features/subcases.cpp198L
-rw-r--r--examples/all_features/templated_test_cases.cpp78L
-rw-r--r--examples/all_features/test_cases_and_suites.cpp76L
-rw-r--r--examples/all_features/test_output/abort_after.txt19L
-rw-r--r--examples/all_features/test_output/abort_after_junit.txt22L
-rw-r--r--examples/all_features/test_output/abort_after_xml.txt34L
-rw-r--r--examples/all_features/test_output/all_binary.txt82L
-rw-r--r--examples/all_features/test_output/all_binary_junit.txt7L
-rw-r--r--examples/all_features/test_output/all_binary_xml.txt204L
-rw-r--r--examples/all_features/test_output/alternative_macros.cpp.txt6L
-rw-r--r--examples/all_features/test_output/alternative_macros.cpp_junit.txt8L
-rw-r--r--examples/all_features/test_output/alternative_macros.cpp_xml.txt20L
-rw-r--r--examples/all_features/test_output/assertion_macros.cpp.txt257L
-rw-r--r--examples/all_features/test_output/assertion_macros.cpp_junit.txt385L
-rw-r--r--examples/all_features/test_output/assertion_macros.cpp_xml.txt690L
-rw-r--r--examples/all_features/test_output/asserts_used_outside_of_tests.cpp.txt16L
-rw-r--r--examples/all_features/test_output/asserts_used_outside_of_tests.cpp_junit.txt15L
-rw-r--r--examples/all_features/test_output/asserts_used_outside_of_tests.cpp_xml.txt17L
-rw-r--r--examples/all_features/test_output/count.txt2L
-rw-r--r--examples/all_features/test_output/count_junit.txt1L
-rw-r--r--examples/all_features/test_output/count_xml.txt5L
-rw-r--r--examples/all_features/test_output/coverage_maxout.cpp.txt43L
-rw-r--r--examples/all_features/test_output/coverage_maxout.cpp_junit.txt44L
-rw-r--r--examples/all_features/test_output/coverage_maxout.cpp_xml.txt65L
-rw-r--r--examples/all_features/test_output/decomposition.cpp.txt16L
-rw-r--r--examples/all_features/test_output/decomposition.cpp_junit.txt21L
-rw-r--r--examples/all_features/test_output/decomposition.cpp_xml.txt31L
-rw-r--r--examples/all_features/test_output/disabled.txt1L
-rw-r--r--examples/all_features/test_output/disabled_but_evaluated.txt0B
-rw-r--r--examples/all_features/test_output/doctest_proxy.h.txt6L
-rw-r--r--examples/all_features/test_output/doctest_proxy.h_junit.txt5L
-rw-r--r--examples/all_features/test_output/doctest_proxy.h_xml.txt7L
-rw-r--r--examples/all_features/test_output/double_stringification.cpp.txt6L
-rw-r--r--examples/all_features/test_output/double_stringification.cpp_junit.txt7L
-rw-r--r--examples/all_features/test_output/double_stringification.cpp_xml.txt12L
-rw-r--r--examples/all_features/test_output/enums.cpp.txt65L
-rw-r--r--examples/all_features/test_output/enums.cpp_junit.txt117L
-rw-r--r--examples/all_features/test_output/enums.cpp_xml.txt159L
-rw-r--r--examples/all_features/test_output/filter_1.txt6L
-rw-r--r--examples/all_features/test_output/filter_1_junit.txt5L
-rw-r--r--examples/all_features/test_output/filter_1_xml.txt7L
-rw-r--r--examples/all_features/test_output/filter_2.txt6L
-rw-r--r--examples/all_features/test_output/filter_2_junit.txt5L
-rw-r--r--examples/all_features/test_output/filter_2_xml.txt153L
-rw-r--r--examples/all_features/test_output/filter_3.txt45L
-rw-r--r--examples/all_features/test_output/filter_3_junit.txt23L
-rw-r--r--examples/all_features/test_output/filter_3_xml.txt72L
-rw-r--r--examples/all_features/test_output/filter_4.txt22L
-rw-r--r--examples/all_features/test_output/filter_4_junit.txt8L
-rw-r--r--examples/all_features/test_output/filter_4_xml.txt26L
-rw-r--r--examples/all_features/test_output/first_last.txt27L
-rw-r--r--examples/all_features/test_output/first_last_junit.txt21L
-rw-r--r--examples/all_features/test_output/first_last_xml.txt27L
-rw-r--r--examples/all_features/test_output/header.h.txt25L
-rw-r--r--examples/all_features/test_output/header.h_junit.txt10L
-rw-r--r--examples/all_features/test_output/header.h_xml.txt32L
-rw-r--r--examples/all_features/test_output/help.txt63L
-rw-r--r--examples/all_features/test_output/help_junit.txt1L
-rw-r--r--examples/all_features/test_output/help_xml.txt4L
-rw-r--r--examples/all_features/test_output/list_reporters.txt7L
-rw-r--r--examples/all_features/test_output/list_reporters_junit.txt1L
-rw-r--r--examples/all_features/test_output/list_reporters_xml.txt9L
-rw-r--r--examples/all_features/test_output/list_test_cases.txt8L
-rw-r--r--examples/all_features/test_output/list_test_cases_junit.txt1L
-rw-r--r--examples/all_features/test_output/list_test_cases_xml.txt9L
-rw-r--r--examples/all_features/test_output/list_test_suites.txt6L
-rw-r--r--examples/all_features/test_output/list_test_suites_junit.txt1L
-rw-r--r--examples/all_features/test_output/list_test_suites_xml.txt7L
-rw-r--r--examples/all_features/test_output/logging.cpp.txt84L
-rw-r--r--examples/all_features/test_output/logging.cpp_junit.txt71L
-rw-r--r--examples/all_features/test_output/logging.cpp_xml.txt159L
-rw-r--r--examples/all_features/test_output/main.cpp.txt6L
-rw-r--r--examples/all_features/test_output/main.cpp_junit.txt7L
-rw-r--r--examples/all_features/test_output/main.cpp_xml.txt12L
-rw-r--r--examples/all_features/test_output/minimal.txt100L
-rw-r--r--examples/all_features/test_output/minimal_junit.txt32L
-rw-r--r--examples/all_features/test_output/minimal_no_fail.txt9L
-rw-r--r--examples/all_features/test_output/minimal_no_fail_junit.txt10L
-rw-r--r--examples/all_features/test_output/minimal_no_fail_xml.txt31L
-rw-r--r--examples/all_features/test_output/minimal_xml.txt114L
-rw-r--r--examples/all_features/test_output/no_multi_lane_atomics.txt931L
-rw-r--r--examples/all_features/test_output/no_multithreading.txt931L
-rw-r--r--examples/all_features/test_output/order_1.txt108L
-rw-r--r--examples/all_features/test_output/order_1_junit.txt33L
-rw-r--r--examples/all_features/test_output/order_1_xml.txt116L
-rw-r--r--examples/all_features/test_output/order_2.txt101L
-rw-r--r--examples/all_features/test_output/order_2_junit.txt32L
-rw-r--r--examples/all_features/test_output/order_2_xml.txt114L
-rw-r--r--examples/all_features/test_output/order_3.txt6L
-rw-r--r--examples/all_features/test_output/order_3_junit.txt5L
-rw-r--r--examples/all_features/test_output/order_3_xml.txt7L
-rw-r--r--examples/all_features/test_output/reporters_and_listeners.cpp.txt6L
-rw-r--r--examples/all_features/test_output/reporters_and_listeners.cpp_junit.txt5L
-rw-r--r--examples/all_features/test_output/reporters_and_listeners.cpp_xml.txt7L
-rw-r--r--examples/all_features/test_output/std_headers.txt931L
-rw-r--r--examples/all_features/test_output/stringification.cpp.txt96L
-rw-r--r--examples/all_features/test_output/stringification.cpp_junit.txt101L
-rw-r--r--examples/all_features/test_output/stringification.cpp_xml.txt213L
-rw-r--r--examples/all_features/test_output/subcases.cpp.txt294L
-rw-r--r--examples/all_features/test_output/subcases.cpp_junit.txt150L
-rw-r--r--examples/all_features/test_output/subcases.cpp_xml.txt402L
-rw-r--r--examples/all_features/test_output/templated_test_cases.cpp.txt41L
-rw-r--r--examples/all_features/test_output/templated_test_cases.cpp_junit.txt56L
-rw-r--r--examples/all_features/test_output/templated_test_cases.cpp_xml.txt94L
-rw-r--r--examples/all_features/test_output/test_cases_and_suites.cpp.txt101L
-rw-r--r--examples/all_features/test_output/test_cases_and_suites.cpp_junit.txt32L
-rw-r--r--examples/all_features/test_output/test_cases_and_suites.cpp_xml.txt114L
-rw-r--r--examples/all_features/test_output/version.txt1L
-rw-r--r--examples/all_features/test_output/version_junit.txt1L
-rw-r--r--examples/all_features/test_output/version_xml.txt4L
-rw-r--r--examples/combining_the_same_tests_built_differently_in_multiple_shared_objects/CMakeLists.txt63L
-rw-r--r--examples/combining_the_same_tests_built_differently_in_multiple_shared_objects/default.cpp6L
-rw-r--r--examples/combining_the_same_tests_built_differently_in_multiple_shared_objects/foo.h41L
-rw-r--r--examples/combining_the_same_tests_built_differently_in_multiple_shared_objects/main.cpp24L
-rw-r--r--examples/combining_the_same_tests_built_differently_in_multiple_shared_objects/return42.cpp7L
-rw-r--r--examples/combining_the_same_tests_built_differently_in_multiple_shared_objects/test_output/same_tests_multiple_configurations.txt45L
-rw-r--r--examples/combining_the_same_tests_built_differently_in_multiple_shared_objects/test_output/same_tests_multiple_configurations_junit.txt11L
-rw-r--r--examples/combining_the_same_tests_built_differently_in_multiple_shared_objects/test_output/same_tests_multiple_configurations_xml.txt60L
-rw-r--r--examples/combining_the_same_tests_built_differently_in_multiple_shared_objects/test_runner.cpp5L
-rw-r--r--examples/exe_with_static_libs/CMakeLists.txt27L
-rw-r--r--examples/exe_with_static_libs/doctest_force_link_static_lib_in_target.cmake131L
-rw-r--r--examples/exe_with_static_libs/lib_1_src1.cpp6L
-rw-r--r--examples/exe_with_static_libs/lib_1_src2.cpp6L
-rw-r--r--examples/exe_with_static_libs/lib_2_src.cpp6L
-rw-r--r--examples/exe_with_static_libs/main.cpp4L
-rw-r--r--examples/exe_with_static_libs/test_output/exe_with_static_libs.txt9L
-rw-r--r--examples/exe_with_static_libs/test_output/exe_with_static_libs_junit.txt13L
-rw-r--r--examples/exe_with_static_libs/test_output/exe_with_static_libs_xml.txt24L
-rw-r--r--examples/executable_dll_and_plugin/CMakeLists.txt27L
-rw-r--r--examples/executable_dll_and_plugin/dll.cpp14L
-rw-r--r--examples/executable_dll_and_plugin/implementation.cpp11L
-rw-r--r--examples/executable_dll_and_plugin/implementation_2.cpp10L
-rw-r--r--examples/executable_dll_and_plugin/main.cpp67L
-rw-r--r--examples/executable_dll_and_plugin/plugin.cpp23L
-rw-r--r--examples/executable_dll_and_plugin/test_output/executable_dll_and_plugin.txt31L
-rw-r--r--examples/executable_dll_and_plugin/test_output/executable_dll_and_plugin_junit.txt26L
-rw-r--r--examples/executable_dll_and_plugin/test_output/executable_dll_and_plugin_xml.txt61L
-rw-r--r--examples/installed_doctest_cmake/dll/CMakeLists.txt14L
-rw-r--r--examples/installed_doctest_cmake/dll/dll.cpp22L
-rw-r--r--examples/installed_doctest_cmake/dll/dll.h7L
-rw-r--r--examples/installed_doctest_cmake/dll/exporting.h15L
-rw-r--r--examples/installed_doctest_cmake/dll/main.cpp34L
-rw-r--r--examples/installed_doctest_cmake/executable/CMakeLists.txt9L
-rw-r--r--examples/installed_doctest_cmake/executable/main.cpp35L
-rw-r--r--examples/mpi/CMakeLists.txt7L
-rw-r--r--examples/mpi/main.cpp19L
-rw-r--r--examples/mpi/mpi.cpp46L
-rw-r--r--examples/range_based_execution.py43L
-rw-r--r--meson.build7L
-rwxr-xr-xscripts/bench/bench.py237L
-rwxr-xr-xscripts/bench/run_all.py65L
-rw-r--r--scripts/bench/tests.json43L
-rw-r--r--scripts/cmake/Config.cmake.in6L
-rw-r--r--scripts/cmake/assemble_single_header.cmake13L
-rw-r--r--scripts/cmake/common.cmake211L
-rw-r--r--scripts/cmake/doctest.cmake189L
-rw-r--r--scripts/cmake/doctestAddTests.cmake120L
-rw-r--r--scripts/cmake/exec_test.cmake70L
-rw-r--r--scripts/data/article.txt257L
-rw-r--r--scripts/data/article2.txt153L
-rw-r--r--scripts/data/benchmarks/asserts.png87578B
-rw-r--r--scripts/data/benchmarks/header.png59660B
-rw-r--r--scripts/data/benchmarks/implement.png54083B
-rw-r--r--scripts/data/benchmarks/runtime_assert.png54023B
-rw-r--r--scripts/data/benchmarks/runtime_info.png53696B
-rw-r--r--scripts/data/cover.png42312B
-rw-r--r--scripts/data/cover_888px_wide.png31396B
-rw-r--r--scripts/data/initial_release_traffic.png114301B
-rw-r--r--scripts/data/logo/icon_1.svg27L
-rw-r--r--scripts/data/logo/icon_2.svg32L
-rw-r--r--scripts/data/logo/icon_3.svg37L
-rw-r--r--scripts/data/logo/icon_4.svg25L
-rw-r--r--scripts/data/logo/icon_5.svg32L
-rw-r--r--scripts/data/logo/icon_6.svg32L
-rw-r--r--scripts/data/logo/logo_1.svg35L
-rw-r--r--scripts/data/logo/logo_2.svg33L
-rw-r--r--scripts/data/logo/logo_3.svg33L
-rw-r--r--scripts/data/logo/logo_4.svg33L
-rw-r--r--scripts/data/logo/logo_5.svg34L
-rw-r--r--scripts/data/logo/logo_6.svg34L
-rw-r--r--scripts/data/logo/logo_7.svg38L
-rw-r--r--scripts/data/using_doctest_888px_wide.gif431258B
-rw-r--r--scripts/data/youtube-cppcon-talk-thumbnail.png1078012B
-rw-r--r--scripts/development_only/doctest/doctest.h5L
-rw-r--r--scripts/generate_html.py33L
-rw-r--r--scripts/hello_world.cpp14L
-rw-r--r--scripts/how_stuff_works/CMakeLists.txt6L
-rw-r--r--scripts/how_stuff_works/how_exception_translators_work.cpp90L
-rw-r--r--scripts/how_stuff_works/how_subcases_work.cpp116L
-rw-r--r--scripts/how_stuff_works/testing_crash_scenarios.cpp71L
-rw-r--r--scripts/playground/CMakeLists.txt7L
-rw-r--r--scripts/playground/main.cpp26L
-rw-r--r--scripts/playground/test.cpp6L
-rw-r--r--scripts/random_dev_notes.md64L
-rw-r--r--scripts/release_process.md18L
-rw-r--r--scripts/update_stuff.py47L
-rw-r--r--scripts/version.txt1L