汇聚万千丝和绪,记录点滴得与失.

-关注移动互联网、软件开发过程与质量、数据库 -开源轻量级项目管理软件实践者(Trac+Subversion+Testlink+Reviewboard+Hudson+...)

开源测试管理工具testlink 1.8.5安装以及使用(一)

由于需要对测试计划以及测试用例进行全面有效地管理,而且最好能与现有的项目管理系统TRAC进行集成,在网上搜了一翻,发现了这个TestLink可以满足我们的需要,就下载下来研究一下。

我所下的版本为1.8.5,关于软件的详细介绍可参见http://testlink.sourceforge.net/docs/testLink.php

一、安装

TestLink所需环境为PHP+MYSQL (支持MS SQL等),系统推荐使用PHP5.2,而我的机子上已装5.3.1,对果造成安装成功以后,运行时出错。主要两种错:

[1].HP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in XXX

解决该错误的方法是找到错误的PHP文件,打开

1、在php文件头加上:date_default_timezone_set("PRC");
2、更改php.ini种date.timezone的属性值为PRC,同时去掉前面的注释就可以了。

 

[2].Deprecated: Function ereg_replace() is deprecated in D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\testlink\lib\functions\lang_api.php on line 173

解决该错误的方法是打开PHP.INI文件,将

;extension=php_mbstring.dll
改为
extension=php_mbstring.dll

以及将
;mbstring.func_overload = 0
修改为:
mbstring.func_overload = 7

修改之后,系统成功运行

 

进去之后,还会发现一个WARNING:

There are security warnings for your consideration.  To disable any reference to these checkings, set $tlCfg->config_check_warning_mode = 'SILENT';

 

这需要打开TestLink下config.inc.php文件,将

$tlCfg->config_check_warning_mode = 'FILE';

改为

$tlCfg->config_check_warning_mode = 'SILENT';

再运行,WARNING消失!

image

posted on 2010-11-06 14:55  brucenan  阅读(2357)  评论(1编辑  收藏  举报

导航