??xml version="1.0" encoding="utf-8" standalone="yes"?>国产丝袜一区二区三区,久久综合九色综合欧美就去吻,久久久精品久久久久久96http://www.aygfsteel.com/JPeanut/搬迁?http://www.17m.net.cn/zh-cnWed, 07 May 2025 02:28:57 GMTWed, 07 May 2025 02:28:57 GMT60Drupal5.x创徏自定义模块指南-02把你的模块告知Drupalpȝ(Creating modules - a tutorial: Drupal 5.x Q-02. Telling Drupal about your module)http://www.aygfsteel.com/JPeanut/archive/2007/03/27/106584.html陈市?/dc:creator>陈市?/author>Tue, 27 Mar 2007 01:32:00 GMThttp://www.aygfsteel.com/JPeanut/archive/2007/03/27/106584.htmlhttp://www.aygfsteel.com/JPeanut/comments/106584.htmlhttp://www.aygfsteel.com/JPeanut/archive/2007/03/27/106584.html#Feedback0http://www.aygfsteel.com/JPeanut/comments/commentRss/106584.htmlhttp://www.aygfsteel.com/JPeanut/services/trackbacks/106584.html[译:陈市?摘自:http://drupal.org/node/82926]
   ?.x中,你模块的基本信息不再是通过函数hook_help提供lDrupalQ而是在info文g定义name和description卛_Q具体格式参见info文g指南Q。在我们的例子中Q该文g为onthisdate.info
 通常格式如下Q?br />
; $Id$
name 
= Module Name
description 
= "A description of what your module does."

如果没有q个文gQ则drupal不能在模块安装的时候找到该模块?br />在我们的例子中,onthisdate.info应该包含如下数据Q?br />
; $Id$
name 
= On this date
description 
= "A block module that lists links to content such as blog entries or forum discussions that were created one week ago."
把q些代码写到onthisdate.info文g中,保存到sites/all/modules/onthisdate目录
下面3句是在info文g中是可选的
dependencies = module1 module2 module3
package = "Your arbitrary grouping string"
version 
= "$Name$"
在我们的例子中,不使用q些代码。如果你的模块依赖其他模块,则Drupal在你的依赖模块没有被Ȁzȝ情况下是不允许激zȝ?br />PackageQ在模块列表面中的昄分组Q如果该gؓI则默认为“Uncategorized”?br />VersionQ通过cvs直接得到的模块的版本?br />该文件用的是ini格式Q所以该文g可以包含;表示注释Q?br />; $Id$则让cvs自动把该文g的ID信息自动替换?br />关于ini的格式,具体参见PHP.net parse_ini_file documentation

