1. 程式人生 > >doctest 2.1.0 釋出,快速靈活的 C++ 測試框架

doctest 2.1.0 釋出,快速靈活的 C++ 測試框架

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