您的位置:軟件測試 > 開源軟件測試 > 開源測試管理工具 > Testlink
Jira與Testlink整合方法
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時(shí)間:[ 2015/9/23 14:01:12 ] 推薦標(biāo)簽:軟件測試工具 測試管理工具

  第1步:修改testlink中的 jira.cfg.php文件
<?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
* $Id: jira.cfg.php,v 1.0 2005/10/25 17:40:56
*
*
* 20051229 - scs - added DEFINE for the DB-Type
*/
// Contributed by  jbarchibald@gmail.com
//Set the bug tracking system Interface to JIRA 3.1.1
/** The DB host to use when connecting to the JIRA db */
define('BUG_TRACK_DB_HOST', 'localhost');-----------host ip
/** The name of the database that contains the jira tables */
define('BUG_TRACK_DB_NAME', 'jiradb');----------JIRA database
/** The DB type being used by jira */
define('BUG_TRACK_DB_USER', 'root');-------------Mysql  username
/** The DB password to use for connecting to the jira db */
define('BUG_TRACK_DB_PASS', '071200');---------Mysql password
/** link of the web server for jira */
// define('BUG_TRACK_HREF', "http://localhost:8080/secure/Dashboard.jspa");
define('BUG_TRACK_HREF', "http://localhost:8080/browse/"); -----------ok,just so
/** The DB type to use for connecting to the bugtracking db */
define('BUG_TRACK_DB_TYPE', 'mysql');------------------------------database type
/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://localhost:8080/browse/");-----------ok,just so
?>
  第2步:修改 config.inc.php文件;
// ----------------------------------------------------------------------------
/* [Bug Tracking systems] */
/**
* TestLink collaborates with bug tracking systems to check if displayed bugs resolved,
* verified, and closed reports.
*
* Note: Use this option to check if a bug interface is enabled, if so every
* page using bug tracking MUST include int_bugtracking.php to make the
* connection. The variable bugInterfaceOn is only set when a connection is made
*
* @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
* 'JIRASOAP'  : 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
* 'YOUTRACK' : edit configuration in TL_ABS_PATH/cfg/youtrack.cfg.php
* ]
*/
$g_interface_bugs = 'JIRA';--------------------------修改為JIRA
// do not change this
$g_bugInterfaceOn = false;
$g_bugInterface = null;
  第3步:執(zhí)行測試用例后 ,測試用例未通過,會(huì)在同行中出現(xiàn)一只小蟲子,點(diǎn)擊小蟲子 ;
  第4步:到j(luò)ira系統(tǒng)中提交問題,復(fù)制問題編號(hào);
  第5步:粘貼編號(hào),進(jìn)行關(guān)聯(lián)。
  第6步:顯示被關(guān)聯(lián)的問題,點(diǎn)擊可進(jìn)入jira的相關(guān)頁面。

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