除了info文gQ我们还可以通过实现help钩子来添加额外的帮助信息。不怎么P最好还是实现help钩子。onthisdate模块的help钩子叫做onthisdate_helpQ?br />
<?php
function onthisdate_help($section
='') {
}
?>
$section变量Q是该页面的l点路径。官Ҏ(gu)荐,最好在模块中通过swtich case语句来判断是否是该模块的l点路径。你可以参照如下代码Q?br />
<?php
/**
* 昄帮助和模块信?br />* 
@param 当前帮助l点的\?模块?br />* @return 昄的帮助信?br />*/
function onthisdate_help($section
='') {
  $output 
= '';
  
switch ($section) {
    
case "admin/help#onthisdate":
      $output 
= '<p>'.  t("Displays links to nodes created on this date"). '</p>';
      
break;
  }
  
return $output;
// function onthisdate_help
?>
把这些代码写到onthisdate.module文g中,保存到目录sites/all/modules/onthisdate



原文Q?br />

In Drupal 5.x the basic information about your module, its name and description, is no longer provided by hook_help. Instead, all modules now need to have a modulename.info file, containing meta information about the module (for details see Writing .info files (Drupal 5.x)). For our example, "onthisdate.info'.

The general format is:

; $Id$
name 
= Module Name
description 
= "A description of what your module does."

Without 
this file, your module will not show up in the module listing!.

for our example, it could contain the following:

; $Id$
name 
= On this date
description 
= "A block module that lists links to content such as blog entries or forum discussions that were created one week ago."

Add the source above to a file named to onthisdate.info before saving in your module
's directory at sites/all/modules/onthisdate.

There are also three optional lines that may appear in the .info file:
dependencies 
= module1 module2 module3
package = "Your arbitrary grouping string"
version 
= "$Name$"

For our example module, these don
't apply and we will simply omit them. If you assign dependencies for your module, Drupal will not allow it to be activated until the required dependencies are met.

If you assign a 
package string for your module, on the admin/build/modules page it will be listed with other modules with the same category. If you do not assign one, it will simply be listed as 'Uncategorized'. Not assigning a package for your module is perfectly ok; in general packages are best used for modules that are distributed together or are meant to be used together. If you have any doubt, leave this field blank.

Suggested examples of appropriate items 
for the package field:

    
* Audio
    
* Bot
    
* CCK
    
* Chat
    
* E-Commerce
    
* Event
    
* Feed Parser
    
* Organic groups
    
* Station
    
* Video
    
* Views
    
* Voting (if it uses/requires VotingAPI) 

The version line will provide the version string 
for users getting their modules directly from CVS rather than using the tarball package that is created with a release.

The files use the ini format and can include a ; $Id$ to have CVS insert the file ID information.

For more information on ini file formatting, see the PHP.net parse_ini_file documentation.

We can also provide help and additional information about our module. Because of the use of the .info file described above, 
this hook is now optional. However, it is a good idea to implement it. The hook name for this function is 'help', so start with the onthisdate_help function:

<?php
function onthisdate_help($section
='') {

}
?>

The $section variable provides context 
for the help: where in Drupal or the module are we looking for help. The recommended way to process this variable is with a switch statement. You'll see this code pattern in other modules.

<?php
/**
* Display help and module information
@param section which section of the site we're displaying help
@return help text for section
*/
function onthisdate_help($section
='') {

  $output 
= '';

  
switch ($section) {
    
case "admin/help#onthisdate":
      $output 
= '<p>'.  t("Displays links to nodes created on this date"). '</p>';
      
break;
  }

  
return $output;
// function onthisdate_help
?>

The admin
/help#modulename case is used by the Drupal core to linked from the main help page (/admin/help or ?q=admin/help). You will eventually want to add more text to provide a better help message to the user.

More information about the help hook:
Drupal HEAD

Add the source above to a file named to onthisdate.module before saving in your Drupal installation. 



]]>
Drupal5.x创徏自定义模块指南-01开?Creating modules - a tutorial: Drupal 5.x Q-01. Getting started)http://www.aygfsteel.com/JPeanut/archive/2007/03/26/106555.html陈市?/dc:creator>陈市?/author>Mon, 26 Mar 2007 15:43:00 GMThttp://www.aygfsteel.com/JPeanut/archive/2007/03/26/106555.htmlhttp://www.aygfsteel.com/JPeanut/comments/106555.htmlhttp://www.aygfsteel.com/JPeanut/archive/2007/03/26/106555.html#Feedback0http://www.aygfsteel.com/JPeanut/comments/commentRss/106555.htmlhttp://www.aygfsteel.com/JPeanut/services/trackbacks/106555.html[译:陈市?摘自:http://drupal.org/node/82926]
   To focus this tutorial, we'll start by creating a block module that lists links to content such as blog entries or forum discussions that were created one week ago.q䆾指南教会我们如何在一个drupal的结点上创徏block content,创徏链接和回复信息?br />   首先在drupal的安装\径下创徏目录sites/all/modules/onthisdateQ呵?当然先得创徏目录sites/all/modules哈)。在目录sites/all/modules/ onthisdate下创Z个文Ӟ命名为onthisdate.module。在drupal 5.x中,目录sites/all/modules攄的是一些非核心模块。这个得你在升U核心模块的时候更加方便,无需担心你之前定制化?br />
<?php
/* $Id$ */

   在每个模块的php文g末尾可以省去?>的标讎ͼ只要在开头加?lt;?php卛_?Id$则是有助CVS的版本控制。在你模块中Q所有需要被Drupal调用的函数都必须以“{模块名}_{钩子名}”命名,钩子名是drupal中一些预定义的方法的前缀。通过q样的命名方式,可以很容易的让Druapl调用到这些方法,从而得C定制的数据?br />   q个模块目前q没q行hQ因为它q没有被ȀzR在后面的章节中Q我们可以看到如何激z该模块?br />



原文
01. Getting started
Drupal 
5.x

To focus 
this tutorial, we'll start by creating a block module that lists links to content such as blog entries or forum discussions that were created one week ago. The full tutorial will teach us how to create block content, write links, and retrieve information from Drupal nodes.

Start your module by creating a folder in your Drupal installation at the path: sites
/all/modules/onthisdate You may need to create the sites/all/modules directory first. Create a PHP file and save it as onthisdate.module in the directory sites/all/modules/onthisdate. As of Drupal 5.x, sites/all/modules is the preferred place for non-core modules (and sites/all/themes for non-core themes), since this places all site-specific files in the sites directory. This allows you to more easily update the core files and modules without erasing your customizations.

<?php
/* $Id$ */

As per the Coding standards, omit the closing 
?> tag and use the longhand <?php tag. The $Id$ string will help keep track of the revision number and date when you commit the file to CVS.

All functions in your module that will be used by Drupal are named {modulename}_{hook}, where 
"hook" is a pre-defined function name suffix. Drupal will call these functions to get specific data, so having these well-defined names means Drupal knows where to look. We will come to hooks in a while.

The module is not operational yet: it hasn
't been activated. We'll activate the module later in the tutorial. 



]]>
Drupal Object Reference--$node - Node object(Drupal l点对象) for drupal 5.1http://www.aygfsteel.com/JPeanut/archive/2007/03/25/106281.html陈市?/dc:creator>陈市?/author>Sun, 25 Mar 2007 14:34:00 GMThttp://www.aygfsteel.com/JPeanut/archive/2007/03/25/106281.htmlhttp://www.aygfsteel.com/JPeanut/comments/106281.htmlhttp://www.aygfsteel.com/JPeanut/archive/2007/03/25/106281.html#Feedback0http://www.aygfsteel.com/JPeanut/comments/commentRss/106281.htmlhttp://www.aygfsteel.com/JPeanut/services/trackbacks/106281.html [译:陈市?摘自:http://drupal.org/node/49768]

