Install and use the open-source test management tool testlink 1.8.5 (1)

Source: Internet
Author: User
Tags testlink

Because the test plan and test cases need to be fully and effectively managed, and it is better to integrate with the existing project management system Trac, I searched it online, once we find that this testlink can meet our needs, we will download it and study it.

My version is 1.8.5. For more information about the software, see http://testlink.sourceforge.net/docs/testlink.php.

I. Installation

The environment required for testlink is PHP + MySQL (ms SQL is supported). php5.2 is recommended for the system, and 5.3.1 has been installed on my machine. If the installation is successful, an error occurs during running. There are two major errors:

[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

To solve this error, find the wrong PHP file and open

1. Add date_default_timezone_set ("PRC") to the PHP file header ");
2. Change the value of date. timezone of PHP. ini to PRC, and remove the preceding comment.

 

[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

To solve this error, open the php. ini file and

; Extension = php_mbstring.dll
Change
Extension = php_mbstring.dll

And
; Mbstring. func_overload = 0
To:
Mbstring. func_overload = 7

After modification, the system runs successfully.

 

After entering, you will find a warning:

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

 

In this case, open the config. Inc. php file under testlink and set

$ Tlcfg-> config_check_warning_mode = 'file ';

Change

$ Tlcfg-> config_check_warning_mode = 'silent ';

Run again, and the warning disappears!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.