您的位置:軟件測(cè)試 > 開源軟件測(cè)試 > 開源測(cè)試管理工具 > Testlink
bugzilla 與testlink 整合使用
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時(shí)間:[ 2012/11/30 15:38:12 ] 推薦標(biāo)簽:

安裝好bugzilla和testlink后,

打開testlink安裝目錄下,找到config.inc.php
查找如下字段,修改為bugzilla 紅色字體部分。
/**
* @var STRING TL_INTERFACE_BUGS = ['NO', 'BUGZILLA','MANTIS','JIRA']
* BUGZILLA: edit configuration in TL_ABS_PATH/cfg/bugzilla.cfg.php
* MANTIS  : edit configuration in TL_ABS_PATH/cfg/mantis.cfg.php
* JIRA    : edit configuration in TL_ABS_PATH/cfg/jira.cfg.php
*/
define('TL_INTERFACE_BUGS','BUGZILLA');
require_once(TL_ABS_PATH . 'lib/bugtracking/int_bugtracking.php');

另外修改testlink下的cfg目錄內(nèi)文件bugzilla.cfg.php

配置mysql連接相關(guān)信息及bugzilla發(fā)布地址

<?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
* $Id: bugzilla.cfg.php,v 1.3 2005/08/25 17:40:56 schlundus Exp $
*
* Currently the only bug tracking system is bugzilla.
* TestLink uses bugzilla to check if displayed bugs resolved, verified,
* and closed bugs. If they are it will strike through them
*/

//Set the bug tracking system Interface
/** The DB host to use when connecting to the Bugzilla db */
define('BUG_TRACK_DB_HOST', 'localhost');
/** The name of the database that contains the Bugzilla tables */
define('BUG_TRACK_DB_NAME', 'bugs');
/** The DB type being used by Bugzilla */
define('BUG_TRACK_DB_USER', 'bugs');
/** The DB password to use for connecting to the Bugzilla db */
define('BUG_TRACK_DB_PASS', 'xxxxxx');
/** link of the web server */
define('BUG_TRACK_HREF', "http://xxx.xxx.xxx.xxx/test/show_bug.cgi?id=");
/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',http://xxx.xxx.xxx.xxx/);
?>

可以正常使用了,如果沒提示出錯(cuò)的話

軟件測(cè)試工具 | 聯(lián)系我們 | 投訴建議 | 誠聘英才 | 申請(qǐng)使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd