google搜索 51Testing站内搜索                    软件测试门户 | 软件测试培 训 | 文章资料精选 | 软件测试论坛 | 软件测试博客 | 测试招聘求职 
打印

[原创] testlink1.7R3和bugzilla集成

testlink1.7R3和bugzilla集成




前提条件:
1.
Bugzilla安装完成

2.
如果是bugzillatestlink不在同一服务器,需要远程访问bugzilla数据库的帐户

集成配置:
1.
打开
testlinkconfig.inc.php文件
查找$g_interface_bugs='NO';
修改为$g_interface_bugs='BUGZILLA';
注意:一定要大写BUGZILL
2.
打开testlinkcfg文件夹下的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', 'bug');

说明:bugzilla的数据库名称

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

define('BUG_TRACK_DB_USER', 'mysql');

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

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

define('BUG_TRACK_DB_PASS', '123456');

说明:访问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使用方法不在这里说明。

TOP

没有人回复,遗憾啊!

TOP

我替你在顶下  我集成mantis 后报错
内容如下不知是否那地方配置有问题(testlink版本是1.71)
Fatal error: Call to a member function getEnterBugURL() on a non-object in C:\www\testlink17\lib\execute\bug_add.php on line 42
有cvs上的问题我们可以一起商量 QQ 195130825

我的博客:http://www.blogcn.com/u2/73/4/lslcxlsl/index.html

TOP

我也是遇到这个错误 ,高手指点一下吧

TOP

多谢楼主的分享,配置一切顺利!  再谢!

TOP

testlink在使用超级链接时 老出错阿,有人么名功能帮忙吗?
怎么连接本地的文件阿?

TOP

 
当前时区 GMT+8, 现在时间是 2008-9-7 10:32Copyright(C)上海博为峰软件技术有限公司 2001-2007 电话:021-64471599-8017
当您在访问网站、论坛及博客过程中遇到问题时可发送email:webmaster@51testing.com或发送论坛短信至管理员风在吹