TL Bts Howto
TL Bts Howto
TL Bts Howto
Overview................................................................................................................................... 1
Configuration example - Mantis..................................................................................................... 2
Environment............................................................................................................................ 2
Step 1 – Mantis Configuration.................................................................................................... 2
Step 2 – Test Link – Configure Mantis interface............................................................................ 2
Step 3 – Test Link - Enable BTS integration.................................................................................. 3
Configuration example - Bugzilla................................................................................................... 4
Environment............................................................................................................................ 4
Step 1 – Test Link – Configure Mantis interface............................................................................ 4
Step 2 – Test Link - Enable BTS integration.................................................................................. 4
Screenshoots............................................................................................................................. 5
Overview
The integration between Test Link 1.7 and a Bug Tracking System (BTS) has the following
characteristics
• All communication between Test Link and the BTS is done through database tables.
• Testlink (at the time of this writing) is neither able to send data to the BTS, either able to
receive data from the BTS, in the traditional model of function call.
After all the configuration is up and running, from a testlink user point of view the process will be:
Environment
• Testlink and Mantis installed on the same webserver
Change/add following lines in your mantis config_inc.php (replace dummy with the anonymous account
you will use)
/** The name of the database that contains the mantis tables */
define('BUG_TRACK_DB_NAME', 'mantis_bt');
// ----------------------------------------------------------------------------
/** [Bug Tracking systems] */
/**
* TestLink uses bugtracking systems to check if displayed bugs resolved, verified,
* and closed bugs. If they are it will strike through them
*
* NO : no bug tracking system integration
* 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
* TRACKPLUS : edit configuration in TL_ABS_PATH/cfg/trackplus.cfg.php
*/
$g_interface_bugs='NO';
$g_interface_bugs='NO';
Final result:
$g_interface_bugs='MANTIS';
Environment
• Testlink and Bugzilla installed on the same webserver
define('BUG_TRACK_DB_HOST', 'calypso');
define('BUG_TRACK_DB_NAME', 'bugs');
define('BUG_TRACK_DB_USER', 'bugzilla_user');
define('BUG_TRACK_DB_PASS', 'bugzilla');
$g_interface_bugs='BUGZILLA';
A difference with previous TestLink versions, is that there is no sign, that BTS integration is enabled.
After test case has been executed, access to bug management will be available:
If you already have an issue number you can use it,otherwise you click on link to access to Bugzilla,
opening a new window:
After having created the issue, you return to add issue number on TestLink window:
Clicking on link, you will get (if you are still logged on Bugzilla):