TestLink和Mantis的集成
2015-09-12 23:04
316 查看
需要修改的配置文件为testlink下的C:\xampp\htdocs\testlink\cfg\mantis.cfg.php和
C:\xampp\htdocs\testlink\config.inc.php
mantis.cfg.php需要修改的配置项如下:
<?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
* $Id: mantis.cfg.php,v 1.7 2007/03/05 18:22:04 franciscom Exp $
*
* Constants used throughout TestLink are defined within this file
* they should be changed for your environment
*
* 20051229 - scs - added DEFINE for the DB-Type
*/
//Set the bug tracking system Interface to MANTIS 1.2.15
//also tested with MANTIS 1.2.15.a3
/** The DB host to use when connecting to the mantis db */
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', 'root');
define('BUG_TRACK_DB_PASS', '');
/* 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://localhost/mantis/view.php?id=");
/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://localhost/mantis/");
?>
C:\xampp\htdocs\testlink\config.inc.php
mantis.cfg.php需要修改的配置项如下:
<?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
* $Id: mantis.cfg.php,v 1.7 2007/03/05 18:22:04 franciscom Exp $
*
* Constants used throughout TestLink are defined within this file
* they should be changed for your environment
*
* 20051229 - scs - added DEFINE for the DB-Type
*/
//Set the bug tracking system Interface to MANTIS 1.2.15
//also tested with MANTIS 1.2.15.a3
/** The DB host to use when connecting to the mantis db */
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', 'root');
define('BUG_TRACK_DB_PASS', '');
/* 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://localhost/mantis/view.php?id=");
/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://localhost/mantis/");
?>
相关文章推荐
- 最小化安装的CentOS安装图形界面
- 带环链表
- VB6.0 Select Case语句
- Android学习记录:获取联系人
- Android SQLiteOpenHelper onUpgrade使用注意事项
- 斯大林苏联帝国的真正杀手锏与俄罗斯复兴的真正大王牌——数学
- LintCode Binary Search
- MySQL BLOB 类型介绍
- Jmeter实现webservice协议的脚本
- curl 使用详解
- 第二周
- HDU 1710 Binary Tree Traversals
- HDU 5012 Dice (2014年西安赛区网络赛F题)
- BZOJ 2599: [IOI2011]Race( 点分治 )
- Fragment学习笔记
- CQL IN 语法的应用方法
- Unity3D笔记第六天——脚本常用核心类
- 随记一(独夜,十年)
- 【学习日记】集合框架知识点总结(1)--Collection
- 网络请求配置