At present, popular defect tracking systems Introduction
For project management, defect tracking is a very important aspect, it can be apart from the completion of the demand for control, but also the quality of the software itself is controlled in order to guarantee the iterative software development carried out smoothly. The original software project development in the Defect Tracking through EXCEL form to complete, this form can also be carried out although the project management and project implementation, degree of interaction, but the efficiency and real-time is not high, at the same time not a good maintenance and statistics, so there have been deficiencies in the tracking system, through software technology to solve the problem of software project management.

Defect Tracking System is currently still many relatively well-known as Mercury's TestDirector, Seapine's Test Track Pro, TechExcel's DevTrack, Atlassian's Jira and today we should focus on introduction of the Mantis.

l TestDirector

At the field of industrial software projects, because Mercury is the oldest field of testing software (such as relatively well-known LoadRunner, WinRunner, etc.), so it has become the TD Defect Tracking System Benchmarking Products. Is the earliest of its way through the Web management tracking software defects. However, because of its earlier versions can not be flexible on the project management flow configuration, but also because of its expensive price, so the current application is not a lot of enterprises.

Reference URL: http://www.mercury.com

l Test Track Pro

Seapine company is to do the project management software, Test Track Pro with its configuration management products with the Door Surround SCM can achieve perfection and integrity combined with code-level management. The main architecture for the Client / Server, while providing CGI access the Web interface, but the high prices will deter a lot of company. Its License divided into two types, Named and Floating, separately for the US $ 295 and US $ 795.

Reference URL: http://www.seapine.com

l DevTrack

TechExcel can be said that CRM systems, as well as the oldest HelpDesk system, a lot of its products at large companies (such as Oracle, IBM, etc.) which have applications, the latest release features DevTrack indeed powerful, in its project can be configured to provide users project-related personnel at all levels, UI configuration, but also provide the greatest degree of flexibility to the customer, visualization custom tracking implementation flow can handle any complex configuration. Compared with Test Track Pro, and its function is better, using their own words: "DevTrack - The market leading defect and project tracking tool from TechExcel". The official website did not elaborate on the quotation, but its SBE (Small Business Edition) perhaps there is a quotation of the maintenance fees are per person per year with 149 U.S. dollars. Its price is also true that in line with the level of its products.

Reference URL: http://www.techexcel.com

l JIRA

Jira is the more popular Java-based architecture of the defect tracking system, because a lot of open source companies Atlassian projects Defect Tracking Service provided free of charge, so in the field of open source, and its recognition than other products is much higher, but also easy to with sexual or some. At the same time, open source is its another feature, users purchase their software at the same time, it will also purchase the source code in, convenient to do secondary development. Because of its openness, the price is quite a lot of money on natural, for small and medium-sized software enterprises to do project management, is to find another way out.

Reference URL: http://www.atlassian.com

l Mantis

Mantis is a PHP based lightweight technology Defect Tracking System, its function and the Jira system mentioned above, similar operations are provided in the form of Web project management and defect tracking service. Function may not be up at Jira so professional, there is no interface Jira beautiful, but practical enough to meet small and medium-sized project on the management and tracking. More importantly, its open source, do not need to pay anything. However the current version there are still some questions and look forward to in future versions can be perfect.

Reference URL: http://www.mantisbt.org

Mantis installation preparation

Mantis uses the relatively popular LAMP (Linux + Apache + MySQL + PHP) architecture, but also through the various Windows versions of the software configuration. In this paper, the operating environment is built based on Windows platform.

Mantis installed software environment:

OS: Windows 2003 Server

Application Server: Apache HTTP Server 2.0.54 or later

Download address: http://httpd.apache.org/download.cgi

Database Server: MySQL 5.0.10a Beta or later

Download address: http://dev.mysql.com/downloads/

Language: PHP 5.1.2

Download address: http://down.phpv.net/soft/1300.htm

Mantis: Mantis 1.0.0

Download address: http://www.mantisbt.org/download.php

Mantis installation steps

l Software Installation

First of all, the installation of Apache HTTP Server, and MySQL, both are Windows installation package, directly in accordance with its installation wizard to install it. At Apache server installation required attention not to its port of IIS and Windows Services conflict, it is recommended to use 8080 or other ports to provide services. For MySQL may be related to the default character set problem set, you can set to gb2312 or utf8, but because of the current mantis itself, the current Chinese input support is not very good information, the official line on that version 1.1.0 to resolve this problem.

Installed application server and database server, the installation package will unzip php to a directory, the best are relatively easy to visit, such as d: PHP5, so as not to cause trouble when the environment settings. Download and then extract the best mantis package to the appropriate directory, such as d: mantis, so that installation on the end, the following software on all the configuration steps.

l PHP configuration

First PHP directory libmysql.dll unzip files copied to the windows/system32 directory, and then rename php.ini-recommended file to php.ini and edit it.

Necessary to amend this document some places:

