mantis和testlink整合解決方案
1 關於testlink與缺陷追蹤工具mantis的連線
需要修改的配置檔案為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/");
?>
config.inc.php需要修改的配置項如下標黃部分:
2 testlink怎麼設定中文?
簡單的方式是設定角色的語言改成簡體中文,重新整理一下即可
3 mantis 怎麼設定中文?
C:\xampp\htdocs\mantis/ config_inc.php檔案中新增如下配置項
$g_default_language='chinese_simplified';
4 XAMPP control panel 上的pid 和port各是什麼意思。那個port下面的埠號為啥有好多個?
答:pid是程序號,唯一. window 下 taskkill /pid pid linux kill pid 可以殺掉對應程序port多個,程式可以監聽多個埠