Plugin Mantis

Fayçal SOUGRATI

For giving the possibility to track bugs in Salomé-TMF, we developed a plugin for the open source bug-tracking tool Mantis.


Table des matières


Installation of the Mantis plugin

For installing the Mantis plugin, follow the steps:

  1. Install Mantis (www.mantisbt.org).

  2. Install the Mantis plugin (see the documentation on Salomé-TMF installation and plugins).

  3. Copy the file "view_salome_bug_page.php" (which is in the installation directory of the Mantis plugin) in the root directory of the Mantis installation.

  4. Create a distant user of the Mantis database forSalomé-TMF :

  5. Open the file "CfgMantis.properties" in the cfg/ directory of the Mantis plugin, and define the following variables:


First step: project and user creation inside Mantis

The first step for activating the Mantis plugin inside Salomé-TMF consists in creating the project and the user inside Mantis.

Those features are in the "Tools" menu, as shown in the following figure:

Image create_project


After creating the project and the user inside Mantis, a message asks the user to quit and restart Salomé-TMF for the changes to take effect.


Entering a bug

During a campaign execution, as shown in the next figure, you can add a bug with the sub-menu "Mantis" inside the menu "Add a bug" in the test execution window:

Image add_bug

Another window pops up, with pre-defined informations in the "Description" field for the bug. The user can modify those pre-defined infos:

Image add_bug_details


Next, click on the button "Send" for saving the bug in Mantis. The user is then sent to a page confirming the creation of the bug in Mantis. This is purely informative, there is no action to take at this point.
After the bug creation, a link is added as an attachment to the test execution result, as shown in the following figure:

Image show_bug

The link (in red in the figure) opens the Mantis page which corresponds to the bug.


Note: The user can also enter a bug when reading the execution result through the menu emphasized in blue in the previous screenshot.


Reading bugs linked to an execution environment

Another feature brought by the Mantis plugin is the possibility to view all bugs linked to a given execution environment. This feature can be accessed through the sub-menu "Show bugs" in the tab "Environments" in the dataset, as shown by the following screenshot:

Image show_env_bugs


Remark: As shown in the previous screenshot, the Mantis plugin enables to compute the ICAL number (Indicateur de Correction Avant Livraison, an indicator specific of France Telecom processes). Those features are detailed in the Salomé-TMF user guide.

You can look the bugs linked to the environment through Mantis:

Image mantis_env_bugs


Remark 1: As shown in green in the screenshot, the cnnected user, the project and the environment are the same that those in Salomé-TMF.


Remark 2: For more infos on Mantis, you can check the user manual here.

À propos de ce document...

Plugin Mantis

This document was generated using the LaTeX2HTML translator Version 2002-2-1 (1.71)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -split 1 -no_navigation -dir ../.././src_mantis/plugins/mantis/docs/html/en -no_footnode en/mantis.tex

The translation was initiated by on 2006-06-26


2006-06-26