1. First of all, memory_limit = 20M; Maximum amount of memory a script may consume (8MB), I set to 20M, in order to guarantee file upload buffer when.

2. Then set extension_dir = "d: / PHP5/ext", this is necessary to load the external library path.

3. Guarantee file_uploads = On, and set the upload_max_filesize = 20M, this is to control the largest file size. Set post_max_size = 20M, to ensure the maximum limit set Chuan.

4. Then there is the settings required to load the external library file:

extension = php_dba.dll

extension = php_dbase.dll

extension = php_filepro.dll

extension = php_gd2.dll

extension = php_imap.dll

extension = php_mysql.dll

The information in the original configuration files are exist, as long as its Notes to remove the semicolon in front of it.

5. Mantis is also necessary to use PHP's mail system, so here you also need to configure your mail server information

[mail function]

; For Win32 only.

SMTP = 210.22.139.90

smtp_port = 25

; For Win32 only.

sendmail_from = sukiyou@yeah.net @ yeah.net
6. Because of use of MySQL, is therefore also required in the MySQL configuration file information of the environment.

mysql.default_port = 3306

mysql.default_host = localhost

mysql.default_user = root

mysql.default_password = 1234

OK, so far, php.ini file on the amendment Well, its copy to the windows directory it.

l Apache server configuration

Apache server configuration process is to modify its conf directory of the httpd.conf file.

1. Open httpd.conf, at # LoadModule ssl_module modules / mod_ssl.so add the following LoadModule php5_module "d: / php5/php5apache2.dll", to ensure php5apache2.dll file decompression at the php directory.

2. DirectoryIndex index.html index.html.var at his party after the index.php, so that index.php as the default homepage.

3. Open ScriptAlias / cgi-bin / "D: / Apache/Httpd/Apache2/cgi-bin /" of the Notes, so that apache Supported CGI parsing.

AllowOverride None

Options None

Order allow, deny

Allow from all

4. Increase ScriptAlias / php / "d: / PHP5 /", configure php5 script execution environment

5. At AddCharset shift_jis. Sjis add after AddDefaultCharset GB2312, set the default character set

6. At AddType application / x-gzip. Gz. Tgz following row

AddType application / x-httpd-php. Php. Php5. Php4. Php3

To ensure that Apache can identify the file and parse php

7. Open AddHandler cgi-script. Cgi and AddHandler cgi-script. Pl Notes ago

8. Open AddType text / html. Shtml and AddOutputFilter INCLUDES. Shtml Notes ago

9. Increase in Action application / x-httpd-php "/ php / php-cgi.exe"

10. Mantis are then set up the environment

Alias / bugtrack "d: / mantis /"

Options Indexes MultiViews Includes FollowSymLinks + ExecCGI

AllowOverride None

Order allow, deny

Allow from all

One of / bugtrack are visited URI interface, "d: / mantis /" is its mapping of the actual path of the Mantis.

l MySQL configuration

MySQL setup is relatively simple, first of all in the first set up at a MySQL users, user name and password could have taken the mantis, create a new user benefits are easy to access control, and then set up a mantis library, and put all the permissions assigned to mantis the user.

l Mantis configuration

And that is the configuration of the Mantis:

1. First extract the files directory config_inc.php.sample renamed config_inc.php and open, in accordance with the following modifications and configuration information:

# Set these values to match your setup

Here the configuration information with the information prior to MySQL in the corresponding

$ g_hostname = "localhost"; database host IP

$ g_db_username = "mantis"; database user name

$ g_db_password = "mantis"; database password

$ g_database_name = "mantis"; Database Name

$ g_db_type = "mysql"; database type, the default for mysql

# Jed complement

$ g_path = "http://localhost:8080/bugtrack/"; necessary settings here mantis published URL, one of bugtrack / to with the previous settings in the apache server that corresponds to the environment

$ g_icon_path = $ g_path. "images /";

$ g_absolute_path = "d: / mantis /"; mantis after extracting the absolute path, a lot of picture information required directly targeted to the absolute path to display

$ g_use_iis = OFF; because you are using apache server, so will the set to OFF

$ g_show_version = ON;

# $ g_default_language = 'chinese_simplified'; This is a comment information, because of its character set support questions, in the official online search of the need to set to UTF8 before normal use, but the modified problem is still not resolved.

$ g_default_language = 'chinese_simplified_utf8'; this article is to set the default document language, and its main page display language are recognized

$ g_fallback_language = 'chinese_simplified_utf8'; this function Ibid

# --- Email variables -------------

This part of the system are e-mail, including e-mail administrators, as well as network management, to facilitate the adoption of e-mail system to notify individual users of a variety of information

$ g_administrator_email = 'sukiyou' @ yeah.net;

$ g_webmaster_email = 'sukiyou' @ yeah.net;

# The "From:" field in emails

$ g_from_email = 'noreply@yeah.net';

# The return address for bounced mail

$ g_return_path_email = 'sukiyou' @ yeah.net;

# --- File upload settings --------

