新增章节 1_3

+YUCHENG HU+


git-svn-id: https://svn.code.sf.net/p/hawebs/svn@508 a2543c7e-f6e9-4f8a-8bff-1ffc34733512
This commit is contained in:
YuCheng Hu
2010-07-15 04:03:47 +00:00
parent 44d34a7cd6
commit 8afc8b69d0
7 changed files with 119 additions and 9 deletions
@@ -62,5 +62,6 @@
<topicref href="tasks/chapter1/chapter1.dita">
<topicref href="tasks/chapter1/chapter1_1.dita"/>
<topicref href="tasks/chapter1/chapter1_2.dita"/>
<topicref href="tasks/chapter1/chapter1_3.dita"/>
</topicref>
</map>
@@ -0,0 +1,53 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- This document was created with Syntext Serna Free. --><!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd" []>
<!--
**
* Copyright (C) 2006-2010 YUCHENG HU
*
* +++++++++++++++++++++++++++++++++++++++++++++++++
* HA WEBSYSTEMS
* http://www.hawebs.net
* http://www.tcivis.com
*
* Contact
* [email protected] / [email protected]
*
* +++++++++++++++++++++++++++++++++++++++++++++++++
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
* GNU GENERAL PUBLIC LICENSE
* APACHE LICENSE, VERSION 2.0
*
* +++++++++++++++++++++++++++++++++++++++++++++++++
-->
<concept id="chapter1_3" xml:lang="zh">
<title>代码测试与维护</title>
<prolog>
<metadata>
<keywords>
<indexterm>Java</indexterm>
<indexterm>编码规范</indexterm>
</keywords>
</metadata>
</prolog>
<conbody>
<p><ol>
<li>单元测试要求至少达到语句覆盖。</li>
<li>单元测试开始要跟踪每一条语句,并观察数据流及变量的变化。</li>
<li>清理、整理或优化后的代码要经过审查及测试。</li>
<li>代码版本升级要经过严格测试。 </li>
</ol></p>
</conbody>
</concept>