Node对象:
[name] => 创徏l点的用户名
[date]
=> 创徏l点的时?br />[status] => 是否发布{True:发布|False:未发?/font> }(在action+workflow中可以做审核处理)
[moderate] => 是否可修改{0:只读|1:修改}
[promote]
=> 是否发布首页{0:是|1:否}
[sticky] => 是否|顶{0:否|1:是}
[revision]
=> TRUE/FALSE this is a new revision (if TRUE, will be saved as a separate entry in the database)
[comment]=> 对该l点是否允许d,阅读或者是对其讄权限
[simple_access]
=> Ҏ(gu)限模块的一?br />[title] => 昄l点面的标?br />[taxonomy] => 分类(数组,具体查看Taxonomy模块)
[body] => l点的内?br />[format] => W合Filter模块的Content内容
[uid] => 创徏l点的用户ID
[created] => 创徏l点的Unixcd的时间戳
[type] => l点cd(?book,page,forum,具体查看cck模块)
[teaser] => 内容概要
[validated] => 该结Ҏ(gu)否有效{0:否|1:是}(是否已经保存)
[changed] =>
修改l点的Unixcd的时间戳
[nid] => l点ID



原文:
&$node - Node object

[name] 
=> Username of node creator
[date] 
=> Date the node was created
[status] 
=> TRUE/FALSE = published/unpublished
[moderate] 
=> Moderation enabled (0|1)
[promote] 
=> Promoted to front page (0|1)
[sticky] 
=> Sticky (0|1)
[revision] 
=> TRUE/FALSE this is a new revision (if TRUE, will be saved as a separate entry in the database)
[comment] 
=> whether comments can be added, read, or accessed, for this node
[simple_access] 
=> Array -- A list of permissions for the Simple Access module
(
[view] 
=> 0
)

[title] 
=> Page title
[taxonomy] 
=> Array -- Taxonomy classification
(
[
0=> 0
)

[body] 
=> Body content of node

[format] 
=> which filter applies to this content.
[uid] 
=> User ID of node creator
[created] 
=> UNIX timestamp of node creation date.
[type] 
=> Type of node (e.g. book, page, forum)
[teaser] 
=> Teaser (the initial part of the body)

[validated] 
=> has the node passed validation? (0|1) (is it ready to be saved).
[changed] 
=> UNIX timestamp of last time node was changed.
[nid] 
=> Node ID



]]>
随心芸芸 @ JPeanut ?blog 搬家?/title><link>http://www.aygfsteel.com/JPeanut/archive/2007/01/05/92083.html</link><dc:creator>陈市?/dc:creator><author>陈市?/author><pubDate>Fri, 05 Jan 2007 11:15:00 GMT</pubDate><guid>http://www.aygfsteel.com/JPeanut/archive/2007/01/05/92083.html</guid><wfw:comment>http://www.aygfsteel.com/JPeanut/comments/92083.html</wfw:comment><comments>http://www.aygfsteel.com/JPeanut/archive/2007/01/05/92083.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/JPeanut/comments/commentRss/92083.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/JPeanut/services/trackbacks/92083.html</trackback:ping><description><![CDATA[  安家在blogjava也快一q了 惌vW一ơ申请blog的时?q是鼓胆子lblogjava理员发送了mail。现在要搬家?呵呵 q是狠喜Ƣblogjava?有点舍不得?感觉blogjava的blogq是做的狠专业的Q也相当E_。唯一的一个问题:在firefox下,FreeTextBox的编译器l常出现问题?br />  随心芸芸@JPeanut 的新家不太稳?只是那里是我自己的空?备䆾和修Ҏ(gu)码都比较方便?br /><br /><br />  新家地址 http://blog.17m.net.cn/  <br /><img src ="http://www.aygfsteel.com/JPeanut/aggbug/92083.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/JPeanut/" target="_blank">陈市?/a> 2007-01-05 19:15 <a href="http://www.aygfsteel.com/JPeanut/archive/2007/01/05/92083.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>我的方向 我作?Q?l护->开?>试->设计 Q?/title><link>http://www.aygfsteel.com/JPeanut/archive/2006/12/28/90612.html</link><dc:creator>陈市?/dc:creator><author>陈市?/author><pubDate>Thu, 28 Dec 2006 15:18:00 GMT</pubDate><guid>http://www.aygfsteel.com/JPeanut/archive/2006/12/28/90612.html</guid><wfw:comment>http://www.aygfsteel.com/JPeanut/comments/90612.html</wfw:comment><comments>http://www.aygfsteel.com/JPeanut/archive/2006/12/28/90612.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.aygfsteel.com/JPeanut/comments/commentRss/90612.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/JPeanut/services/trackbacks/90612.html</trackback:ping><description><![CDATA[ <p>      清楚的想起了1q前Q徐大哥 推荐我来试l的情ŞQ因为公司的需要、对试的好奇、还有一些私人的原因来到了测试小l。如今,因公司内部的整合Q我又要被调M试l,真的有点舍不得?br />      旉一晃而过Q在试组里面Q虽然挂着“品质保证工E师”的职位Q但是,到手上的工作基本q是都是试ȝ才会L受做的事情。回想一q的工作Q做的事情也不少了咯</p> <ol> <li>性能试程和方法的建立 </li> <li>单元试程和方法的建立QJATest单元试架构的设计开发实? </li> <li>单元试实现功能试的项目实? </li> <li>BTSQBugfreeQTestlinkQ项目的建立 </li> <li>职能化设计测试场景用例(q用了正交表Q? </li> <li>Bugfree的W效考核设计开? </li> <li>内存泄漏工具的了解及其简单运?/li> <li>ZCVS的文档代码搜索系l?DCI ( Document & Code Index System)<br /></li> <li>试了若q项?br /></li> </ol> <p>      q个一q里面,说闲也不Ԍ除了试以外Q维护、开发和设计的工作可一h过哦,也正是这些工作的ZQ我的代码能力也一直在q步着。想起了~写JATest的时候,把《设计模式》的书和JUnit的源码整整反反看了好多遍Q说忙也不忙咯,毕竟试组的工作我自己分配Q想q啥干啥,我就是老大Q^_^Q我要每天QQ聊天?br />      <br />      一ơ次的{变,让我Ҏ(gu)个项目组更加不一L感觉<br /><br />   起初?一q的l护l验 转成 开发h?br />   d?二年的开发经?转成 试人员<br />   如今?一q的试l验 转成 设计人员<br /><br />       q个一q里Q最大的收获?认识?朱大姐,从进l护l的一天,她的帮助没过Q感Ȁ的。能认识q个 姐姐 狠开?br /><br /></p> <img src ="http://www.aygfsteel.com/JPeanut/aggbug/90612.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/JPeanut/" target="_blank">陈市?/a> 2006-12-28 23:18 <a href="http://www.aygfsteel.com/JPeanut/archive/2006/12/28/90612.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>服务器连接数l计工具 NSHelper_v1.1 发布(免费)http://www.aygfsteel.com/JPeanut/archive/2006/12/28/90598.html陈市?/dc:creator>陈市?/author>Thu, 28 Dec 2006 14:33:00 GMThttp://www.aygfsteel.com/JPeanut/archive/2006/12/28/90598.htmlhttp://www.aygfsteel.com/JPeanut/comments/90598.htmlhttp://www.aygfsteel.com/JPeanut/archive/2006/12/28/90598.html#Feedback0http://www.aygfsteel.com/JPeanut/comments/commentRss/90598.htmlhttp://www.aygfsteel.com/JPeanut/services/trackbacks/90598.html <陈市?strong> 摘自Q?a href="../archive/2006/JPeanut">http://www.aygfsteel.com/JPeanut>


