⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dev1.htm

📁 这是一个能够自动生成文档的程序
💻 HTM
字号:
<HTML><HEAD>
<TITLE>高效开发与彻底测试-概述</TITLE>
<meta name="description" content="详细介绍高质高效的编码调试方式,以及如何实现彻底的单元测试,并提出了具有广泛适应性的单元测试流程。">
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="pic/style.css" type=text/css rel=stylesheet>
<style>
<!--
td{font-family:arial}
TD{FONT-SIZE:9pt;LINE-HEIGHT:18px;}
.f{line-height:120%;font-size:100%;width:32em;padding-left:15px;word-break:break-all;word-wrap:break-word;}
-->
</style>
</HEAD>
<BODY leftMargin=0 topMargin=0>

<!--PAGE_HEAD_BEGIN-->
<table width="800" height="192" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="56" height="56" valign="top" bgcolor="#c3daec" ><img src="pic/n_left.gif" width="56" height="190"> 
    </td>
    <td width="687" valign="top"><table width="687" height="42" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="td2">
        <tr> 
          <td width="89" background="pic/top_back.gif"><img src="pic/logo.gif" width="150" height="42" alt="凯乐软件"></td>
          <td width="559" background="pic/top_back.gif" valign="bottom"><table width="98%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td><div align="right"><a href="/">首 页</a> | <a href="/products/"> 产品介绍</a> |                                    
                      <a href="/download/"> 下载中心</a> | <a href="/teaching/">                                                
                      演示与教程</a> | <a href="/bbs/"> 技术论坛</a> | <a href="/faq/"> 问题解答</a> | <a href="/contactus.htm"> 联系我们</a></div></td>                                                
                </tr>
                <tr> 
                  <td height="6"></td>
                </tr>

            </table></td>
        </tr>
      </table>
      <table width="650" height="150" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="td2">
        <tr> 
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="685" height="150">
              <param name="movie" value="pic/top.swf">
              <param name="quality" value="high">
              <embed src="pic/top.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="685" height="150"></embed></object></td>
        </tr>
      </table>
      <table width="687"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="td2">
        <tr> 
          <td background="pic/n_back1.gif" height="9"></td>
        </tr>
      </table></td>
    <td width="57" valign="top" bgcolor="#c3daec"><img src="pic/n_right.gif" width="56" height="190"></td>
  </tr>
</table>
<!--PAGE_HEAD_END-->

<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="56" valign="top" bgcolor="#c3daec" >&nbsp; </td>
    <td width="687" valign="top">
	  <table width="100%" height="40" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="td2">
        <tr> 
          <td width="100%" bgcolor="#f2f2f2" valign="top"> 
		    <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td>
				  <table width="100%" height="38" border="0" cellpadding="0" cellspacing="0" background="pic/bt_back.gif">
                    <tr> 
                      <td class="title"><div align="center"><strong>

					  <!--SUBJECT_BEGIN-->

					  </strong><b>高效开发与彻底测试</b></div></td>
                    </tr>
                  </table>
			    </td>
              </tr>
              <tr> 
                <td height="5" bgcolor="#f8f8f8"></td>
              </tr>
              <tr> 
                <td height="5" bgcolor="#ffffff"></td>
              </tr>
              <tr> 
                <td valign="top" bgcolor="#ffffff"> 
                  <table width=98% align=center><tr><td>

				  <center><b>一、“千般路”与“磨豆腐”</b></center>
					<br>
&nbsp;&nbsp;&nbsp; 
					很久以前听一个故事:从前有个小伙子,少时有大志,长大后却无好营生,开了个豆腐作坊,每天磨豆腐累得腰酸背疼。每到夜深人静,小伙子辗转反侧,总想找条更好的“事业之路”,可是想过千百条、尝试过几十条路,都走不通。夜不成寝,白天干活更累,小伙子不由慨叹:“晚上想过千般路,白天还得磨豆腐”。<br>
					<br>
&nbsp;&nbsp;&nbsp; 不久以前看过一篇文章:《CMM欺骗了中国的软件业》,内容是对CMM热的反思。CMM当然不会主动欺骗人,实际上是我们的软件业自己欺骗自己。我们从来不缺少“某某模式”,“面向某某”,“某某认证”等等听起来美妙无比的东西,问题是实际的研发过程中能做得到码?现实是残酷的,美妙的概念漫天飞舞,开发过程仍然是作坊式的,正是:“晚上想过千般路,白天还得磨豆腐”。<br>
					<br>
