您的位置:軟件測試 > 開源軟件測試 > 開源測試管理工具 > Testlink
TestLink與Mantis的集成
作者:網絡轉載 發(fā)布時間:[ 2014/3/12 15:50:23 ] 推薦標簽:TestLink Mantis 集成

1. 修改接口文件

修改testlink下的lib/bugtracking/int_ bugtracking.php文件

$g_bugInterfaceOn = TRUE;(出現(xiàn)小蟲子)


2. 編輯testlink下的config.inc.php

找到$g_interface_bugs='NO';改成$g_interface_bugs='MANTIS';


3. 在mantis上設置匿名登錄權限

    Mantis的匿名用戶具備對所有的項目都可以瀏覽的權限。


注:這個dummy用戶需要administrator在后臺添加,注冊不了的

   修改mantis的config_inc.php文件,增加如下代碼:

   # --- 登錄設置-------------

  $g_allow_anonymous_login  = ON;

  $g_anonymous_account = 'dummy'; #testlink訪問mantis需要匿名訪問打開

  $g_show_realname = ON;#顯示真名

  $g_allow_anonymous_login  = ON;# 允許用戶匿名登錄

  $g_anonymous_account = 'dummy';#匿名登錄的用戶名


4. 在TestLink里配置mantis的界面參數(shù)。

編輯testlink下cfg/mantis.cfg.php,

(可到mantis中的config_inc.php文件中查閱)如下所示:

/** 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 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', '82479444');

/** link to the bugtracking system, for viewing bugs */

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/");

上一頁12下一頁
軟件測試工具 | 聯(lián)系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網站地圖
滬ICP備07036474 2003-2017 版權所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd