Test
First Snowflakes
捡贝壳
展开
-
Google代码规范工具Cpplint
cpplint是Google开发的一个C++代码检查工具, github上下载:https://github.com/google/styleguide/blob/gh-pages/cpplint/cpplint.pycpplint是一个使用python2.X版本写的脚本,所以执行的时候需要使用python2.X版本。#对于发现的每个问题,cpplint都会给出一个位于区间[1, 5]之间的置信度评分,分数越高就代表问题越肯定,可以通过verbose选项控制输出哪些级别,如下,置信度评...原创 2021-02-13 21:34:26 · 688 阅读 · 1 评论 -
Cmake & Visual Studio supports GoogleTest
1 CMakehttps://cmake.org/cmake/help/v3.17/module/GoogleTest.htmlThis module defines functions to help use the Google Test infrastructure. Two mechanisms for adding tests are provided. gte...原创 2020-03-08 22:56:43 · 214 阅读 · 0 评论 -
桩代码(Stub)
Ref:https://stackoverflow.com/questions/463278/what-is-a-stubhttps://www.zhihu.com/question/24844900/answer/35126766https://stackoverflow.com/questions/9777822/what-does-to-stub-mean-in-pr...原创 2020-02-14 12:55:28 · 802 阅读 · 0 评论 -
google test入门
Github:https://github.com/google/googletesthttps://github.com/google/googletest/blob/master/googletest/docs/primer.mdgoogletest helps you write better C++ tests.googletest is a testing fram...原创 2020-02-10 22:44:31 · 514 阅读 · 0 评论 -
xUnit Test
https://github.com/xunit/xunitxUnit.net is a free, open source, community-focused unit testing tool for the .NET Framework. Written by the original inventor of NUnit v2, xUnit.net is the latest t...原创 2020-02-09 20:57:59 · 328 阅读 · 0 评论