您的位置:軟件測(cè)試 > 開源軟件測(cè)試 > 開源測(cè)試管理工具 > Testlink
phpnow+testlink+mantis時(shí)的心得
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時(shí)間:[ 2014/1/7 15:18:07 ] 推薦標(biāo)簽:mantis testlink

三.與缺陷管理工具mantis關(guān)聯(lián)

首先安裝mantis,我的版本是mantis 1.0.8

安裝步驟如下:

將mantis 1.0.8.zip解壓到上面所說(shuō)的也是服務(wù)器的默認(rèn)目錄htdocs文件下,我解壓完叫mantis,進(jìn)入到:http://localhost/mantis/admin/install.php中,填好相應(yīng)信息,

我安裝的時(shí)候出現(xiàn)好多的sql建表語(yǔ)句,提示錯(cuò)誤,將語(yǔ)句在mysql中執(zhí)行即可

接下來(lái)修改配置文件:

可以在config_defaults_inc.php中修改數(shù)據(jù)庫(kù)的相應(yīng)信息,也可以新建一個(gè)文件config_inc.php內(nèi)容如下:

<?php

       $g_hostname = 'localhost';

       $g_db_type = 'mysql';

       $g_database_name = 'bugtracker';

       $g_db_username = 'root';

       $g_db_password = '123456';

?>

如果沒(méi)有config_inc.php文件則用config_defaults_inc.php文件中的相應(yīng)信息,這里我只添加了數(shù)據(jù)庫(kù)的信息,郵件設(shè)置未設(shè)置。

登陸時(shí)默認(rèn)用戶名密碼是:administrator,root

四.整合mantis和testlink

修改tl/cfg下的mantis.cfg.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 password to use for connecting to the mantis db */
define('BUG_TRACK_DB_USER', 'root');
define('BUG_TRACK_DB_PASS', '123456');

修改tl文件夾下的config.inc.php文件,查找$g_interface_bugs = ‘no’;

為$g_interface_bugs = 'MANTIS';

整合后執(zhí)行用例時(shí)會(huì)出現(xiàn)一列bug管理

點(diǎn)擊蜘蛛圖片會(huì)彈出管理頁(yè)面,添加bug號(hào)關(guān)聯(lián)

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