<下蝲>


服务器连接数l计工具
免费单易?br />
功能Q?

    监控当前服务器的某个端口的连接情况,自动生成日志文g

q行:

    在dos下运行或者双?NSHelper.exe

       服务器IP:监控端口、监控的间隔旉 需要用戯p?/i>

nshelp_look_1_1.jpg

pȝq行后,会自动在log目录下生成日志文Ӟ每天生成一个。日志文件可以用C本打开



如果使用中有什么徏议和问题,Ƣ迎留言,或者qq 594799855留言







]]>
性能试程规范说明http://www.aygfsteel.com/JPeanut/archive/2006/12/28/90462.html陈市?/dc:creator>陈市?/author>Thu, 28 Dec 2006 04:41:00 GMThttp://www.aygfsteel.com/JPeanut/archive/2006/12/28/90462.htmlhttp://www.aygfsteel.com/JPeanut/comments/90462.htmlhttp://www.aygfsteel.com/JPeanut/archive/2006/12/28/90462.html#Feedback2http://www.aygfsteel.com/JPeanut/comments/commentRss/90462.htmlhttp://www.aygfsteel.com/JPeanut/services/trackbacks/90462.html阅读全文

]]>
BTS的评?/title><link>http://www.aygfsteel.com/JPeanut/archive/2006/12/13/87487.html</link><dc:creator>陈市?/dc:creator><author>陈市?/author><pubDate>Wed, 13 Dec 2006 06:53:00 GMT</pubDate><guid>http://www.aygfsteel.com/JPeanut/archive/2006/12/13/87487.html</guid><wfw:comment>http://www.aygfsteel.com/JPeanut/comments/87487.html</wfw:comment><comments>http://www.aygfsteel.com/JPeanut/archive/2006/12/13/87487.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/JPeanut/comments/commentRss/87487.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/JPeanut/services/trackbacks/87487.html</trackback:ping><description><![CDATA[TestLink ?Bugfree 整合q在在l开发中<br />希望各位能提出意?br /><img src ="http://www.aygfsteel.com/JPeanut/aggbug/87487.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/JPeanut/" target="_blank">陈市?/a> 2006-12-13 14:53 <a href="http://www.aygfsteel.com/JPeanut/archive/2006/12/13/87487.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>曄MY的朋友们,你们现在q好?http://www.aygfsteel.com/JPeanut/archive/2006/12/13/87416.html陈市?/dc:creator>陈市?/author>Wed, 13 Dec 2006 02:51:00 GMThttp://www.aygfsteel.com/JPeanut/archive/2006/12/13/87416.htmlhttp://www.aygfsteel.com/JPeanut/comments/87416.htmlhttp://www.aygfsteel.com/JPeanut/archive/2006/12/13/87416.html#Feedback0http://www.aygfsteel.com/JPeanut/comments/commentRss/87416.htmlhttp://www.aygfsteel.com/JPeanut/services/trackbacks/87416.html惌v 23人去MC的情?br />q是 令h挺怀늚
一D值得怀늚回忆
曄MY的朋友门,你们现在q好?
31mc2B.JPG

]]>
用btspȝ 生成的一?试用例?试用咯)http://www.aygfsteel.com/JPeanut/archive/2006/11/28/83980.html陈市?/dc:creator>陈市?/author>Tue, 28 Nov 2006 02:23:00 GMThttp://www.aygfsteel.com/JPeanut/archive/2006/11/28/83980.htmlhttp://www.aygfsteel.com/JPeanut/comments/83980.htmlhttp://www.aygfsteel.com/JPeanut/archive/2006/11/28/83980.html#Feedback0http://www.aygfsteel.com/JPeanut/comments/commentRss/83980.htmlhttp://www.aygfsteel.com/JPeanut/services/trackbacks/83980.htmlBSTEEL_BTS

