缺陷管理平台系统,软件测试的利器Mantis,你值得拥有

简介

1,Mantis也叫MantisBT,全名 Mantis Bug Tracker。

2,Mantis是一个免费、开源的基于Web的缺陷跟踪管理系统。

3,Mantis是一个通用的问题跟踪系统和项目管理工具。

4,Getac Mantis 站:
http://mantis.getac.com.cn

基本特性

  • 个人可定制的Email通知功能,用户可根据自身的工作特点订阅相关缺陷状态邮件;
  • 支持多项目、多语言;
  • 权限设置灵活,不同角色有不同权限,每个项目可设为公开或私有状态,每个缺陷可设为公开或私有状态,每个缺陷可以在不同项目间移动;
  • 主页可发布项目相关新闻,方便信息传播;
  • 具有方便的缺陷关联功能,除重复缺陷外,每个缺陷都可以链接到其他相关缺陷;
  • 缺陷 告可打印或输出为CSV格式。
  • 有各种缺陷趋势图和柱状图,为项目状态分析提供依据,如果不能满足要求,可以把数据输出到Excel中进一步分析;
  • 流程定制方便且符合标准,满足一般的缺陷跟踪。
  • 系统主要功能

  • 多项目管理
  • 问题录入,问题查询和关键词检索
  • 问题更新,问题讨论及问题关联关系
  • 统计分析、 表功能
  • 用户权限管理
  • 角色权限

  • 查看人员 (只能看能做任何动作)
  • 告人员 (新建问题、确认问题)
  • 开发人员 (分配、认可、反馈问题)
  • 项目经理 (分配、反馈、关闭问题)
  • 管理员 (你的地盘你做主,你懂得)
  • 标准流程图

  • 告人->项目经理->开发人员-> 告人
  • Mantis流程

    安装部署Mantis

    一,准备一台Centos7的系统安装后关闭防火墙和Selinux。

  • 关闭防火墙: systemctl stop firewalld
  • 开机禁用 : systemctl disable firewalld
  • 关闭selinux
  • [root@mantisbt config]# vim /etc/sysconfig/selinux
  • 修改 SELINUX=disabled
  • [root@mantisbt config]# reboot
  • 二,CentOS 添加YUM源

  • 1、备份
  • mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
  • 2、下载新的CentOS-Base.repo 到/etc/yum.repos.d/
  • curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
  • 3、之后运行yum makecache生成缓存
  • 三,安装常用的工具

  • [root@mantisbt config]# yum -y install lrzsz tree nmap
  • 四,安装LAMP环境

    1.下载安装mysql源

    [root@mantisbt ]# rpm -ivh https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm[root@mantisbt ]# yum repolist enabled | grep "mysql.*-community.*"[root@mantisbt ]# yum-y install mysql-community-server httpd [root@mantisbt ]#systemctl start mysqld[root@mantisbt ]#systemctl enable mysqld[root@mantisbt ]#cat /var/log/mysqld.log | grep password[root@mantisbt ]#mysql -uroot -p.*sJUX6M*

    进入mysql后修改登录密码

    mysql> ALTER USER USER() IDENTIFIED BY 'Pass123!';[root@mantisbt ]#systemctl start httpd[root@mantisbt ]#systemctl enable httpd

    2.安装php

    [root@mantisbt ]#rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm[root@mantisbt ]#rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm[root@mantisbt ]#yum install -y php71w-fpm php71w-opcache php71w-cli php71w-gd php71w-imap php71w-mysqlnd php71w-mbstring php71w-mcrypt php71w-pdo php71w-pecl-apcu php71w-pecl-mongodb php71w-pecl-redis php71w-pgsql php71w-xml php71w-xmlrpc php71w-devel mod_php71w php71w-ldap

    使用SecureCRT上传Mantis文件

    [root@mantisbt ]#rz

    上传

    选择上传文件后,再解压到/var/www/html路径下:

    [root@mantisbt ]#tar -xzvf mantisbt-2.20.tar.gz -C /var/www/html/[root@mantisbt ]#cd /var/www/html/[root@mantisbt html ]#mv mantisbt-2.20.0 mantisbt[root@mantisbt html ]#cd mantisbt/[root@mantisbt html ]#cp config_inc.php.sample config_inc.php

    3.登录 页http://ip/mantis 来安装设置mantis初始化应用

    五、 页提示来修改数据库连接和AD关联登录

    [root@mantisbt html ]#vim config_inc.php

    修改Database Configuration

    # --- Database Configuration ---$g_hostname = 'localhost';$g_db_username = 'root';$g_db_password = 'Pass123!';$g_database_name = 'bugtracker';$g_db_type = 'mysqli';# --- Security ---$g_crypto_master_salt = 'noreply@example.com'; # Random string of at least 16 cha添加如下内容:此段内容是同步AD信息$g_login_method = LDAP;$g_ldap_server = 'ldap://172.16.10.1,ldap://172.16.10.2';$g_ldap_root_dn = 'dc=contoso,dc=com';$g_ldap_organization = '';$g_ldap_realname_field = 'displayName';$g_ldap_uid_field = 'sAMAccountName';$g_ldap_bind_dn = 'cn=john,ou=IT,dc=contoso,dc=com';$g_ldap_bind_passwd = 'Pa55w.rd';$g_ldap_protocol_version = 3;$g_ldap_network_timeout = 5;

    登录测试

    1.输入服务器IP地址开始登录。

    mantis首页

    2.登录后的界面(使用AD域账 登录)

    AD关联登录

    综上所述

    简单介绍Mantis缺陷管理平台系统,安装、流程结构、关联AD统一登录;通过搭建好的系统我们进一步的跟踪软件的缺陷及时反馈给开发或者是项目经理,以便来提高软件的健壮性,也使得我们的开发流程变得更流程化。在此同时也希望在使用软件的 友留言交流,如果你喜欢这个软件的话你可以关注后私信我,我会将软件和安装流程分享给你们,谢谢!

    声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

    上一篇 2019年7月6日
    下一篇 2019年7月6日

    相关推荐