bugzilla 与testlink 整合使用

 
安装好 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目录内文件bugzilla.cfg.php

配置mysql连接相关信息及bugzilla发布地址
<?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/);
?>

可以用了 
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值