ASP源码.NET源码PHP源码JSP源码JAVA源码DELPHI源码PB源码VC源码VB源码Android源码
当前位置:首页 >> 软件工程 >> 简单3步,轻松集成Testlink和MantisBT

简单3步,轻松集成Testlink和MantisBT(1/2)

来源:网络整理     时间:2017-11-01     关键词:

本篇文章主要介绍了" 简单3步,轻松集成Testlink和MantisBT",主要涉及到方面的内容,对于软件工程感兴趣的同学可以参考一下: 软件环境:testlink 1.9.12MantisBT-1.2.18 一、先来说一说集成的好处吧:在每个版本测试结束后,方便统计TC发现的bug的占比;在t...

软件环境:

  • testlink 1.9.12

  • MantisBT-1.2.18  

一、先来说一说集成的好处吧:

  • 在每个版本测试结束后,方便统计TC发现的bug的占比;

  • 在testlink中,通过查看用例执行历史,可以间接的了解bug修复情况;

  • testlink留存了用例与bug的关系,提供了可追溯性,间接的可以反映版本修复的质量;

二、再来说集成的步骤:

第一步:配置Mantis的mantisconfig_inc.php文件

在mantis中开启允许匿名登录

mantis的匿名用户对所有的项目都具有浏览权限

#  --- anonymous login -----------

#  Allow anonymous login

$g_allow_anonymous_login  = ON;

$g_anonymous_account  = 'dummy';

 

第二步:配置testlink的主目录下的/cfg/mantis.cfg.php文件

/**  The DB host to use when connecting to the mantis db */

define('BUG_TRACK_DB_HOST',  'calypso');

/**  The name of the database that contains the mantis tables */

define('BUG_TRACK_DB_NAME',  'mantis_bt');

/**  The DB type being used by mantis */

define('BUG_TRACK_DB_USER',  'mantis_bt_user');

/**  The DB password to use for connecting to the mantis db */

define('BUG_TRACK_DB_PASS',  'mantis_bt_password');

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

define('BUG_TRACK_HREF',  "http://calypso/mantis/view.php?id=");

/**  link to the bugtracking system, for entering new bugs */

define('BUG_TRACK_ENTER_BUG_HREF',"http://calypso/mantis/");

 

第三步:enable BTS集成

打开config.inc.php文件中

相关图片

相关文章