&nbsp;&nbsp;&nbsp; 
					中国的故事通常都有圆满的结局,现在接着说“磨豆腐”的故事。过了很长时间,小伙子终于面对现实,不再沉迷于不切实际的空想,用心磨好豆腐,闲时琢磨些个窍门,慢慢地,他的豆腐质量越来越好,每天产量也越来越多,作坊越开越大,成了远近闻名的“豆腐老板”,后来,他做起了别的生意,发现年轻时的空想,其实很多都是可行的,因为现在“能力”和“财力”都不同了。<br>
					<br>
&nbsp;&nbsp;&nbsp; 
					再说软件开发。我们不反对任何理论、技术、方法、模式等等,但第一,您的企业或团队做得到吗?不要做“如果开发时间延长一倍,就可以做到”之类毫无意义的假设。第二,做了真的有效益吗?效益是指扣除成本之后的收益。如果不具备这两点,那么还是不要整天想着“千般路”,首先想想如何好好的“磨豆腐”吧。<br>
					<br>
&nbsp;&nbsp;&nbsp; 
					对于所有软件开发来说,代码编写都是无可逃避的“磨豆腐”。改进代码编写工作,高率效低成本地开发出高质量的代码,对于软件产品能否在激烈的竞争中胜出,对于软件企业的生存和发展,都具有重要的现实意义。<br>
					<br>
&nbsp;&nbsp;&nbsp; 本文是Visual Unit应用的范例项目C++代码文档生成器的主题文档,叙述的正是改进代码编写工作的方法和工具,所有内容均经过实战检验<b>,</b>具有&quot;可行&quot;和&quot;效益&quot;两个特征,&quot;可行&quot;是指较低门槛或没有门槛,凭现有条件即可实施;&quot;效益&quot;是指能产生立竿见影的效果<b>。<br>
					<br>
&nbsp;&nbsp;&nbsp; </b>本文所援引的范例项目,模拟最糟糕的开发团队,最混乱的开发流程:由很少写代码的测试和预研部门开发,人员不固定,时间也不固定,谁有空就写上一些;没有设计,没有文档,基至也不在代码文件中保存编码人员的信息,成员完全依赖于阅读代码和测试用例来理解其他成员写的代码;除了简单的命名规则外,没有其他规范,甚至连一个函数原则上不能超过50行之类的基本规范也没有(范例中有超过200行的函数CMacro::Unwind(),一万多条路径)。
					任何开发团队和开发流程都会好于范例项目的开发团队和开发流程,因此,范例所展示的方法和工具,具有&quot;广泛可行性&quot;。<br>
					<br>
&nbsp;&nbsp;&nbsp; 本文介绍如何进行高效编码调试和实现彻底的单元测试。编码调试是任何软件开发都无可逃避的工作,在Visual 
					Unit的支持下编码调试,只是把本来就一定要做的工作改变一下方式,不需要多做什么,就可以大幅提高编程效率和质量;另一方面,Visual 
					Unit彻底改变了单元测试难于实施或成本昂贵的局面,无论团队中开发与测试人员的比例是怎么样的,都可以轻松快捷地实现彻底的单元测试。<br>
 <table border="0" width="641" id="table1" cellspacing="1" cellpadding="0">
					<tr>
						<td width="320"> </td>
						<td width="320">下一页:<a href="Dev2.htm">高效编码调试</a></td>
					</tr>
					</table>
					</td></tr></table>
				</td>
              </tr>
              <tr> 
                <td height="10" bgcolor="#ffffff"></td>
              </tr>
              <tr> 
                <td height="30" bgcolor="#f2f2f2" align=right valign=center><a href="javascript:history.back()"><img src="pic/back.gif" alt="返回上页" border="0"></a></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
    <td width="57" valign="top" bgcolor="#c3daec"> </td>
  </tr>
</table>

<!--PAGE_TAIL_BEGIN-->
<table width="800" height="107" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="107" valign="top" bgcolor="#c3daec"> 
      <table width="687" height="37" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="td2">

                <tr> 
                  <td  background="pic/foot_back.gif" style="letter-spacing:1pt;"><div align="center"><a href="/">首 页</a> | <a href="/products/"> 产品介绍</a> |                                    
                      <a href="/download/"> 下载中心</a> | <a href="/teaching/">                                                
                      演示与教程</a> | <a href="/bbs/"> 技术论坛</a> | <a href="/faq/"> 问题解答</a> | <a href="/contactus.htm"> 联系我们</a></div></td>                                                
                </tr>        
      </table>
      <table width="687" height="70" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="td2">
        <tr> 
          <td background="pic/foot_back2.gif" bgcolor="#FFFFFF"> 
            <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td><div align="center"><font color="#333333">Copyright &copy;                                
                    2006 KaileSoft.cn All Rights Reserved </font></div></td>                                                
              </tr>
              <tr> 
                <td><div align="center"><font color="#333333">广州市凯乐软件技术有限公司</font></div></td>                               
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
<!--PAGE_TAIL_END-->

</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -