<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>静态分析|白盒测试|黑盒测试|软件测试工具</title><link>http://www.mytestlife.com/</link><description>专业的软件测试工具经验分享博客！MyTestLife.com</description><generator>RainbowSoft Studio Z-Blog 1.8 Arwen Build 81206</generator><language>zh-CN</language><copyright>Copyright 2008-2068 mytestlife.com. Some Rights Reservedvar _bdhmProtocol = ((&amp;quot;https:&amp;quot; == document.location.protocol) ? &amp;quot; https://&amp;quot; : &amp;quot; http://&amp;quot;);document.write(unescape(&amp;quot;%3Cscript src='&amp;quot; + _bdhmProtocol + &amp;quot;hm.baidu.com/h.js%3Ffda756b3a75af9863fa802d99c75e9c7' type='text/javascript'%3E%3C/script%3E&amp;quot;));</copyright><pubDate>Thu, 03 Nov 2011 12:13:38 +0800</pubDate><item><title>CppUnit测试环境搭建流程及示例Linux环境</title><author>a@b.com (withdreamer)</author><link>http://www.mytestlife.com/post/setup_cppunit_Linux.html</link><pubDate>Fri, 23 Sep 2011 11:51:32 +0800</pubDate><guid>http://www.mytestlife.com/post/setup_cppunit_Linux.html</guid><description><![CDATA[<p>&nbsp;本文原载于&ldquo;<a target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(41, 112, 166); text-decoration: none; " href="http://www.mytestlife.com/">软件测试工具</a>&rdquo;介绍软件测试相关内容的专业博客<a style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(41, 112, 166); text-decoration: none; " href="http://www.mytestlife.com/">www.mytestlife.com</a>，任何转载均需保留原址。&nbsp;</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">前言：本博客一直关注<a style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(41, 112, 166); text-decoration: none; " href="http://www.mytestlife.com/post/c++test.html">C++test</a><a target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(41, 112, 166); text-decoration: none; " href="http://www.mytestlife.com/post/unittest.html">单元测试</a>，<a href="http://www.mytestlife.com/post/c++test.html">C++test</a>是一款专业的测试工具，除了包含<a href="http://www.mytestlife.com/post/unittest.html" target="_blank">单元测试</a>还有静态规则检查，数据流分析的功能，但C++test是一款商业工具，对于一些希望通过开源方式打造单元测试环境的公司或者测试人员而言，CppUnit无疑是非常好的环境。本文分成两篇文章介绍如何在Windows和Linux上搭建CppUnit测试环境，前文&ldquo;<a target="_blank" href="http://www.mytestlife.com/post/setup_cppunit_win.html">CppUnit测试环境搭建流程及示例 Windows环境</a>&quot;介绍了如何在Windows上搭建CppUnit测试环境，本文作为姊妹篇，介绍如何在Linux上搭建环境：</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">....</p><p>&nbsp;</p>]]></description><category>C++test</category><comments>http://www.mytestlife.com/post/setup_cppunit_Linux.html#comment</comments><wfw:comment>http://www.mytestlife.com/</wfw:comment><wfw:commentRss>http://www.mytestlife.com/feed.asp?cmt=79</wfw:commentRss><trackback:ping>http://www.mytestlife.com/cmd.asp?act=tb&amp;id=79&amp;key=bb16edf0</trackback:ping></item><item><title>CppUnit测试环境搭建流程及示例 Windows环境</title><author>nlee@parasoft.com (nick)</author><link>http://www.mytestlife.com/post/setup_cppunit_win.html</link><pubDate>Thu, 15 Sep 2011 16:46:40 +0800</pubDate><guid>http://www.mytestlife.com/post/setup_cppunit_win.html</guid><description><![CDATA[<p>&nbsp;本文原载于&ldquo;<a target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(41, 112, 166); text-decoration: none; " href="http://www.mytestlife.com/">软件测试工具</a>&rdquo;介绍软件测试相关内容的专业博客<a style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(41, 112, 166); text-decoration: none; " href="http://www.mytestlife.com/">www.mytestlife.com</a>，任何转载均需保留原址。&nbsp;</p><p>前言：本博客一直关注<a href="http://www.mytestlife.com/post/c++test.html">C++test</a><a href="http://www.mytestlife.com/post/unittest.html" target="_blank">单元测试</a>，C++test是一款专业的测试工具，除了包含单元测试还有静态规则检查，数据流分析的功能，但C++test是一款商业工具，对于一些希望通过开源方式打造单元测试环境的公司或者测试人员而言，CppUnit无疑是非常好的环境。本文分成两篇文章介绍如何在Windows和Linux上搭建CppUnit测试环境，全文如下</p><p>....</p>]]></description><category>白盒测试</category><comments>http://www.mytestlife.com/post/setup_cppunit_win.html#comment</comments><wfw:comment>http://www.mytestlife.com/</wfw:comment><wfw:commentRss>http://www.mytestlife.com/feed.asp?cmt=78</wfw:commentRss><trackback:ping>http://www.mytestlife.com/cmd.asp?act=tb&amp;id=78&amp;key=cdced0d3</trackback:ping></item><item><title>谷歌如何测试软件 —— 第三部分 -- 【好文分享系列】</title><author>a@b.com (withdreamer)</author><link>http://www.mytestlife.com/post/how_google_test_software_part_three.html</link><pubDate>Thu, 25 Aug 2011 16:40:30 +0800</pubDate><guid>http://www.mytestlife.com/post/how_google_test_software_part_three.html</guid><description><![CDATA[<p>&nbsp;&nbsp;本文是从&nbsp;<a style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; vertical-align: baseline; color: rgb(0, 102, 204); " href="http://googletesting.blogspot.com/2011/02/how-google-tests-software-part-three.html">How Google Tests Software - Part Three</a>&nbsp;这篇文章翻译而来。 本文作者 James Whittaker, 前微软架构师，是&ldquo;<a style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; vertical-align: baseline; color: rgb(0, 102, 204); " href="http://search.barnesandnoble.com/How-to-Break-Software/James-A-Whittaker/e/9780201796193">How to Break Software</a>&rdquo;系列图书中好几部书的作者，现任Google测试工程主管，最近他写了一系列的关于谷歌如何测试软件的文章，本文为其系列的第三部分。</p><p>在前两部分的文章中，很多人在评论里提出了问题。我没有忘记他们。希望大部分的人能在余下的几部分文章里找到答案。我现在还是开始这篇文章的主题。</p><p>...</p>]]></description><category>优秀文章</category><comments>http://www.mytestlife.com/post/how_google_test_software_part_three.html#comment</comments><wfw:comment>http://www.mytestlife.com/</wfw:comment><wfw:commentRss>http://www.mytestlife.com/feed.asp?cmt=77</wfw:commentRss><trackback:ping>http://www.mytestlife.com/cmd.asp?act=tb&amp;id=77&amp;key=51bb92db</trackback:ping></item><item><title>谷歌如何测试软件 —— 第二部分 【好文分享系列】</title><author>a@b.com (withdreamer)</author><link>http://www.mytestlife.com/post/how_google_test_software_part_two.html</link><pubDate>Thu, 25 Aug 2011 12:04:10 +0800</pubDate><guid>http://www.mytestlife.com/post/how_google_test_software_part_two.html</guid><description><![CDATA[<p>&nbsp;&nbsp;<span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; font-size: 16px; line-height: 24px; background-color: rgb(249, 249, 249); ">本文是从&nbsp;<a href="http://googletesting.blogspot.com/2011/02/how-google-tests-software-part-two.html" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; vertical-align: baseline; color: rgb(0, 102, 204); ">How Google Tests Software - Part Two</a>&nbsp;这篇文章翻译而来。 本文作者 James Whittaker, 前微软架构师，是&ldquo;<a href="http://search.barnesandnoble.com/How-to-Break-Software/James-A-Whittaker/e/9780201796193" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; vertical-align: baseline; color: rgb(0, 102, 204); ">How to Break Software</a>&rdquo;系列图书中好几部书的作者，现任Google测试工程主管，最近他写了一系列的关于谷歌如何测试软件的文章，本文为其系列的第二部分。</span></p><p>....</p>]]></description><category>优秀文章</category><comments>http://www.mytestlife.com/post/how_google_test_software_part_two.html#comment</comments><wfw:comment>http://www.mytestlife.com/</wfw:comment><wfw:commentRss>http://www.mytestlife.com/feed.asp?cmt=76</wfw:commentRss><trackback:ping>http://www.mytestlife.com/cmd.asp?act=tb&amp;id=76&amp;key=8cb08a25</trackback:ping></item><item><title>“C++test对于复杂结构体指针参数如何测试用例？” -- 来自QQ群讨论系列文章</title><author>nlee@parasoft.com (nick)</author><link>http://www.mytestlife.com/post/struct_member_wise_cpptest.html</link><pubDate>Wed, 17 Aug 2011 11:44:42 +0800</pubDate><guid>http://www.mytestlife.com/post/struct_member_wise_cpptest.html</guid><description><![CDATA[<p>本文原载于&ldquo;<a target="_blank" href="http://www.mytestlife.com/">软件测试工具</a>&rdquo;介绍软件测试相关内容的博客<a href="http://www.mytestlife.com/">www.mytestlife.com</a>，任何转载均需保留原址。</p><p><strong>前言</strong>：本文源自软件测试交流qq群（群号：74287645）的群友弦外之音提到的一个问题：对于复杂结构体指针参数，<a href="http://www.mytestlife.com/post/c++test.html">C++test</a>如何测试用例？QQ群的优点在于交流及时有效，但是每次回答完毕后，信息无法保留，因此博主打算以QQ群中群友的提问为主题完成&ldquo;xxx问题？-- 来自QQ群讨论系列文章&ldquo;系列文章，QQ群中的回复或者群友关于软件测试的高见，辑录于此，方便更多需要了解这些问题的人，更好的查找。</p><p><strong>问题</strong>：<em>对于复杂结构体指针参数，C++test如何测试用例？</em></p><p><strong>现象</strong>：<em>有没有谁用过C++ test？当函数参数为一个结构体的时候，结构体比较深，测试用例自动生成的时候，就会给他赋值为null</em></p><p><strong>回答</strong>：</p><p>1. 我们一定得清楚没有任何工具是全智能的.......</p>]]></description><category>C++test</category><comments>http://www.mytestlife.com/post/struct_member_wise_cpptest.html#comment</comments><wfw:comment>http://www.mytestlife.com/</wfw:comment><wfw:commentRss>http://www.mytestlife.com/feed.asp?cmt=75</wfw:commentRss><trackback:ping>http://www.mytestlife.com/cmd.asp?act=tb&amp;id=75&amp;key=e4f8f641</trackback:ping></item><item><title>“如何让C++test统计1个文件的代码覆盖率？” -- 来自QQ群讨论系列文章</title><author>a@b.com (withdreamer)</author><link>http://www.mytestlife.com/post/c++test_coverage.html</link><pubDate>Fri, 12 Aug 2011 10:59:41 +0800</pubDate><guid>http://www.mytestlife.com/post/c++test_coverage.html</guid><description><![CDATA[<p>本文原载于&ldquo;<a target="_blank" href="http://www.mytestlife.com">软件测试工具</a>&rdquo;介绍软件测试相关内容的专业博客<a href="http://www.mytestlife.com/">www.mytestlife.com</a>，任何转载均需保留原址。</p><p><strong>前言</strong>：本文源自软件测试交流qq群（群号：74287645）的群友AlwaySmile提到的一个问题：如何让<a href="http://www.mytestlife.com/post/c++test.html">C++test</a>统计1个文件的代码覆盖率？QQ群的优点在于交流及时有效，但是每次回答完毕后，信息无法保留，因此博主打算以QQ群中群友的提问为主题完成&ldquo;xxx问题？-- 来自QQ群讨论系列文章&ldquo;系列文章，QQ群中的回复或者群友关于软件测试的高见，辑录于此，方便更多需要了解这些问题的人，更好的查找。</p><p><strong>问题</strong>：<em>如何让C++test统计1个文件的代码覆盖率？</em></p><p><strong>回答</strong>：C++test获取覆盖率的原理在于通过插装（instrument）插入一些代码...</p>]]></description><category>C++test</category><comments>http://www.mytestlife.com/post/c++test_coverage.html#comment</comments><wfw:comment>http://www.mytestlife.com/</wfw:comment><wfw:commentRss>http://www.mytestlife.com/feed.asp?cmt=74</wfw:commentRss><trackback:ping>http://www.mytestlife.com/cmd.asp?act=tb&amp;id=74&amp;key=cc08cf43</trackback:ping></item><item><title>C++test如何针对自定义资源函数进行内存泄漏检测，设置参数说明？</title><author>nlee@parasoft.com (nick)</author><link>http://www.mytestlife.com/post/memory_leak_bugdetective_3114.html</link><pubDate>Wed, 03 Aug 2011 10:36:23 +0800</pubDate><guid>http://www.mytestlife.com/post/memory_leak_bugdetective_3114.html</guid><description><![CDATA[<p>本文源自于<a target="_blank" href="http://www.mytestlife.com/">软件测试人</a>专业博客，任何转载均需注明原址：<a href="http://www.mytestlife.com/post/memory_leak_bugdetective.html">http://www.mytestlife.com/post/memory_leak_bugdetective.html</a></p><p><a href="http://www.mytestlife.com/post/c++test.html">C++test</a>提供数据流分析的功能，也即BugDetective，在之前的系列文章中也曾有介绍BugDetective的一些功能介绍，参见文章《<a href="http://www.mytestlife.com/post/bugdetective_cpptest.html">c++test使用入门介绍 -- 使用C++test BugDetective功能</a>》，另外也有一篇文章介绍了《<a target="_blank" href="http://www.mytestlife.com/post/resource_leak.html">利用C++test BugDetective功能检查自定义资源分配函数的泄漏问题</a>》，本文针对BugDetective自定义资源的设置选项做个详细说明，便于大家在设置时更方便，同时用一个例子来解释，如何详细配置...</p>]]></description><category>C++test</category><comments>http://www.mytestlife.com/post/memory_leak_bugdetective_3114.html#comment</comments><wfw:comment>http://www.mytestlife.com/</wfw:comment><wfw:commentRss>http://www.mytestlife.com/feed.asp?cmt=73</wfw:commentRss><trackback:ping>http://www.mytestlife.com/cmd.asp?act=tb&amp;id=73&amp;key=3d622dac</trackback:ping></item><item><title>如何对界面(UI)进行单元测试？</title><author>a@b.com (withdreamer)</author><link>http://www.mytestlife.com/post/how_to_unit_tests_for_UI.html</link><pubDate>Tue, 12 Jul 2011 22:46:20 +0800</pubDate><guid>http://www.mytestlife.com/post/how_to_unit_tests_for_UI.html</guid><description><![CDATA[<p><a href="http://www.mytestlife.com/post/unittest.html" target="_blank">单元测试</a>在国内的软件公司开始越来越受到重视，作为单元测试用例的开发人员或者测试人员，如何对图形化界面程序做单元测试？这是一个比较棘手的问题。首选我们简单分析针对图形化界面的单元测试所碰到的难点：</p><p>1. 图形化界面往往会弹出一些窗口，这些窗口需要用户的响应，比如点击&ldquo;确定&rdquo;或者&ldquo;关闭&rdquo;按钮，而单元测试时，一般是针对一系列的测试用例进行测试，如何对弹出的窗口进行自动化响应？</p><p>...</p>]]></description><category>白盒测试</category><comments>http://www.mytestlife.com/post/how_to_unit_tests_for_UI.html#comment</comments><wfw:comment>http://www.mytestlife.com/</wfw:comment><wfw:commentRss>http://www.mytestlife.com/feed.asp?cmt=71</wfw:commentRss><trackback:ping>http://www.mytestlife.com/cmd.asp?act=tb&amp;id=71&amp;key=a926df30</trackback:ping></item><item><title>好文推荐系列之白盒测试 - - 为何进行白盒测试 从“清洗面包机”讲起</title><author>a@b.com (withdreamer)</author><link>http://www.mytestlife.com/post/good_unit_tests.html</link><pubDate>Mon, 11 Jul 2011 11:22:27 +0800</pubDate><guid>http://www.mytestlife.com/post/good_unit_tests.html</guid><description><![CDATA[<p><strong>好文推荐系列之<a href="http://www.mytestlife.com/" target="_blank">白盒测试</a> - - 为何进行白盒测试 从&ldquo;清洗面包机&rdquo;讲起</strong></p><p>一. 推荐理由：</p><p>a. 该篇文章从清洗面包机这个浅显易懂的道理入手，阐述白盒测试/<a href="http://www.mytestlife.com/post/unittest.html" target="_blank">单元测试</a>的重要性，告诉测试人员或者软件测试部门经理为何要进行白盒测试/单元测试；</p><p>b. 通常的角度而言，很多人认为白盒测试效率低下，性价比低，不如系统测试直接高效，但本文作者从另一个角度论及白盒测试实际上是一种高效测试的手段；</p><p>c. 单元测试针对编码阶段引入的问题，集成测试与功能测试针对软件设计中引入的问题，验收测试针对需求与规格。单元测试不要或缺的重要原因是：编码阶段引入的问题占很高比例，不进行单元测试就难以保证系统最终的稳定性。</p><p>d. 白盒测试/单元测试做到什么程度为宜？一直是做单元测试的人比较难以把控的一个问题，本文在这方面给予了一些解答；</p>]]></description><category>白盒测试</category><comments>http://www.mytestlife.com/post/good_unit_tests.html#comment</comments><wfw:comment>http://www.mytestlife.com/</wfw:comment><wfw:commentRss>http://www.mytestlife.com/feed.asp?cmt=70</wfw:commentRss><trackback:ping>http://www.mytestlife.com/cmd.asp?act=tb&amp;id=70&amp;key=8b9d003c</trackback:ping></item><item><title>C++test使用进阶介绍 -- 深度阐释C++test提供的7种覆盖率</title><author>a@b.com (withdreamer)</author><link>http://www.mytestlife.com/post/unit_test_coverage_5416.html</link><pubDate>Wed, 17 Nov 2010 18:37:29 +0800</pubDate><guid>http://www.mytestlife.com/post/unit_test_coverage_5416.html</guid><description><![CDATA[<p>本文是《<a target="_blank" href="http://www.mytestlife.com/post/command_line.html">C++test使用进阶介绍</a>》系列文章，上一篇介绍了《<a target="_blank" href="http://www.mytestlife.com/post/C++test_data_source.html">C++test使用进阶介绍 -- 全面了解和学习使用C++test数据源功能</a>》 ，本篇介绍<a href="http://www.mytestlife.com/post/c++test.html">C++test</a>支持的7中覆盖率相关概念和使用。</p><p>待续....</p>]]></description><category>C++test</category><comments>http://www.mytestlife.com/post/unit_test_coverage_5416.html#comment</comments><wfw:comment>http://www.mytestlife.com/</wfw:comment><wfw:commentRss>http://www.mytestlife.com/feed.asp?cmt=68</wfw:commentRss><trackback:ping>http://www.mytestlife.com/cmd.asp?act=tb&amp;id=68&amp;key=98d5f298</trackback:ping></item></channel></rss>

