Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Simple 3 steps for easy integration of Testlink and MantisBT

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report