testlink和mantis集成

 关于testlink缺陷追踪工具mantis的连接

需要修改的配置文件为testlink下的C:\xampp\htdocs\testlink\cfg\mantis.cfg.php

C:\xampp\htdocs\testlink\config.inc.php

具体方法如下

修改mantis.cfg.php文件,找到安装路径下的xampp\htdocs\testlink\cfg\mantis.cfg.php

 

 

要修改的配置项如下:

<?php

/**

* TestLink Open Source Project - http://testlink.sourceforge.net/ 

* $Id: mantis.cfg.php,v 1.7 2007/03/05 18:22:04 franciscom Exp $ 

* Constants used throughout TestLink are defined within this file

* they should be changed for your environment

* 20051229 - scs - added DEFINE for the DB-Type

*/

//Set the bug tracking system Interface to MANTIS 1.2.15

//also tested with MANTIS 1.2.15.a3

 

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

define('BUG_TRACK_DB_HOST', 'localhost');

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

define('BUG_TRACK_DB_NAME', 'bugtracker');

/** The DB type being used by mantis 

values: mysql,mssql,postgres

*/

define('BUG_TRACK_DB_TYPE', 'mysql');

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

define('BUG_TRACK_DB_USER', 'root');

define('BUG_TRACK_DB_PASS', '');

/* link of the web server for mantis*/

/* anonymous login into mantis has to be turned on, and a mantis user has to created with viewer rights to all public projects

/* 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_account = 'dummy';

*/ 

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

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

define('BUG_TRACK_ENTER_BUG_HREF',"http://localhost/mantis/");

?>

 

2、 config.inc.php需要修改的配置项如下标黄部分

(也就是打开config.inc.php文件,查找interface就能找到$g_interface_bugs =null;这句话,把null改成'MANTIS'就行了)

 

 


 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值