TestLink Open Source Test & Requirement Management System
TestLink Open Source Test & Requirement Management System
1.9.20 will be the last version of the 1.9.x family.
With the help of AI code has been refactored to:
Next TestLink version will 2.x with a new UX based on the Dashio - Bootstrap Admin Template (https://templatemag.com/dashio-bootstrap-admin-template/) This was the idea but @20251206 I'm still working on it.
TestLink is a web based test management and test execution system. It enables quality assurance teams to create and manage their test cases as well as to organize them into test plans. These test plans allow team members to execute test cases and track test results dynamically.
TestLink is a GPL licensed open source project. All of the source code behind TestLink is freely available for download via [SourceForge][sou] or [GitHub][hub]. If you are interested in contributing to the TestLink effort feel free to contact us. There is no hidden fee - 100% free for using!
In an ideal world, testing would be a pretty straightforward process. A test team takes the product requirements, writes a test specification document, reviews the tests, and then runs them all for each version of the product. The team is composed of full-time staff, and everyone knows exactly what is expected of them.
In practice, few organisations have that luxury. There is not time to run all the tests on every product version - especially on fix-releases that need to be rolled out quickly. Requirements are constantly changing, and the tests have to be changed in step. Test staff come and go. There are misunderstandings over who was supposed to run which tests, so some get missed. Management suddenly wants a status update at seven in the evening.
In these situations you need the support of a test management tool, such as TestLink. The purpose of TestLink is to answer questions such as:
TestLink helps you to keep the test process under control. It forms a repository for requirements and test cases, and relates these to builds, platforms and staff. You allocate tests to staff who carry them out and record the results. A wide variety of reports provide information on what has been done and what still needs to be done.
This release contains bugfixes and enhancement for 1.9.19 See CHANGELOG file for detailed list of issues fixed.
Give a look also to: https://github.com/TestLinkOpenSourceTRMS/testlink-code/wiki https://github.com/TestLinkOpenSourceTRMS/testlink-documentation/wiki
Available since PHP 5.3.9. Default value: 1000
If you are going to have test plans with more than 100 test cases, it will be CRITICAL to increase this value in order to avoid issues such as CRASH or MALFUNCTION when adding test cases to test plan.
See [this forum post on max_input_vars][frm] or [this mantis issue][bug] for details.
Default value: 128MB
If you are going to re-import an XML file to update its test case data, the
system might run out of memory. [The original issue][mem] was resolved with
a memory_limit value of 256MB.
Since 1.9.17 there is new authorization method - using OAuth providers. Authentication against multiple oauth providers is supported. Currently it configured to work with Google OAuth and Github, but you can add any OAuth server that support protocol 2.0 and 2-step authentication.
oauth_client_id - id of OAuth program oauth_client_secret - secret code oauth_grant_type - authorization_code is default value oauth_url - url of OAuth server token_url - url for getting token oauth_profile - url of OAuth profile page
oauth_grant_type, oauth_scope - specific parameters for several OAuth providers. They are not necessary
Since 1.9.16 authentication against [Multiple LDAP Servers][ldap] is supported. To implement this feature configuration parameters have been changed, as explained here:
$tlCfg->authentication['method'] = 'LDAP';
$tlCfg->authentication['ldap_server'] = 'ldap.xyz.com';
$tlCfg->authentication['ldap_port'] = '389';
$tlCfg->authentication['ldap_version'] = '3';
$tlCfg->authentication['ldap_root_dn'] = 'dc=xyz,dc=com';
$tlCfg->authentication['ldap_bind_dn'] = 'uid=tl,ou=staff,dc=xyz,dc=com';
$tlCfg->authentication['ldap_bind_passwd'] = 'XYZw';
$tlCfg->authentication['ldap_tls'] = false; // true -> use tls$tlCfg->authentication['method'] = 'LDAP';
$tlCfg->authentication['ldap'][1]['ldap_server'] = 'ldap.xyz.com';
$tlCfg->authentication['ldap'][1]['ldap_port'] = '389';
$tlCfg->authentication['ldap'][1]['ldap_version'] = '3';
$tlCfg->authentication['ldap'][1]['ldap_root_dn'] = 'dc=xyz,dc=com';
$tlCfg->authentication['ldap'][1]['ldap_bind_dn'] = 'uid=tl,ou=staff,dc=xyz,dc=com';
$tlCfg->authentication['ldap'][1]['ldap_bind_passwd'] = 'XYZw';
$tlCfg->authentication['ldap'][1]['ldap_tls'] = false;Server environment should consist of:
log_bin_trust_function_creators option must be enabled.log_bin_trust_function_creators option must be enabled.Tested on web-browsers:
ATTENTION: we have not enough resources to test on all kind of browsers. Right now development is done using Chrome & Firefox.
The following details the basic steps for installation on any system. Instructions may seem unix-centric but should work on Windows systems.
Barring complications, it should take you about 10-20 minutes to install, configure, and start using TestLink.
Short summary:
Transfer files
Uncompress files
Launch web based installer
First, transfer the file to your web-server using whatever method you like best (ftp, scp, etc).
You will need to telnet/ssh into the server machine for the next steps.
The usual command is (1 step):
tar zxvf <filename.tar.gz>OR (2 steps):
gunzip <filename.tar.gz>
tar xvf <filename.tar>Total Commander, Winzip, and other programs should also be able to handle decompression of the archive.
At this point you may want to rename the directory to something different to 'testlink'.
You need to configure:
$tlCfg->log_path)$g_repositoryPath)According to your installation, default values provided. However, these are examples THAT DO NOT WORK OUT OF THE BOX.
Take a look at [bug 5147][5147], [bug 5148][5148], [bug 4977][4977] and [bug 4906][4906].
You should also need to configure write access for logging, upload and template directories.
If you use Linux Operating System, SELINUX can create some issues:
ATTENTION with /var/www/html and selinux
https://stackoverflow.com/questions/45311124/directory-is-not-writable-centos7-apache-2-4-6-php-5-4-16
If SELINUX is enabled you will need to run following command before been able to adjust folder rights
[root@dogbert ~]# chcon -R -t httpd_sys_rw_content_t /var/www/html/
You may find more information searching in the Internet:
TestLink & SELINUX
** FCKEDITOR UPLOAD **
ATTENTION: We now use CKEDITOR (see [forum post][cke])
Check Installation manual and TestLink forum if you meet a problem.
When accessing Installer page you will find only the new installation option. The migration has to be done manually for these special cases:
config_db.inc.php and custom_config.inc.php over to the
new directory.If you are updating a same major version (for example 1.7.0 to 1.7.1) you need to use Upgrade Database.
Please look at [MANTIS 6594][6594]: Migration scripts don't cover test case steps and expected results, also test case ID's are empty in GUI
If you are using a different major version detailed in options, you need to use the specific Migrations.
If in some steps TestLink asks you for two databases, never use the same name for both.
If you find nothing useful, post in the forum.
Always before login, after an upgrade/migration, clear browser cookies.
WARNING: if you are using a table prefix replace prefix with your prefix
a. Execute install/sql/alter_tables/1.9.4/<your_db>/DB.1.5/step1/db_schema_update.sql
b. Execute install/sql/alter_tables/1.9.4/<your_db>/DB.1.5/stepZ/z_final_step.sql
then look at sections: 'Upgrade from 1.9.4/5 to 1.9.7', 'Upgrade from 1.9.7 to 1.9.8
No open issues yet, or sync has not completed.