Test Specification-

Product: BSTEEL_BTS

Author: admin

Printed by TestLink on 28/11/2006


1 Component 逻辑功能试

1.0 Introduction

对一些比较复杂的业务逻辑计算,比如复杂的h(hun)D?PSR校验{?/div>

1.0.1 Scope

  1. 通过查看内存和数据库来确认是否逻辑是否正确
  2. 如果是接口的,查看接口的参数是否符合要?/li>

1.0.2 References

业务需求说明书
软g需求说明说
基本设计

1.1 Methodology

单元试 或?手动试

1.1.1 Limitations

1.2 Categories

2 Component 场景试

2.0 Introduction

通过程的方式来寚w目进行测?具体可参考周?span style="font-family: 宋体;">的《用用例场?/span>设计试用例?br />要点:
  遍历所有可能发生的程

2.0.1 Scope

2.0.2 References

业务需求说明书
软g需求说明说
基本设计

2.1 Methodology

2.1.1 Limitations

2.2 Categories

2.2.1 目理

(数据?参?功能试->目理)

2.2.1.1 Setup and Configuration

试假定代号
  • (1)  ---  <testlink>新徏目
  • (2)  ---  <testlink>修改目
  • (3)  ---  目l定
  • (4)  ---  <testlink>目失效
  • (5)  ---  <testlink>目删除
Ҏ(gu)需?br />
  • 目在新Z?所有的角色的用户都可以看到
  • 目l过修改?用户的可见度不变(比如:原来的只有admin才可以看到的,修改之后仍然是只有admin可以看到;如果所有用户都可以?那么修改?该项目项目仍然是所有用户都可见)
  • 目在修改失效后只有admin角色的用h可以看到目(一׃中角?)
  • 目在删除后,所有角色的用户都看不到目,数据库Project表中已经没有该记?/li>
五中角色
  • Guest
  • Test executor
  • Test analyst
  • Test
  • Admin

2.2.1.2 Test Data

2.2.1.3 Tools

2.2.1.4 Test Cases

Test Case 77: 目修改
Summary: 目修改?在各U操作下是否会出现问?/td>
Steps:
  1. admin角色的用L入系l?/li>
  2. (1)(2)(2)(3)(2)(4)(2)(5)(1)
(?在最?删除目"再做"新徏目"的操作时,新徏的项目名UCؓ之前删除的项目名U?


?
Ҏ(gu)?场景试->目理 Configuration ->试假定代号 " 已经描述
比如:

   (1)(2)(2)(3)(2)(4)(2)(5)(1)
   对应的操作是:
   新徏->修改目->修改目->l定目->修改目->失效目->修改目->删除目->新徏目

Ҏ(gu)?场景试->目理 Configuration ->Ҏ(gu)需?/span>" 已经描述
比如:
 
  (1) (2)(2)(3)(2)(4)(2)(5)(1)
  对应的操作是:
  1.新徏目  之后应该?其他角色的帐h看该目是否可见
  2.修改目
之后应该?其他角色的帐h看该目是否可见
  3.修改目
之后应该?其他角色的帐h看该目是否可见
  4.l定目之后应该?其他角色的帐h看该目是否可见
   5.修改目之后应该?其他角色的帐h看该目是否可见
   6.失效目之后应该?其他角色的帐h看该目是否可见
   7.修改目之后应该?其他角色的帐h看该目是否可见
   8.删除目之后应该?其他角色的帐h看该目是否可见,然后到后台数据库Project表中查找该数据记?br />  9.新徏目  (目名ؓ刚才删除的项目名) 之后应该?其他角色的帐h看该目是否可见

 
 
Expected Results:
Test Case 78: 目l定
Summary: 目l定?在各U操作下是否会出现问?/td>
Steps:
  1. admin角色的用L入系l?/li>
  2. (3)(3)(4)(3)(5)
Expected Results:
Test Case 79: 目失效
Summary: 目失效?在各U操作下是否会出现问?/td>
Steps:
  1. admin角色的用L入系l?/li>
  2. (1)(4)(4)(5)
Expected Results:

3 Component 功能试

3.0 Introduction

基本上对面上的一些简单的逻辑q行试,采用的是灰盒试
 

3.0.1 Scope

  1. 面上对数据的增删改功能是否按照需求和设计正确实现(可以通过数据库等校验方式)
  2. 面上的lg是按照要求vC?/li>
  3. 面的文字是否正?/li>
  4. 对异常处理是否正常合?/li>
  5. 操作?数据是否正确入库,入内?写入文本...

3.0.2 References

业务需求说明书
软g需求说明说
基本设计

3.1 Methodology

采用手动试

3.1.1 Limitations

对于比较复杂的业务逻辑计算的功能应该归?"逻辑功能试"?/div>

3.2 Categories

3.2.1 目理

主要涉及数据库表?具体可以询问目l相x?

  • testlink 目存放:<testlink>project 
  • bugfeee目存放: <bugfree>bugproject
  • testlink和bugfree的绑定关p?<testlink>bt_bind_product

3.2.1.1 Setup and Configuration

3.2.1.2 Test Data

3.2.1.3 Tools

3.2.1.4 Test Cases

Test Case 73: testlink 目新徏
Summary: 要说?
  •   在testlink目中新Z个测试的目
权限说明:
  •   admin角色有此权限
触发条g
  • 角色为admin用户d, [Menu:Home->Create Project]
基本?/span>
  •   输入Name,Color,Enable Requirements functionality点击 [按钮:Create] x建项?/li>
  •   点击Color后的颜色选择按钮,弹出颜色选择?选择?把选择的颜色按照RGB的标准把值带回Color框中
  •   Color代表该项目的面风格的颜?在新建后选择该项目后,可以看到具体效果
  •   新徏成功后系l提C新建成?q回新徏面,q且当前目选定目
  •  点击 [标签:Edit / Delete]  q入该项目的修改面
备选流
  •   Name输入为空,pȝ提示错误信息
  •   Name不唯一,pȝ提示错误信息
  •   Color输入不规?pȝ提示错误信息
 
Ҏ(gu)需?/span>
  •   Name大小写不区分
  •  目Name唯一,如果发生不唯一则系l正提C?/li>
  •  如果目覆盖了当前选定的项目ؓ严重错误
Steps:
Expected Results:
Test Case 74: testlink 目修改,失效和删?/th>
Summary: 要说?
  •   修改已经建立的项?/li>
  •   失效:使得该项目除了admin角色外都看不到该目
  •   删除:从后台数据库中删除该数据(区别以置标志?
权限说明:
  •   admin角色有此权限
触发条g:
  • 角色为admin的用L?选择需要操作的目, [Menu:Home->Edit / Delete Product]
基本?/span>
  •    Name,Color,Enable Requirements functionality昄当前目信息
  •    修改Name,Color,Enable Requirements functionality,点击 [按钮:Update] ,修改数据
  •    Color代表该项目的面风格的颜?在Update后可以看CҎ(gu)?/li>
  •    点击Color后的颜色选择按钮,弹出颜色选择?选择颜色?把选择的颜色按照RGB的标准把值带回Color框中
  •    点击 [按钮:Inactivate] 卌行失效操?点击失效?提示失效成功.此时其他角色用户看不到此目
  •    点击 [按钮:Delete] 卌行删除操?删除后提C删除成?理员可以重新新建Name为刚才删除的目Name
  •    点击 [标签:Create] q入目新徏面
备选流
  •   Name输入为空,pȝ提示错误信息
  •   Name不唯一,pȝ提示错误信息
  •   Color输入不规?pȝ提示错误信息
  •   在整个系l没有项目时,不能q入该操作页?/li>
Ҏ(gu)需?/span>
  •   Name大小写区?/li>
  •   目名唯一,如果发生不唯一情况,pȝ提示相关错误信息
  •   修改目的操作不能改变项目在数据库库中的id属?br />
Steps:
Expected Results:
Test Case 75: bugfree 目理
Summary: 要说?/span>
  • 对bugfree中的目q行操作:新徏,删除
  • (?bugfree没有删除操作)
权限说明
  • bugfree的超U管理员
触发条g
  • 两种q入方式: 1)bugfreed, [Menu:后台理->新徏目/l护] 2)如果已经和testlink用户l定,则可以通过testlinkd, [Menu:Services->后台理->新徏目/l护]
基本?br />
  • 理模式选择"~辑当前目",目?目文档,目计划昄当前的项目的信息
  • 理模式选择"~辑当前目",输入目?目文档,目计划,点击 [按钮:提交] 则进行修Ҏ(gu)?/li>
  • 理模式选择"d当前目",目?目文档,目计划则显CZؓI?/li>
  • 理模式选择"d当前目",输入目?目文档,目计划,点击 [按钮:提交] 则进行添加操?/li>
备选流
  •   目名唯一,如果不唯一,pȝ正确提示
  • 目名不能ؓI?若ؓI则pȝ提示用户
Ҏ(gu)需?br />
  • 修改目的操作不能改变项目在数据库库中的id属?/li>
  • 目名大写区分
  • 目名唯一,如果发生不唯一情况,pȝ提示相关错误信息
Steps:
Expected Results:
Test Case 76: testlink ?bugfree 目l定
Summary: 要说?/span>
  • 建立testlink和bugfree的项目的兌
权限说明
  • testlink的admin角色的用?/li>
触发条g
  • testlinkd?选择需l定的项?[Menu:Edit / Delete Product->BIND BTS PRODUCT]
基本?/span>
  • q入面,昄2列数?分别?TestLink当前选择的项目和bugfree的全部项?目?一U模块名)
  • 选择testlink目在bugfree中对象的目?点击 [按钮:update] q行修改操作(可以不选则M目)
  • 点击 [按钮:close] 关闭此页面?
  • 操作成功?昄操作的结?/li>
