Testlink 与 mantis的集成w

来源:互联网 发布:game center数据删除 编辑:程序博客网 时间:2024/05/20 09:25

           Teslink 是 一款开源的软件测试用例管理系统 mantis则是bug管理系统 将此二者集成在一起有利于软件缺陷的管理和跟踪。 

       那么我们如何才能将这两个软件集成在一起呢? 

        首先需要下载testlink与mantis这两个软件,由于软件是开源的 所以网上能找到免费的 之后则要安装这两个软件,记得安装时要装一个XAMPP(XAMPP是一个功能强大的建 XAMPP 软件站集成软件包。)然后按照如下步骤:

需要修改testlink下的c:\xampp\hcdocs\testlink\cfg\mantis.cfg.php和C:\xampp\htdocs\testlink\config.inc.php   具体修改如下:

1.修改mantis.cfg.php文件:

 

     * 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 mantistables */

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 mantisdb */

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 amantis 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 -----------

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

?>

2:修改 config.inc.php文件:

打开config.inc.php文件查找interface就能找到$g_interface_bugs=null;这句话null改成'MANTIS'就行了      

修改完这两个文件就可以把testlinkmantis集成到一起了

0 0
原创粉丝点击