Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Simple 3 steps for easy integration of Testlink and MantisBT

Shulou Source: shulou.com Published: 2022-06-03 07:54:52 09月23日 Update

Software environment:

Testlink 1.9.12

MantisBT-1.2.18

First, let's talk about the benefits of integration:

At the end of each version test, it is convenient to count the proportion of bug found by TC.

In testlink, you can learn about bug fixes indirectly by looking at the use case execution history.

Testlink retains the relationship between use cases and bug, provides traceability, and indirectly reflects the quality of version fixes.

Second, let's talk about the steps of integration:

Step 1: configure the mantisconfig_inc.php file for Mantis

Enable anonymous login in mantis

Anonymous users of mantis have browsing rights to all projects

#-anonymous login-

# Allow anonymous login

$g_allow_anonymous_login = ON

$g_anonymous_account = 'dummy'

Step 2: configure the / cfg/mantis.cfg.php file in the home directory of testlink

/ * * The DB host to use when connecting to the mantis db * /

Define ('BUG_TRACK_DB_HOST',' calypso')

/ * * The name of the database that contains the mantis tables * /

Define ('BUG_TRACK_DB_NAME',' mantis_bt')

/ * * The DB type being used by mantis * /

Define ('BUG_TRACK_DB_USER',' mantis_bt_user')

/ * * The DB password to use for connecting to the mantis db * /

Define ('BUG_TRACK_DB_PASS',' mantis_bt_password')

/ * * link to the bugtracking system, for viewing bugs * /

Define ('BUG_TRACK_HREF', "http://calypso/mantis/view.php?id=");

/ * * link to the bugtracking system, for entering new bugs * /

Define ('BUG_TRACK_ENTER_BUG_HREF', "http://calypso/mantis/");

Step 3: enable BTS Integration

Open the config.inc.php file

/ /

/ * * [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

, /

$gross interfacebacks bugswords no'

Copy the "$NO' interfacebugssaved noises;" into the custom_config.inc.php file, and change 'NO' to' MANTIS'

$GetWord ("interfacewise") bugswords

3. The steps for TestLink users are as follows:

If the test result is failed

Submit the bug in mantis and record the bug ID

On the results page of the testlink execution use case, click the bug small icon

In the pop-up page, add bug ID and save.

After adding, the bug information can be displayed, and after clicking, you can view the bug details.

Tags: Files information steps versions users results pages tests configurations history traceability icons benefits situations permissions environment directories quality software projects Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi MariaDB Microsoft MySQL Shulou Tech Info