备选流
  • ?/li>
Ҏ(gu)需?/span>
  • ?/li>
Steps:
Expected Results:

3.2.2 用户理

[略]

3.2.2.1 Setup and Configuration

3.2.2.2 Test Data

3.2.2.3 Tools

3.2.2.4 Test Cases

No Test Case

3.2.3 需求管?/h3>

[略]

3.2.3.1 Setup and Configuration

3.2.3.2 Test Data

3.2.3.3 Tools

3.2.3.4 Test Cases

No Test Case



]]>BTSQBUGFREE+TESTLINKQ?易操作手?/title><link>http://www.aygfsteel.com/JPeanut/archive/2006/11/21/82536.html</link><dc:creator>陈市?/dc:creator><author>陈市?/author><pubDate>Tue, 21 Nov 2006 06:45:00 GMT</pubDate><guid>http://www.aygfsteel.com/JPeanut/archive/2006/11/21/82536.html</guid><wfw:comment>http://www.aygfsteel.com/JPeanut/comments/82536.html</wfw:comment><comments>http://www.aygfsteel.com/JPeanut/archive/2006/11/21/82536.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.aygfsteel.com/JPeanut/comments/commentRss/82536.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/JPeanut/services/trackbacks/82536.html</trackback:ping><description><![CDATA[ <div align="left"><<font size="2">陈市?/font><strong></strong><font size="2">摘自Qhttp://www.aygfsteel.com/JPeanut><br /><br /></font><p class="MsoNormal"><span style="font-family: 宋体;">熟?zhn)?/span><span lang="EN-US">testlink</span><span style="font-family: 宋体;">?/span><span lang="EN-US">bugfree</span><span style="font-family: 宋体;">的可以直接以下说?/span><span lang="EN-US">:</span></p><p class="MsoNormal"><span style="font-family: 宋体;">此次二次开发的主要内容</span><span lang="EN-US">:</span></p><p class="MsoNormal"><span lang="EN-US">1.Testlink</span><span style="font-family: 宋体;">?/span><span lang="EN-US">Bugfree</span><span style="font-family: 宋体;">的项目之间的l定</span></p><p class="MsoNormal"><span lang="EN-US"><span style="">   </span><testlink>home->Edit / Delete Product->BIND BTS PRODUCT</span></p><p class="MsoNormal"><span lang="EN-US">2.Testlink</span><span style="font-family: 宋体;">?/span><span lang="EN-US">Bugfree</span><span style="font-family: 宋体;">的用户之间的l定</span></p><p class="MsoNormal"><span lang="EN-US"><span style="">   </span><testlink>User Administration->Modify Users->BIND BTS USER</span></p><p class="MsoNormal"><span lang="EN-US">3.</span><span style="font-family: 宋体;">执行用例如遇?/span><span lang="EN-US">Failed</span><span style="font-family: 宋体;">的时候保存即直接q入d~陷单页?/span></p><p class="MsoNormal"><span lang="EN-US"><span style="">   </span><testlink>Execute->Results:Failed->Save Results</span></p><p class="MsoNormal"><span lang="EN-US">4.</span><span style="font-family: 宋体;">在用例的面里面列出了与此相关的~陷?/span></p><p class="MsoNormal"><span lang="EN-US"><span style="">   </span><testlink>Execute</span><span style="font-family: 宋体;">画面如果有缺?/span><span lang="EN-US">,</span><span style="font-family: 宋体;">则下方会列出q显C缺L?/span><span lang="EN-US">(</span><span style="font-family: 宋体;">该状态来?/span><span lang="EN-US">bugfree)</span></p><p class="MsoNormal"><span lang="EN-US">5.</span><span style="font-family: 宋体;">?/span><span lang="EN-US">Results</span><span style="font-family: 宋体;">l计中显C用例关联的</span><span lang="EN-US">bug</span></p><p class="MsoNormal"><span lang="EN-US"><span style="">   </span><testlink>Results->Total Bugs For Each Test Case</span></p><p class="MsoNormal"><span lang="EN-US">6.</span><span style="font-family: 宋体;">?/span><span lang="EN-US">bugfree</span><span style="font-family: 宋体;">中显C来?/span><span lang="EN-US">Testlink</span><span style="font-family: 宋体;">的缺陷单</span><span lang="EN-US">,</span><span style="font-family: 宋体;">支持链接功能</span></p><p class="MsoNormal"><span lang="EN-US"><span style="">   </span><bugfree></span><span style="font-family: 宋体;">打开</span><span lang="EN-US">bug</span><span style="font-family: 宋体;">名以</span><span lang="EN-US">[FLT]</span><span style="font-family: 宋体;">开头的~陷?/span><span lang="EN-US">,</span><span style="font-family: 宋体;">可以直接点击来自</span><span lang="EN-US">testlink</span><span style="font-family: 宋体;">的链?/span></p><p class="MsoNormal"><br /><span style="font-family: 宋体;"></span></p><p class="MsoNormal"><br /><span style="font-family: 宋体;"></span></p><p class="MsoNormal"><span style="font-family: 宋体;">对TestLink和Bugfree都不熟?zhn)的可以参?/span></p><p class="MsoNormal"><br /><span style="font-family: 宋体;"></span></p><img src="http://www.aygfsteel.com/images/blogjava_net/jpeanut/bts/BTS%EF%BC%88BUGFREE+TESTLINK%EF%BC%89%20%E7%AE%80%E6%98%93%E6%93%8D%E4%BD%9C%E6%89%8B%E5%86%8C/bts.jpg" alt="bts.jpg" border="0" height="1350" width="950" /><p><span style="font-family: 宋体;"></span></p></div> <img src ="http://www.aygfsteel.com/JPeanut/aggbug/82536.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/JPeanut/" target="_blank">陈市?/a> 2006-11-21 14:45 <a href="http://www.aygfsteel.com/JPeanut/archive/2006/11/21/82536.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>无限兌下拉菜单JShttp://www.aygfsteel.com/JPeanut/archive/2006/11/21/82498.html陈市?/dc:creator>陈市?/author>Tue, 21 Nov 2006 04:51:00 GMThttp://www.aygfsteel.com/JPeanut/archive/2006/11/21/82498.htmlhttp://www.aygfsteel.com/JPeanut/comments/82498.htmlhttp://www.aygfsteel.com/JPeanut/archive/2006/11/21/82498.html#Feedback0http://www.aygfsteel.com/JPeanut/comments/commentRss/82498.htmlhttp://www.aygfsteel.com/JPeanut/services/trackbacks/82498.html阅读全文

]]>
testlink和bugfree整合-bug~陷单添加ubb的支?/title><link>http://www.aygfsteel.com/JPeanut/archive/2006/11/17/81868.html</link><dc:creator>陈市?/dc:creator><author>陈市?/author><pubDate>Fri, 17 Nov 2006 14:59:00 GMT</pubDate><guid>http://www.aygfsteel.com/JPeanut/archive/2006/11/17/81868.html</guid><wfw:comment>http://www.aygfsteel.com/JPeanut/comments/81868.html</wfw:comment><comments>http://www.aygfsteel.com/JPeanut/archive/2006/11/17/81868.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/JPeanut/comments/commentRss/81868.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/JPeanut/services/trackbacks/81868.html</trackback:ping><description><![CDATA[     摘要: 默认的bugfree在buginfo的显CZ不支持ubb?此次针对 昄 关于testlink的地址的ubbq接  <a href='http://www.aygfsteel.com/JPeanut/archive/2006/11/17/81868.html'>阅读全文</a><img src ="http://www.aygfsteel.com/JPeanut/aggbug/81868.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/JPeanut/" target="_blank">陈市?/a> 2006-11-17 22:59 <a href="http://www.aygfsteel.com/JPeanut/archive/2006/11/17/81868.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JS的进度条http://www.aygfsteel.com/JPeanut/archive/2006/11/17/81661.html陈市?/dc:creator>陈市?/author>Fri, 17 Nov 2006 01:06:00 GMThttp://www.aygfsteel.com/JPeanut/archive/2006/11/17/81661.htmlhttp://www.aygfsteel.com/JPeanut/comments/81661.htmlhttp://www.aygfsteel.com/JPeanut/archive/2006/11/17/81661.html#Feedback1http://www.aygfsteel.com/JPeanut/comments/commentRss/81661.htmlhttp://www.aygfsteel.com/JPeanut/services/trackbacks/81661.html阅读全文

]]>
testlink和bugfree整合-菜单整合http://www.aygfsteel.com/JPeanut/archive/2006/11/16/81585.html陈市?/dc:creator>陈市?/author>Thu, 16 Nov 2006 10:35:00 GMThttp://www.aygfsteel.com/JPeanut/archive/2006/11/16/81585.htmlhttp://www.aygfsteel.com/JPeanut/comments/81585.htmlhttp://www.aygfsteel.com/JPeanut/archive/2006/11/16/81585.html#Feedback1http://www.aygfsteel.com/JPeanut/comments/commentRss/81585.htmlhttp://www.aygfsteel.com/JPeanut/services/trackbacks/81585.html此次是针对菜?优化的结果得bugfreepȝ看v来完全像是testlink的一个子模块?nbsp; 阅读全文

]]>
վ֩ģ壺 | | | ϲ| | ײ| | | | | °Ͷ| ͨ| | | | | ɽ| ٰ| ŷ| | | | | ²| | | ɽ| º| | | | ˮ| | | | | ʳ| ƶ| Դ| | |