Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1124874
  • 博文数量: 188
  • 博客积分: 2267
  • 博客等级: 大尉
  • 技术积分: 1907
  • 用 户 组: 普通用户
  • 注册时间: 2011-08-01 11:17
文章分类

全部博文(188)

文章存档

2016年(16)

2015年(16)

2014年(12)

2013年(32)

2012年(45)

2011年(67)

分类: WINDOWS

2012-04-18 15:30:06

由于本文是将testlink和 mantis集成起来,所以是接着上一次的环境,在同一台机器上做的,搭建mantis平台请参考http://blog.chinaunix.net/uid-26118446-id-3085247.html


1.需要安装IIS,点击开始-设置-控制面板-添加或删除程序-添加删除windows组件
然后下一步到完成即可
2.下载testlink程序并解压到D:\Program Files\EasyPHP5.2.10\www目录下,命名为testlink
下载地址为
我这里下载的是1.9.3
3.编辑D:\Program Files\EasyPHP5.2.10\www\testlink\config.inc.php文件,修改其中选项

* @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
 * 'POLARION'  : edit configuration in TL_ABS_PATH/cfg/polarion.cfg.php
 * ]
 */
$g_interface_bugs = 'MANTIS';


4.在D:\Program Files\EasyPHP5.2.10\www\mantis\config_defaults_inc.php最后加入

# Allow anonymous login
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'dummy'; (如果此处想使用别的名字的话,在D:\Program Files\EasyPHP5.2.10\www\testlink\cfg\mantis.cfg.php里修改对应的选项)


5.编辑 D:\Program Files\EasyPHP5.2.10\www\mantis\config_defaults_inc.php
define('BUG_TRACK_DB_HOST', 'localhost');

define('BUG_TRACK_DB_HOST', 'localhost');

define('BUG_TRACK_DB_TYPE', 'mysql');

define('BUG_TRACK_DB_USER', 'root');

define('BUG_TRACK_DB_PASS', '*******');


# --- anonymous login -----------
# Allow anonymous login
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'dummy';


define('BUG_TRACK_HREF', ""); 


define('BUG_TRACK_ENTER_BUG_HREF',"");

阅读(2865) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

重返人生2012-04-19 21:37:27

testlink集成mantis后找不到那个提bug的按钮,在哪里啊???