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

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/nieweicheng7/article/details/49006365

 

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

展开阅读全文

没有更多推荐了,返回首页