bugzilla 与testlink 整合使用

发表于:2007-8-14 15:01

字体: | 上一篇 | 下一篇 | 我要投稿

 作者:stiveking    来源:stiveking的专栏

  安装好bugzillatestlink后,打开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/);
?>

可以用了

《2023软件测试行业现状调查报告》独家发布~

精彩评论

  • sillybug
    2014-2-12 18:28:38

    不行啊,我用的testlink1.7.4,照这样做的 ,没反应啊,是不是少了什么呀

  • patty123456
    2010-12-14 15:52:54

    看不懂,这样整合有啥好处呢?

关注51Testing

联系我们

快捷面板 站点地图 联系我们 广告服务 关于我们 站长统计 发展历程

法律顾问:上海兰迪律师事务所 项棋律师
版权所有 上海博为峰软件技术股份有限公司 Copyright©51testing.com 2003-2024
投诉及意见反馈:webmaster@51testing.com; 业务联系:service@51testing.com 021-64471599-8017

沪ICP备05003035号

沪公网安备 31010102002173号