doctest 1.2.7 发布了,doctest 是一个新的 C++ 测试框架。与其他功能丰富的替代方案相比,编译时(by orders of magnitude)和运行时是最快的。它提供了编译语言(如 D/Rust/Nim)的能力,并通过提供一个快速,透明和灵活的测试运行器与简洁的界面,可直接在生产代码中编写测试。
更新内容:
Closed issues:
[list][*]MSan has runtime error: unsigned integer overflow #116
[*]clang-tidy warning about cert-err58-cpp #115
[*]Linking errors #113
[*]inlining function defs #111
[*]Nullptr issue. #110
[*]MemorySanitizer: use-of-uninitialized-value #109
[*]Potential memory leak through scan-build #108
[*]Warnings raised to error with lastest MSVC version #107
[*]New solution for tests in static libraries ! (MSVC) #106
[*]Command line flags do not work after code formatter/beautifier #104
[*]Cppcheck 1.81 warnings #102
[/list]Merged pull requests:
[list][*]Fix macros WIN32_LEAN_AND_MEAN typo #112 (vladimirgamalyan)
[*]Correct DOCTEST_NO_INSTALL logic; do install unless it is set (#99) #100 (onqtam)
[*]Correct DOCTEST_NO_INSTALL logic; do install unless it is set #99 (OdyX)
[/list]完整内容请查看 changelog。
下载地址:
[list][*]Source code (zip)
[*]Source code (tar.gz)
[/list]
来自:开源中国社区