C++ 测试框架:寻求推荐

2022-01-16 00:00:00 windows unit-testing frameworks c++

我正在寻找可以在我的 Windows/Visual Studio 机器上使用的快速而肮脏"的 C++ 测试框架.这只是我在开发,所以它不一定是企业级软件.盯着一串测试框架,我有些懵了……

I'm looking for a "quick and dirty" C++ testing framework I can use on my Windows/Visual Studio box. It's just me developing, so it doesn't have to be enterprise class software. Staring at a list of testing frameworks, I am somewhat befuddled...

http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#C.2B.2B

推荐答案

这是一个很棒的关于 C++ TDD 框架的文章.作为记录,我个人的偏好是 CxxTest,我已经愉快地使用了大约六个月.

Here's a great article about C++ TDD frameworks. For the record, my personal preference is CxxTest, which I have been happily using for about six months now.

相关文章