
testing
文章平均质量分 81
printf1998
这个作者很懒,什么都没留下…
展开
-
测试驱动开发 2011-01-02
GTest 1. 就篇介绍性文章http://apps.hi.baidu.com/share/detail/24314152 CPPUnit / CXXTestGTest 结论:GTest在多个方面明显胜出 2. GTest官网:http://code.google.com/p/googletest/ 3. first example: try原创 2011-01-02 21:29:00 · 871 阅读 · 0 评论 -
测试自动化 2011/06/11 -2
0. 杂记与杂问 Q:如果要选择性执行一些test cases,如何配置???* Const的一些用法总结:http://topic.youkuaiyun.com/t/20030421/20/1690292.html # 指针相关const int* a = &b; [1] int const *a = &b; [2] int* co原创 2011-06-11 19:48:00 · 965 阅读 · 0 评论 -
测试自动化 2011/06/12 - 4 GTest Advanced Guide
0. 杂问杂记Unlike TestNG, GoogleTest does not use Exception to report failure/success of a test. 1. More assertionsFocus: to make the error message more readable.* Exception AssertionsASSERT_T原创 2011-06-13 08:14:00 · 438 阅读 · 0 评论 -
测试自动化 2011/06/11 - 3 GTest Primer
0. 杂问杂记Very good articles about GoogleTest/Hudson/GCC: http://meekrosoft.wordpress.com/2010/06/02/continuous-code-coverage-with-gcc-googletest-and-hudson/ Q:如何指定某些Tests被执行?(比如,类似TestNG中的自定义原创 2011-06-11 22:55:00 · 600 阅读 · 0 评论 -
测试自动化 2011/06/09 GMock
1. 杂记 阅读GMock README 2. GoogleMock Features - provides a declarative syntax for defining mocks,- can easily define partial (hybrid) mocks, which are a cross of real and mock objects,原创 2011-06-10 07:23:00 · 520 阅读 · 0 评论 -
测试自动化 2011/06/07 GMock
1. 杂问仿gtest为VC6写的单元测试框架http://blog.youkuaiyun.com/riag/category/115856.aspx一篇关于gmock的导读文章:http://blog.youkuaiyun.com/learnhard/archive/2010/07/23/5757461.aspx 2. 下载* svn checkout svn checkout http:/原创 2011-06-08 08:34:00 · 868 阅读 · 0 评论 -
测试自动化 2011/06/05 - 1
读《玩转gtest》http://www.cnblogs.com/coderzh/archive/2009/04/06/1426755.html 0. 杂问一些关于测试覆盖tool的东东:http://www.cnblogs.com/coderzh/archive/2009/03/21/1418355.html 1. 事件:TestCase事件与Test事件 总结Tes原创 2011-06-05 10:09:00 · 457 阅读 · 0 评论 -
测试自动化 2011/06/11 - 1 一个最简单的GMock测试程序HelloGMock
Google Mock使用:做一个最简单的GMock例子并运行起来(耗时约3小时) 1. 生产代码:Hello.h, SayHello.h [root@localhost HelloGMock]# cat Hello.h#ifndef __HELLO_#define __HELLO_class Hello {public: virtual vo原创 2011-06-11 09:54:00 · 2502 阅读 · 0 评论 -
好好学习,天天向上 2012/02/02
主要目标:* 在xcode里将代码放进source forge* 了解xcode版本的gtest 1. svn setup reference: http://wenku.baidu.com/view/0ddce819ff00bed5b9f31d0f.html* 对SVN进行修改,确定哪些文件需要check in等等 〜/.subversion/config原创 2012-02-02 14:22:18 · 420 阅读 · 0 评论 -
测试自动化 2011/06/04 - 2
读《玩转GTest》http://www.cnblogs.com/coderzh/archive/2009/04/06/1426755.html 0. 杂问Q:如何让VC6运行gtest1.6? 1. 生成并使用gtest库 * 生成库# ./configure#./make 注:所有库文件在${home}/lib/.libs目录中 * 使用库原创 2011-06-04 22:50:00 · 649 阅读 · 0 评论 -
测试自动化 2011/06/04 - 1
1. 再次捡起GTest以前的老资料:http://blog.youkuaiyun.com/printf1998/archive/2011/01/02/6112922.aspx新的资源:http://www.cnblogs.com/coderzh/archive/2009/04/06/1426755.html 2. 运行GoogleTest Sample在VMware/Redhat ent原创 2011-06-04 13:32:00 · 558 阅读 · 0 评论 -
好好学习,天天向上 2012/01/21
1. JMock/JTest for XCode 今日计划:* 完成gtest在mac上的build与运行* 完成自己的一个test,并上传到internet上新建的repository * 完成gmock例子并上传 * 了解gtest/xcode2. addertest.cppQ: “endl" not working ?use "#include原创 2012-01-21 10:56:52 · 551 阅读 · 0 评论 -
测试自动化 2011/06/11 - 3 GTest Samples
0. 杂问杂记 1. Sample 3 * Fixture// The tests share the test fixture in the sense of code sharing, not// data sharing. Each test is given its own fresh copy of the// fixture. You cannot ex原创 2011-06-11 23:45:00 · 502 阅读 · 0 评论