|
已经安装上了mantis和testlink,但是2个工具不在一台机器上
mantis在192.168.1.109上,testlink在192.168.1.8上
想把2个整合起来,红色部分为修改
修改testlink中的config.inc.php文件:
/**
* @var STRING TL_INTERFACE_BUGS = ['NO', 'BUGZILLA','MANTIS','JIRA']
* BUGZILLA: edit configuration in TL_ABS_PATH/cfg/bugzilla.cfg.php
* MANTIS : edit configuration in TL_ABS_PATH/cfg/mantis.cfg.php
* JIRA : edit configuration in TL_ABS_PATH/cfg/jira.cfg.php
*/
define('TL_INTERFACE_BUGS', 'MANTIS');
require_once(TL_ABS_PATH . 'lib/bugtracking/int_bugtracking.php');
修改testlink中的mantis.cfg.php文件:
<?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
* $Id: mantis.cfg.php,v 1.3 2005/08/25 17:40:56 schlundus Exp $
*
* Constants used throughout TestLink are defined within this file
* they should be changed for your environment
*/
//Set the bug tracking system Interface to MANTIS 0.19.1
//also tested with MANTIS 1.0.0.a3
/** The DB host to use when connecting to the mantis db */
define('BUG_TRACK_DB_HOST', '192.168.1.109');
/** The name of the database that contains the mantis tables */
define('BUG_TRACK_DB_NAME', 'mantis');
/** The DB type being used by mantis */
define('BUG_TRACK_DB_USER', 'root');
/** The DB password to use for connecting to the mantis db */
define('BUG_TRACK_DB_PASS', 'sqlpass');
/* 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://192.168.1.109/mantis/view.php?id=");
/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://192.168.1.109/mantis/");
?>
修改完成,登录到testlink
但是在用例的执行页面没有bug相关的图标或东西出现,可能是什么原因呢? |
|