# This is the master setting to disable * all * file uploading functionality

#

# The default value is ON but you must make sure file uploading is enabled

# In PHP as well. You may need to add "file_uploads = TRUE" to your php.ini.

Part of this is set up file upload parameters

$ g_allow_file_upload = ON; permit file uploads

$ g_file_upload_method = DISK; upload is DISK

$ g_max_file_size = 20000000 Maximum upload limit of 20M, this value should not exceed the environment before the PHP configuration file upload limit

2. Start Mysql and Apache Services services, begin to enter the Mantis installation. Open the browser, enter http://localhost:8080/bugtrack/admin/install.php, enter the install page, fill out a good variety of database information, submit the page, the system will be necessary in the database will be automatically set up the database table. After the installation is complete, you can enter http://localhost:8080/bugtrack/admin/index.php, to check the database set up is correct.

3. After http://localhost:8080/bugtrack/login_page.php can use to log in, the system will be an initial administrator account administrator, password is root. Into the system may be able to set up a variety of users, as well as projects to build a Defect Tracking.

7.4 Configuration Mantis
Directory under the document config_inc.php.sample renamed config_inc.php
Open config_inc.php, can refer to modify the configuration config_defaults_inc.php.
The following is my personal settings. Config_inc.php you can also delete the contents, put my copy into the set
Of course, some places need to change yourself.
<? Php
$ g_hostname = 'localhost';
$ g_db_type = 'mysql';
$ g_database_name = 'bugtracker';
$ g_db_username = 'root';
$ g_db_password = 'password';
$ g_default_language = 'chinese_simplified';
$ g_window_title = 'bellingen BUG management system';
$ g_page_title = 'Welcome to the Mantis BUG tracking management system';
$ g_show_queries_count = OFF;
$ g_allow_file_upload = ON;
$ g_enable_email_notification = ON;
$ g_phpMailer_method = 2;
$ g_smtp_host = 'mail.163.com';
$ g_smtp_username = 'username';
$ g_smtp_password = 'password';
$ g_administrator_email = 'chenf135@126.com';
$ g_webmaster_email = 'chenf135@126.com';
$ g_from_email = 'chenf135@126.com';
$ g_return_path_email = 'chenf135@126.com';
$ g_validate_email = OFF;
$ g_use_jpgraph = ON; # open graphics Report Module
$ g_jpgraph_path = 'D: / mantis / jpgraph / src /'; # Graphics Report installation path
$ g_allow_file_upload = ON;
$ g_file_upload_method = DISK;
$ g_absolute_path_default_upload_folder = 'D: / mantis / upload /'; # required to build this directory
$ g_max_file_size = 10000000; # Maximum attachment upload 10 MB
$ g_graph_font = 'simsun'; # resolve graphics garbled Report
$ g_short_date_format = 'Ym-d';
$ g_normal_date_format = 'Ymd H: i';
$ g_complete_date_format = 'Ymd H: i';
$ g_show_version = OFF; # show version
$ g_preview_attachments_inline_max_size = 5000000; # preview picture attachment
$ g_show_project_menu_bar = ON; # show item selection column
?>

7.5 Configuration Graphics Report
Mantis default graphics are turned off Report, required to manually open JPGraph module
At Mantis configuration file add the following three
$ g_use_jpgraph = ON; # open graphics Report Module
$ g_jpgraph_path = 'D: / mantis / jpgraph / src /'; # Graphics Report installation path
$ g_graph_font = 'simsun'; # resolve graphics garbled Report
Modify D: \ mantis \ jpgraph \ src \ jpgraph.php
DEFINE ( "FF_VERASERIF", 40);

Modify D: \ mantis \ core \ graph_api.php
function graph_get_font () (
$ t_font_map = array (
'Arial' => FF_ARIAL,
'Verdana' => FF_VERDANA,
'Courier' => FF_COURIER,
'Book' => FF_BOOK,
'Comic' => FF_COMIC,
'Times' => FF_TIMES,
'Georgia' => FF_GEORGIA,
'Trebuche' => FF_TREBUCHE,
'Vera' => FF_VERA,
'Simsun' => FF_SIMSUN,
'Simhei' => FF_SIMHEI,
'Veramono' => FF_VERAMONO,
'Veraserif' => FF_VERASERIF);

8. Install Mantis
Restart Apache and Mysql Service, open http://localhost/mantis/admin/install.php
Followed by fill in the database as well as the password, and then begin the next step initialization, the installation is complete.
After can be used to sign the http://localhost/mantis/login_page.php
The default administrator account administrator, password is root.
For security, the system proposes to delete the admin directory under the Mantis and the initial password to change the default administrator.

Postscript

Mantis installation process compared with other products is indeed a bit complicated, perhaps spent a half a day to check the N many of its configuration information in order to succeed, and have some of the details, such as support, such as English, but瑕不掩瑜, its functions can still Satisfy the needs of a lot of projects.

Follow-up version can look forward to more perfect.