您的位置:首页 > 其它

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

2015-10-09 21:21 253 查看
 

关于testlink与缺陷追踪工具mantis的连接
  需要修改的配置文件为testlink下的C:\xampp\htdocs\testlink\cfg\mantis.cfg.php和
C:\xampp\htdocs\testlink\config.inc.php
mantis.cfg.php需要修改的配置项如下:
<?php
/**
* TestLinkOpen Source Project - http://testlink.sourceforge.net/
* $Id: mantis.cfg.php,v1.7 2007/03/05 18:22:04 franciscom Exp $

*
*Constants used throughout TestLink are defined within this file
* theyshould be changed for your environment
*
* 20051229- scs - added DEFINE for the DB-Type
*/
//Set thebug tracking system Interface to MANTIS 1.2.15
//alsotested with MANTIS 1.2.15.a3
 
/** The DBhost to use when connecting to the mantis db */
define('BUG_TRACK_DB_HOST', 'localhost');
/** Thename of the database that contains the mantis tables */
define('BUG_TRACK_DB_NAME', 'bugtracker');
/** The DBtype being used by mantis

values:mysql,mssql,postgres
*/
define('BUG_TRACK_DB_TYPE', 'mysql');
/** The DBpassword to use for connecting to the mantis db */
define('BUG_TRACK_DB_USER', 'root');
define('BUG_TRACK_DB_PASS', '');
/* link ofthe web server for mantis*/
/*anonymous login into mantis has to be turned on, and a mantis user has tocreated with viewer rights to all public projects
/* Changethe following in your mantis config_inc.php (replace dummy with your createduser)
        #--- anonymous login -----------
         # Allow anonymous login
         $g_allow_anonymous_login = ON;
         $g_anonymous_account= 'dummy';
*/
define('BUG_TRACK_HREF',"http://localhost/mantis/view.php?id=");
/** linkto the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://localhost/mantis/");
?>
 
 config.inc.php需要修改的配置项如下标黄部分:
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: