您的位置:软件测试 > 开源软件测试 > 开源测试管理工具 > Testlink
testlink1.7和bugzilla集成
作者:网络转载 发布时间:[ 2014/1/9 10:43:49 ] 推荐标签:testlink bugzilla

前提条件:
1.
Bugzilla安装完成
2.
如果是bugzilla和testlink不在同一服务器,需要远程访问bugzilla数据库的帐户
集成配置:
1.
打开testlink下config.inc.php文件
查找$g_interface_bugs='NO';
修改为$g_interface_bugs='BUGZILLA';
注意:一定要大写BUGZILL
2.
打开testlink下cfg文件夹下的bugzilla.cfg.php文件夹,做如下修改

//Set the bug tracking system Interface

/** The DB host to use when connecting to the Bugzilla db */

define('BUG_TRACK_DB_HOST', '192.168.0.77');

说明:安装bugzilla的服务器地址

/** The name of the database that contains the Bugzilla tables */

define('BUG_TRACK_DB_NAME', 'bugs');

说明:bugzilla的数据库名称

/** The DB type being used by Bugzilla */

define('BUG_TRACK_DB_USER', 'bugs');

说明:访问bugzilla数据库的帐户

/** The DB password to use for connecting to the Bugzilla db */

define('BUG_TRACK_DB_PASS', 'bugs');

说明:访问bugzilla数据库的密码

/** The DB type to use for connecting to the bugtracking db */

define('BUG_TRACK_DB_TYPE', 'mysql');

/** link of the web server */

define('BUG_TRACK_HREF', "http://192.168.0.77/cgi-bin/index.cgi/show_bug.cgi?id=");

说明:bugzilla访问地址+/show_bug.cgi?id=

/** link to the bugtracking system, for entering new bugs */

define('BUG_TRACK_ENTER_BUG_HREF',"http://192.168.0.77/cgi-bin/index.cgi/");

说明:bugzilla访问地址

?>

注意:以上标记为“说明”的是我自己增加的说明性文字。
修改完成后,如果bugzilla可以访问到,则在testlink下,执行测试的时候,每个执行结果记录后,都会有一个小虫子标记,如果某个测试用例执行失败,在bugzilla提交相关bug后,在testlink中点击该小虫子标记,可以填写bugzilla中的bug号。然后,会在执行结果中显示该bug号,点击bug号,则可以直接链接到bugzilla中提交的bug。
注意:testlink使用方法不在这里说明。

软件测试工具 | 联系我们 | 投诉建议 | 诚聘英才 | 申请使用列表 | 网站地图
沪ICP备07036474 2003-2017 版权所有 上海泽众软件科技有限公司 Shanghai ZeZhong Software Co.,Ltd