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

来源:互联网 发布:windows装mac双系统 编辑:程序博客网 时间:2024/05/21 07:47

 

关于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需要修改的配置项如下标黄部分:

0 0