您的位置:首页 > 其它

Testlink中集成Mantis管理系统

2015-09-11 22:51 246 查看
TestLink中集成Mantis环境要求

TestLink和Mantis安装在同一台服务器

Mantis的链接:http://168.68.73.29/mantis/

TestLink的链接:http://168.68.73.29/TestLink/

Mantis数据库名字:bugtracker(可到mantis中的config_inc.php文件中查阅) Mysql登录名字:root

登录密码:admin 配置第一步:编辑config.inc.php

找到$g_interface_bugs='NO';改成$g_interface_bugs='MANTIS';

第二步:在mantis上设置匿名登录权限(不需要对此进行配置)

l 匿名登录的设置需要打开。

l Mantis的匿名用户具备对所有的项目都可以浏览的权限。

Change the following in your mantis config_inc.php (replace dummy with your created user)

# --- anonymous login -----------

# Allow anonymous login

$g_allow_anonymous_login = ON;

$g_anonymous_a<a
href="http://www.ltesting.net/ceshi/ceshijishu/rjcsgj/rational/%3CSTRONG%3E%3CA%20href=" http:="" www.ltesting.net="" ceshi="" ceshijishu="" rjcsgj="" rational="" clearcase="" "="" target="_blank" herf="http://www.ltesting.net/ceshi/ceshijishu/rjcsgj/rational/%3CSTRONG%3E%3CA%20href="
style="box-sizing: border-box; padding: 0px; margin: 0px; background-color: transparent; text-decoration: none; font-weight: normal; font-family: 'Microsoft YaHei', 'Microsoft YaHei'; color: rgb(51, 51, 51); background-position: initial initial; background-repeat:
initial initial;">clearcase/" target="_blank" >ccount = 'dummy';

注:这个dummy用户需要administrator在后台添加,注册不了的

第三步:在TestLink里配置mantis的界面参数。

你必须编辑TL_ABS_PATH/cfg/mantis.cfg.php,如下所示:

define('BUG_TRACK_DB_HOST', 'localhost');

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

define('BUG_TRACK_DB_NAME', 'bugtracker');

说明:bugzilla的数据库名称

define('BUG_TRACK_DB_TYPE', 'mysql');
说明:数据库的类型

define('BUG_TRACK_DB_USER', 'root');

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

define('BUG_TRACK_DB_PASS', 'admin');

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

define('BUG_TRACK_HREF', "http://168.68.73.29/mantis/view.php?id=");

define('BUG_TRACK_ENTER_BUG_HREF'," http://168.68.73.29/mantis/");
测试是否集成成功

首先在TestLink里面执行一条测试用例,执行之后,如果发现问题,则点击“Create
New Bug”,则打开mantis页面,将发现的问题报告至mantis上,报告成功之后,回到TestLink,将Issue ID填写到“Bug/Problem Report”的文本框里,然后点击“Save Result”,这样,Testlink就能把Mantis上的issue数据显示在执行测试用例页面下方了。

此外,你还可以TestLink的bug报表功能,点击“Total Bugs For Each Test Case”,则在右边的页面里显示该项目所有测试用例下的bug列表。

本文转载于http://blog.csdn.net/xiaoputaozhi/article/details/48186199
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: