doctest 2.1.0 已发布,更新内容:

Closed issues:

  • doctest::String ctor with non-zero terminated string #165

  • thread_local is not supported on iOS 9.0 #164

  • Compiler error on Android NDK r18 #163

  • [question] One setup for multiple tests #160

  • clang unwanted warning in user code #156

  • Unsigned integer overflow in fileOrderComparator #151

  • ThreadSanitizer: signal-unsafe call inside of a signal #147

  • Feature request: check for exception string (like Catch's CHECK_THROWS_WITH) #97

Merged pull requests:

  • Fixed build error under Android NDK #162 (tals)

  • Added clang-7 to travis build #161 (AMS21)

  • Remove clang-tidy warnings for static fields created by doctest #159 (rantasub)

  • Make it possible to change the command line options prefix #158 (tbleher)

doctest 是一个新的 C++ 测试框架。与其他功能丰富的替代方案相比,编译时和运行时是最快的。它提供了编译语言(如 D/Rust/Nim)的能力,并通过提供一个快速,透明和灵活的测试运行器与简洁的界面,可直接在生产代码中编写测试。 

下载地址:https://github.com/onqtam/doctest/releases/tag/2.1.0