testlink集成mantis后找不到那个提bug的按钮?
两个均已搭建完成并可使用,可是怎么连在一起呢?已经改了testlink的配置,如下://-----------------------------------------...
两个均已搭建完成并可使用,可是怎么连在一起呢?
已经改了testlink的配置,如下:
// ----------------------------------------------------------------------------
/** [Bug Tracking systems] */
/**
* TestLink uses bugtracking systems to check if displayed bugs resolved, verified,
* and closed bugs. If they are it will strike through them
*
* @var STRING g_interface_bugs = [
* 'NO' : no bug tracking system integration (DEFAULT)
* '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
* 'TRACKPLUS' : edit configuration in TL_ABS_PATH/cfg/trackplus.cfg.php
* 'EVENTUM' : edit configuration in TL_ABS_PATH/cfg/eventum.cfg.php
* 'SEAPINE' : edit configuration in TL_ABS_PATH/cfg/seapine.cfg.php
* 'GFORGE' : edit configuration in TL_ABS_PATH/cfg/gforge.cfg.php
* 'FOGBUGZ' : edit configuration in TL_ABS_PATH/cfg/fogbugz.cfg.php
* ]
*/
define('TL_INTERFACE_BUGS', 'MANTIS');
require_once(TL_ABS_PATH . 'lib/bugtracking/int_bugtracking.php');
$g_interface_bugs = 'MANTIS';
// -----------------------------------------------------------------
但是在验证过程中,并未找到那个create new bug的按钮咧。。。
望大虾教教我,谢谢。
额。。。改了,还是不出现那个bug的按钮,是不是哪里设置有问题咧。 展开
已经改了testlink的配置,如下:
// ----------------------------------------------------------------------------
/** [Bug Tracking systems] */
/**
* TestLink uses bugtracking systems to check if displayed bugs resolved, verified,
* and closed bugs. If they are it will strike through them
*
* @var STRING g_interface_bugs = [
* 'NO' : no bug tracking system integration (DEFAULT)
* '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
* 'TRACKPLUS' : edit configuration in TL_ABS_PATH/cfg/trackplus.cfg.php
* 'EVENTUM' : edit configuration in TL_ABS_PATH/cfg/eventum.cfg.php
* 'SEAPINE' : edit configuration in TL_ABS_PATH/cfg/seapine.cfg.php
* 'GFORGE' : edit configuration in TL_ABS_PATH/cfg/gforge.cfg.php
* 'FOGBUGZ' : edit configuration in TL_ABS_PATH/cfg/fogbugz.cfg.php
* ]
*/
define('TL_INTERFACE_BUGS', 'MANTIS');
require_once(TL_ABS_PATH . 'lib/bugtracking/int_bugtracking.php');
$g_interface_bugs = 'MANTIS';
// -----------------------------------------------------------------
但是在验证过程中,并未找到那个create new bug的按钮咧。。。
望大虾教教我,谢谢。
额。。。改了,还是不出现那个bug的按钮,是不是哪里设置有问题咧。 展开
3个回答
展开全部
9 TestLink与Mantis的整合
TestLink提供了与bugzilla、mantis等工具整合的功能。
a) 修改config.inc.php,将$g_interface_bugs='NO'修改为$g_interface_bugs='BUGFREE';
b) 修改Apache2.2\htdocs\testlink\cfg下的mantis.cfg.php文件,如下
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', 'mantis');
define('BUG_TRACK_DB_PASS', 'mantis');
/* 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.223:8080/mantis/view.php?id=");
/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://192.168.1.223:8080/mantis/");
?>
要将testlink和mantis整合,mantis的匿名登陆功能必须打开:
修改mantis/config_defaults_inc.php文件:
# --- anonymous login -----------
# Allow anonymous login
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'dummy';testlink访问mantis需要匿名访问打开
我自己配置过,可以成功。
TestLink提供了与bugzilla、mantis等工具整合的功能。
a) 修改config.inc.php,将$g_interface_bugs='NO'修改为$g_interface_bugs='BUGFREE';
b) 修改Apache2.2\htdocs\testlink\cfg下的mantis.cfg.php文件,如下
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', 'mantis');
define('BUG_TRACK_DB_PASS', 'mantis');
/* 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.223:8080/mantis/view.php?id=");
/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://192.168.1.223:8080/mantis/");
?>
要将testlink和mantis整合,mantis的匿名登陆功能必须打开:
修改mantis/config_defaults_inc.php文件:
# --- anonymous login -----------
# Allow anonymous login
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'dummy';testlink访问mantis需要匿名访问打开
我自己配置过,可以成功。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询