Introduction
The Redmineflux Testcase Management Plugin streamlines the software testing process by providing a structured approach to test case creation, execution, and reporting. It allows users to define detailed test cases with steps and expected results, which can be organized into test suites for better management.
The plugin not only facilitates test execution but also provides graphical reports that offer clear insights into test results, making it easier to track progress and identify issues. The reporting section includes report types such as Testcase Summary, Defect Summary, Activity Summary, Tester Scorecard, Requirement Coverage, Overdue Run Summary, Slow Tests and Most Failed Tests, and a requirement traceability matrix that links test cases with project requirements. Additionally, the plugin supports test runs across several environments, enabling teams to monitor their progress effectively and ensure comprehensive test coverage. Every test case in a run has its own assignee for each environment, so the work of a run can be shared between testers and handed over at any time.
Beyond manual testing, the plugin offers optional Milestones built on Redmine versions (with a summary report and a burndown), an Automation Dashboard and CI endpoints for automated test results, Exploratory Sessions, Run Comparisons, and Quality HQ, a cross-project QA dashboard in Redmine’s top menu.
Version Compatibility
Redmine Versions:
- 7.0.x
- 6.0.x, 6.1.x
- 5.0.x, 5.1.x (legacy line — security fixes only)
Each Redmine line has its own build of the plugin. Download the build that matches your Redmine version.
Databases: any database supported by Redmine – PostgreSQL, MySQL or SQLite.
Languages: English, German, Spanish, French, Japanese, Dutch, Polish, Portuguese, Portuguese (Brazil), Russian, Vietnamese and Chinese. The language follows each user’s Redmine language setting.
Editor Compatibility
Test case descriptions, notes and comments use the text formatting that is configured in your Redmine. Requirement pages use the plugin’s own block editor, which is loaded from a public CDN, so the browser needs internet access to edit them.
Installation
To install the Testcase Management Redmine Plugin, follow these steps:
- Make sure you have a working installation of Redmine. The plugin’s dependencies need Ruby 3.2 or later.
- Unzip the archive and upload the
redmineflux_testcase_managementfolder toRedmine/pluginsand do not change the folder name. - Run the following command from the Redmine root to install the required dependencies:
bundle install - Run the database migration.
Production:RAILS_ENV=production bundle exec rails redmine:plugins:migrate
Development:RAILS_ENV=development bundle exec rails redmine:plugins:migrate - Redis is required to handle background jobs for the plugin. It must be reachable from Redmine and from Sidekiq (Sidekiq uses the
REDIS_URLenvironment variable, otherwiseredis://localhost:6379). Follow these steps to install and start Redis:
On Ubuntu/Debian:
sudo apt update
sudo apt install redis-server
sudo service redis-server start
On macOS (using Homebrew):brew install redis
brew services start redis
On Windows (Recommended: WSL2 or Docker Desktop):Note: Sidekiq is not officially supported on native Windows because it relies on Unix-based process features. We recommend running Redis and Sidekiq using WSL2 (Windows Subsystem for Linux) or Docker Desktop.
Using WSL2:
- Enable WSL2 and install Ubuntu from the Microsoft Store.
- Open the Ubuntu terminal and run:
sudo apt update
sudo apt install redis-server
sudo service redis-server start - Verify Redis is running:
redis-cli ping
Expected output:PONG
Using Docker Desktop:
docker run -d --name redis -p 6379:6379 redis - Optional: Install Node.js and Puppeteer for PDF report attachments. E-mailed reports are attached as PDF only when a headless Chromium browser is available through Puppeteer; without it they are attached as HTML. Downloading a report as PDF from the report page works without this step. On the machine where Sidekiq runs:
-
- Ensure Node.js is installed (if not, install it from the Node.js Official Website).
- From the Redmine root, install Puppeteer:
npm install puppeteer@^22.8.2 - Install the necessary browser for Puppeteer:
npx puppeteer browsers install chrome - If
npxis not on Sidekiq’s path, start Sidekiq withPUPPETEER_EXECUTABLE_PATHset to the browser path thatnpx puppeteer executablePathprints. SetGROVER_NO_SANDBOX=trueonly when Chromium must run without its sandbox (for example as root inside a container).
-
- Start Sidekiq for Background Jobs. Sidekiq sends report e-mails, scheduled reports and due/overdue run reminders, and refreshes Quality HQ. Start it from the Redmine root:
bundle exec sidekiq -e productionWindows Users: Run this command from your WSL2 terminal or Linux-based Docker container, not from the native Windows Command Prompt or PowerShell.
- Start the Rails server:
rails s - Optional (Milestones): to record the daily milestone burndown snapshot even when nobody opens the Burndown page, run this once a day, for example from cron:
bundle exec rake redmine:testcase:milestone_snapshots RAILS_ENV=production
Note:
If you encounter any UI-related issues after installing the plugin, such as missing styles or JavaScript functionality (for example, CSS or JavaScript files not loading properly), run the following command and then restart your Redmine server:
RAILS_ENV=production bundle exec rake assets:precompile
This command regenerates the plugin assets and helps ensure that all CSS and JavaScript files are loaded correctly.
Configuration
To configure the Redmine Plugin for Testcase Management, follow these steps:
- Log in to your Redmine instance using administrative credentials.
- Navigate to the Administration tab from the top menu.
- Click on Plugins, locate the Redmineflux Testcase Management Plugin, and click on the Configure link. The page opens on the Configuration tab.
- In the configuration settings, select the appropriate trackers and options:
- Select Tracker As Testcase – Every issue on this tracker is a test case. Required: test cases cannot be created until it is set.
- Select Tracker As Defect – The tracker of the defects reported from Failed or Blocked results.
- Select Tracker As Feature – Optional. Issues on this tracker can also be linked to requirements.
- Optionally, enable Show Testcase Count In Test Suites to show the number of test cases next to each test suite.
- Optionally, enable Hide Testcase Execution section on issue details page. When enabled, the Testcase Execution section is no longer shown on a test case’s issue page; results can still be recorded from the run.
- Optionally, enable Enable Milestones to group runs under Redmine versions (off by default).
- Slow-test threshold (in milliseconds, default 5000) and Flaky-test minimum runs (default 4) are used by the Slow Tests report and the Quality HQ panels.
- Important: Once test cases and defect records are created with the selected trackers, the tracker settings cannot be changed. Use trackers created for this purpose, because an issue on the testcase tracker can never be moved to another tracker.
- Click the Apply button to apply the changes. Saving also creates the Automation Key issue custom field (used to match CI results to test cases) and schedules the reminder job.
Additionally, you can set the Email Reminder Frequency for Due Runs (Every day at a time, or Every week on a weekday at a time, in the server’s time zone), which determines how often due-run and overdue-run reminder emails are sent to run assignees.
The plugin configuration also provides four additional tabs:
- Run Email Templates – Customize email templates for run-related notifications.
- Testcase Email Templates – Configure email templates for testcase-related notifications.
- Testcase Run Types – Manage the run types offered on the run form.
- Requirement Templates – Manage the templates offered when creating a requirement.
These settings help streamline communication and ensure efficient test management.

Roles & Permissions
The Redmine Testcase Management Plugin enables administrators to define roles and assign specific permissions to manage user access effectively. The permissions are configured in Administration → Roles and permissions, in the Redmineflux Testcase Management section, and apply in projects where the Redmineflux Testcase Management module is enabled. Administrators hold all of them.
Test Case Access
- View testcase – Shows the TestCases tab in the project menu and allows users to view test suites and test cases.
Test Suite Management
- Create test suite – Allows users to create test suites and sub test suites.
- Edit test suite – Allows users to edit test suites.
- Delete test suite – Allows users to delete test suites.
Test Run Management
- Create run – Allows users to create test runs.
- Edit run – Allows users to edit test runs (name, status, dates, environments and test cases) and to reassign test cases inside a run.
- Delete run – Allows users to delete test runs.
- Close run – Allows users to close test runs.
Test Execution
- Execute testcase – Allows users to execute test cases and add results (one at a time or in bulk). Creating defects also needs Redmine’s Add issues permission.
Reporting
- Create report – Allows users to generate reports based on activities, test cases, and test runs.
- Edit report – Allows users to edit reports.
- Delete report – Allows users to delete reports.
- View report – Allows users to view reports, the Automation Dashboard and Run Comparisons, and to open Quality HQ.
To-Do Management
- View all to-dos – Allows users to view all to-dos beyond their own.
Requirement Management
- Add requirement – Allows users to add requirements in the requirement section.
- Edit requirement – Allows users to edit requirements in the requirement section.
- Delete requirement – Allows users to delete requirements in the requirement section.
Environment Management
- Manage environment – Allows users to create, edit and delete environments.
Milestones
- View milestones – Allows users to open the Milestones pages, the Summary report and the Burndown (only when Milestones are enabled).
- Manage milestones – Allows users to link runs and sessions to a milestone and to close or reopen a milestone. Creating the version itself also needs Redmine’s Manage versions permission.
Exploratory Sessions
- Create session – Allows users to start exploratory sessions.
- Edit session – Allows users to edit sessions and add notes.
- Close session – Allows users to close sessions with an outcome.
- Delete session – Allows users to delete sessions.
By assigning these permissions to different roles, you can ensure that users only have access to the functionalities they need to perform their jobs effectively. Test cases and defects are Redmine issues, so roles also need Redmine’s View issues on the testcase tracker, Add issues to write test cases or report defects, and Import issues to import test cases. Run types, requirement templates, email templates and the plugin configuration are managed by administrators only.

How to
How to Enable Email Notifications for Test Runs and Test Execution in the Testcase Management Plugin
To enable email notifications for adding a run, updating a run, and test execution, follow these steps:
- Log in with administrative credentials.
- Navigate to the Administration section.
- Click on the Settings tab.
- Go to the Email Notifications tab.
- Locate the section titled “Select actions for which email notifications should be sent.”
- Check the boxes for:
- Run added – Sends an email when a new test run is created.
- Run updated – Sends an email when a test run is modified.
- Testcase result added – Sends an email when a test case result is recorded. It is listed under Run updated; while Run updated is checked, result emails are sent as well.
- Click Save to apply the changes.
By following these steps, users will receive email notifications for test run additions, updates, and test case executions. The emails go to the run’s assignees, watchers and creator (and, for results, to the test case’s author and assignee), except the person who made the change. Due-run and overdue-run reminders are set separately with Email Reminder Frequency for Due Runs in the plugin configuration. When test cases are reassigned inside a run (from the run page or through the API), the new assignee also receives an email that lists the test cases and links to the run; it follows the Run updated setting. A run that is changed through the API sends the same Run updated email as one changed on the screen.

How to Enable and View the Testcase Plugin in a Project
To enable the Testcase Management Plugin for a project, follow these steps:
- Navigate to the Projects tab and select the project where you want to enable the plugin.
- Click on the Settings tab in the project menu.
- Go to the Modules section.
- Check the box for Redmineflux Testcase Management to enable the module.
- Click Save to apply the changes.
- On the Issue tracking tab, enable the testcase tracker (and the defect and feature trackers, if used) for the project, and click Save.
Once the plugin is enabled, users with the View testcase permission can access it by navigating to the TestCases tab in the project menu. The sidebar icons (hover over an icon to see its name) open Overview, Activity, To Do, Environment, Test Cases, Runs & Results, Milestones (when enabled), Reports, Automation Dashboard, Run Comparisons, Sessions, Requirement, Traceability Matrix and Help & Documentation.

How to Create an Environment
To add an environment in the Testcase Management Plugin for Redmine, follow these steps:
- Navigate to the Environment tab from the sidebar.
- Click on the Add Environment button (requires the Manage environment permission).
- A form will appear—enter the required details: the Environment Name (unique within the project) and one or more Select Components options: Hardware, Software or Configuration.
- Once all fields are filled, click the Create button to add the environment.
The created environments can be used later during run creation. Every run needs at least one environment.

How to Edit and Delete an Environment
To edit an environment:
- Go to the Environment tab from the sidebar.
- Click on the pencil (edit) icon next to the environment you want to modify.
- Update the necessary fields in the form.
- Click the Update button to save the changes.
To delete an environment:
- Click on the delete icon next to the environment you want to remove.
- A confirmation popup will appear—click the Delete button to confirm.
- The environment will be successfully deleted.
By following these steps, you can effectively manage environments in the Testcase Management Plugin. Editing or deleting an environment needs the Manage environment permission.

How to Add a Test Suite
To add a Test Suite in the Testcase Management Plugin, follow these steps:
- Navigate to the Test Cases tab from the sidebar within the desired project.
- The test suite tree is shown on the left of the test case list.
- At the top of the tree, click on Add Test Suite to create a new test suite. The New Test Suite window opens.
- Enter the Name (required, up to 100 characters, unique within the project) and optionally a Description.
- Click the Create button to add the test suite.
Once the test suite is created, you can start adding test cases to it.

How to Add a Sub-Test Suite
To create a sub-test suite within an existing Test Suite, follow these steps:
- Navigate to the Test Cases tab from the sidebar.
- The test suite tree on the left displays all the test suites you have created.
- Locate the test suite where you want to add a sub-test suite.
- Click on the action icon (hamburger icon) next to the test suite’s name.
- From the menu that appears, select Add Sub Test Suite.
- A pop-up form will appear—enter the Name and Description of the sub-test suite.
- Click the Create button to finalize the addition of the sub-test suite.
This will create a hierarchical structure within the test suite, allowing better organization of test cases.

How to Edit a Test Suite
To edit an existing Test Suite, follow these steps:
- Navigate to the Test Cases tab from the sidebar.
- Locate the test suite you want to edit in the test suite tree. Click on the action icon (hamburger icon) associated with it.
- From the menu, select Edit Folder. The Edit Testsuite window opens.
- Modify the name or description as needed.
- Click Update to apply the changes.
How to Delete a Test Suite
To delete an existing Test Suite, follow these steps:
- Navigate to the Test Cases tab from the sidebar.
- Locate the test suite you want to delete in the test suite tree. Click on the action icon (hamburger icon) associated with it.
- From the menu, select Delete Test Suite.
- A confirmation dialog box will appear showing the number of related test cases—click Delete to confirm.
Note: Deleting a test suite is an irreversible action, so ensure that you want to proceed before confirming. Its sub-suites are deleted with it; the test cases themselves are kept and become unassigned (not in any suite). A test suite that is part of a run, or has a sub-suite that is part of a run, cannot be deleted.
By following these steps, you can efficiently create, manage, and organize test suites in the Testcase Management Plugin.
How to Create a Test Case
To add a Test Case in the Testcase Management Plugin, follow these steps:
- Navigate to the Test Cases tab from the sidebar. To create the test case inside a test suite, select that suite in the tree first.
- Click on the New Test Case button (shown to users with Redmine’s Add issues permission once the testcase tracker is configured and enabled in the project).
- The Add Testcase form opens with the tracker set to the testcase tracker—enter the required details, including:
- Subject
- Description
- Assignee
- Watchers
- Category
- Start Date
- Due Date
- Priority
- Optionally, you can provide additional details such as Estimated time, custom fields and files.
- To define the execution process, click on the New Step button. This will allow you to add individual test steps, where you can enter the Step and the Expected result for each step. Steps can be reordered by dragging and removed with their delete icon.
- Select one or more requirements in the Requirements field to link the test case to them.
- Once all required fields are filled, click the Create button (or Create and add another) to add the test case.
If you create a test case within a Test Suite, it is placed in that Test Suite. A test case belongs to at most one test suite at a time, and it can later be moved or copied to another suite. A test case created with no suite selected is unassigned, and it must be placed in a suite before it can be added to a run.

How to Import Test Cases in the Testcase Management Plugin
To import test cases into the Testcase Management Plugin, follow these steps:
- Navigate to the Test Cases tab from the sidebar.
- Click on the Action Menu Icon and select the Import Testcases option (requires Redmine’s Import issues permission).
- A form will appear—upload the CSV file containing test case data.
- Fill in the import settings, including:
- Field Separator (comma or semicolon)
- Encoding (UTF-8, ISO-8859-1 or Windows-1252)
- Date Format (e.g., DD/MM/YYYY, MM/DD/YYYY)
- Choose the Test Suite under Import to where you want to import the test cases, then click Next.
- In the Map Columns & Row Layout section, match the columns from your CSV file with the corresponding Testcase fields (including steps and expected results), then click Next. You can tick Ignore records without a subject.
- In the Map Values section, map CSV column data to Redmine issue statuses:
- Example: If your CSV contains “Pending” status and Redmine uses “In Progress,” you can map them.
- Similarly, map Priority and select the Remove HTML tags from CSV values option for the subject field if necessary.
- Click Next to proceed.
You will now see the Preview Import Summary, which displays:
- Test cases that can be created without warnings.
- Test cases that can be created with warnings.
- Test cases that cannot be created due to errors.
9. Click the Import button—only test cases without errors will be imported. Keep the import page open until the import has finished.
By following these steps, you can easily import test cases into the Redmineflux Testcase Management Plugin. The list of test cases can also be exported with the CSV link at the bottom of the list, where you choose the columns to export.

How to Edit a Test Case
To edit a Test Case, follow these steps:
- Navigate to the Test Case Detail Page for the test case you want to edit.
- Click Edit.
- The form will open with pre-filled details—modify the necessary fields, such as steps, expected results, requirements or other relevant details.
- Click Submit to update the test case with the changes.

How to Delete a Test Case
To delete a Test Case, follow these steps:
- Go to the Test Case Detail Page of the test case you want to delete, or select it in the tabular list of test cases and right-click it.
- In the actions menu (or the right-click menu), select Delete issue. This needs Redmine’s Delete issues permission.
- A confirmation prompt will appear—confirm the deletion.
Once deleted, the test case and its steps are removed permanently, from its Test Suite and from every run it was part of.
By following these steps, you can efficiently create, edit, and manage test cases within the Testcase Management Plugin.

How to Add a Test Case to a Test Suite Using Drag and Drop
To add a Test Case to a Test Suite using drag and drop, follow these steps:
- Navigate to the Testcase Plugin within the specific project.
- Go to the Test Cases tab from the sidebar.
- The test suite tree is shown on the left of the list.
- Locate the Test Cases you want to add to a Test Suite (in a suite, or in the list of unassigned test cases shown when no suite is selected).
- Select multiple test cases by checking the checkboxes next to them.
- Click and hold the test case with your mouse cursor, then begin dragging it towards the target Test Suite.
- As you drag the test case, move it over the test suite tree, where the list of available test suites is displayed.
- Carefully position the test case over the desired test suite.
- Release the mouse button to drop the test case into the target test suite.
- A popup will appear with three options:
- Copy here – Creates a copy of the test case (a new issue with a new ID, the same fields, steps, attachments, watchers and requirement links) in the test suite. The copy’s status starts at the tracker’s default status.
- Move here – Transfers the test case into the test suite, removing it from its original location. A test case that is part of any run cannot be moved.
- Cancel – Aborts the action without making any changes.
- Select the appropriate action to finalize the process.
Once completed, the test case will now be part of the selected Test Suite. By following these steps, you can efficiently organize test cases using the drag-and-drop functionality.
How to Remove Test Cases from a Test Suite
To remove Test Cases from a Test Suite in the Testcase Management Plugin, follow these steps:
- Navigate to the Testcase Plugin within the specific project.
- Go to the Test Cases tab from the sidebar.
- Click on the Test Suite from which you want to remove test cases.
- Select multiple test cases by checking the checkboxes next to them.
- Right-click on any selected checkbox to open the context menu.
- In the context menu, click on Remove Testcase (one test case) or Remove All Testcase (several), and confirm with Remove.
- If any selected test case is part of a Test Run, an error message will be displayed: “Test suite is already added to a run. Cannot remove”
- Otherwise, the selected test cases will be successfully removed. They are not deleted; they become unassigned.
By following these steps, you can easily remove test cases from a Test Suite in the Testcase Management Plugin.

How to Add a Requirement to Multiple Test Cases at Once
To relate a Requirement to multiple Test Cases in the Testcase Management Plugin, follow these steps:
- Navigate to the project where you want to link the requirement.
- Go to the TestCases tab in the project menu to access the Testcase Plugin.
- From the sidebar, navigate to Test Cases.
- Select multiple test cases by checking the checkboxes next to them.
- Right-click on any selected test case to open the context menu.
- In the context menu, scroll to the bottom and find the Requirements option.
- Click on the Requirements option and select the requirement you want to link.
Alternative Method: Using Bulk Edit
- Select multiple test cases using checkboxes.
- Click on the Bulk Edit option.
- In the bulk edit form, locate the Requirements field.
- Select the requirement you want to associate with the selected test cases.
- Click Submit to apply changes.
By following these steps, you can efficiently add a requirement to multiple test cases at once using either the context menu or the bulk edit feature.

How to Create a Test Run in the Testcase Plugin
To create a Test Run in the Testcase Management Plugin, follow these steps:
- Access the Testcase Plugin within the specific project.
- Navigate to the Runs & Results tab from the sidebar.
- Click on the Add Run button to start creating a new test run (requires the Create run permission).
- A pop-up window will appear with multiple fields. Fill in the required details:
- Name – Enter a descriptive name for the test run (unique within the project).
- Note (Optional) – Provide additional context or instructions.
- TestRun Status – Set the initial status: New, In progress, Done, Rejected or Under review. Saving a run as Done or Rejected closes it immediately.
- Run Type – Choose one of the enabled run types.
- Start Date & Due Date – Define the testing period for the run.
- Milestone – Optional, shown when Milestones are enabled.
- Select Environment and Assignee – Choose an environment for testing and assign a tester (a project member). Multiple environments can be added using the Add button; each environment can be used once per run. Every test case of the run starts with the assignee of its environment; this can be changed later for single test cases or in bulk (see How to Reassign Test Cases Inside a Run).
- Select Test Cases – Choose which test cases to include in the run:
- Include all test run – Adds every test case that belongs to a test suite of the project.
- Only the following test runs – Opens Select Cases, where you pick test suites or individual test cases.
- Select Watchers – Add watchers to monitor the test run’s progress.
- Once all required information is provided, click the Create button to finalize the test run.
The newly created Test Run will appear in tabular form within the Runs & Results section, on the Active tab. Every test case starts as Untested in every environment. From here, you can view its details and execute test cases.
By following these steps, you can efficiently create and manage test runs in the Testcase Management Plugin.

How to Edit a Test Run in the Testcase Plugin
To edit a Test Run in the Testcase Management Plugin, follow these steps:
- Access the Testcase Plugin within the specific project.
- Navigate to the Runs & Results tab from the sidebar. This section displays all test runs and their outcomes.
- Locate the Test Run you want to edit on the Active tab and click on its Action Button. A toggle menu will appear with multiple options—select Edit Run to begin editing.
- A pop-up window will appear, allowing you to modify the following details:
- Name – Update the test run’s name.
- Note – Modify or add additional context.
- TestRun Status – Update the status to New, In progress, Done, Rejected or Under review.
- Run Type and Milestone – Change the classification of the run.
- Start Date & Due Date – Adjust the testing period for the run.
- Environments – Add or remove environments using the Add button, or rename one. The assignee shown next to each environment is read-only here; change assignees with Reassign on the run page. Removing an environment deletes the results recorded for it in this run. An environment that is added later starts Unassigned.
- Select Test Cases – Change the test cases included in the run. You have two options:
- Include all test run – Adds all available test cases.
- Only the following test runs – Manually pick individual test cases.
- Select Watchers – Add watchers to monitor the test run’s progress.
- After making the necessary changes, click the Update button to save the modifications.
Once updated, the Test Run will reflect the changes in the Runs & Results section. A closed run cannot be edited.
By following these steps, you can efficiently update and manage test runs in the Testcase Management Plugin. Editing a run never changes who a test case is assigned to.

How to Reassign Test Cases Inside a Run
Every test case in a run has its own assignee for each environment. This is separate from the assignee of the test case issue itself. Reassigning needs the Edit run permission, and it never changes results or history.
To reassign one test case:
- Open the run from Runs & Results and select the environment tab.
- Click the assignee name in the row of the test case.
- Choose the new assignee in the small window that opens and confirm.

To reassign several test cases:
- Check the test cases in the table.
- Click Reassign in the bar that appears above the table.
- Choose the new assignee and the scope: Only this environment or All environments.
- Confirm. The new assignee receives an email that lists the test cases.

Use the Assignee filter, or the My test cases button next to the status buttons, to see only the test cases that are assigned to you in the open environment. An environment with no assignee shows Unassigned, and no reminder email is sent for it.
How to Delete a Test Run in the Testcase Plugin
To delete a Test Run in the Testcase Management Plugin, follow these steps:
- Access the Testcase Plugin for the specific project.
- Navigate to the Runs & Results tab from the sidebar. This section lists all test runs and their outcomes.
- Locate the Test Run you want to delete and click on its Action Button. A toggle menu will appear with multiple options—select Delete Run to begin the deletion process.
- A confirmation prompt will appear to prevent accidental deletions. Review the prompt to ensure you are deleting the correct test run.
- Click the Delete button to confirm. This action will permanently remove the test run and its results from the Testcase Management Plugin. The test cases and defects themselves are kept.
To delete several runs at once, check two or more runs on the same tab, right-click the table and select Bulk Delete Runs.
By following these steps, you can efficiently delete a Test Run from the Testcase Management Plugin.

How to Close a Test Run in the Testcase Plugin
To close a Test Run in the Testcase Management Plugin, follow these steps:
- Access the Testcase Plugin for the specific project.
- Navigate to the Runs & Results tab from the sidebar. This section lists all test runs and their outcomes.
- Locate the Test Run you want to close and click on its Action Button. A toggle menu will appear with multiple options—select Close Run to initiate the closing process.
- A confirmation prompt appears. If some test cases are not marked Passed, it tells you how many; you can still close the run. Confirm to close it.
- Once the run is successfully closed, it will no longer appear in the active runs list. To view closed runs, navigate to the Closed tab within the Runs & Results page.
By following these steps, you can efficiently close a Test Run in the Testcase Management Plugin and track completed test executions. A closed run is read-only and cannot be reopened; it can only be deleted.
How to Execute Test Cases Within a Test Run
To execute a Test Run in the Testcase Management Plugin, follow these steps:
- Access the Testcase Plugin for your specific project by navigating to the Runs & Results tab from the sidebar.
- Click on the Run Name you want to execute. This will display the test cases associated with the run, grouped by test suite.
- Select the Environment in which you want to execute the test case. You can change the environment by selecting it from the options available near the run name.
- To add a result for a specific test case, click on the Result field next to it (requires the Execute testcase permission).
- The Add Result window will appear, prompting you to select the status of the test case. Available statuses include:
- Untested (set automatically when the run is created; it cannot be chosen)
- Passed
- Failed
- Retest
- Blocked
- Skipped
- If the test case status is set to Failed or Blocked, at least one defect is required, and a Report Defect link appears. Clicking it opens the defect form, which creates a new issue on the defect tracker linked to the test case, the test run and the environment.
- You can also relate an existing defect by searching for it in the Defects field by its issue number. Once selected, the defect will be linked to the test case within the specific run and environment.
- Optionally, you can:
- Attach files as evidence or for documentation purposes.
- Add a note to provide additional details about the test execution.
- Click the Submit button to save the result. This action records the result and ensures proper tracking of all test executions; earlier results are kept in the history.


Once saved, the Results Summary at the top of the run page is updated: it shows the total number of test cases, the count and percentage per status, a color-coded chart and the run details for the selected environment. Click Export JPG Report to download it as an image. The status buttons in the summary filter the table below it.


To record the same result for several test cases at once, check them in the table and click Bulk Update Result (Passed, Retest or Skipped only, since Failed and Blocked need a defect for each test case).

By following these steps, you can efficiently execute test cases within a Test Run in the Testcase Management Plugin, ensuring accurate tracking and reporting of test results.
How to Execute Test Cases from the Test Case Detail Page
To execute a Test Case from the Test Case Detail Page in the Testcase Management Plugin, follow these steps:
- Search for the Test Case and open its Detail Page.
- Locate the Testcase Execution section (shown when the test case is part of a run, unless an administrator has hidden it in the plugin configuration).
- Select the Run and its corresponding Environment in which you want to execute the test case.
- Click on the Status Button next to the Result field.
- The remaining steps are the same as executing from the test run:
- Select the Run and Environment where you want to execute the test case.
- Click on the Result field and choose the execution status.
- If Failed or Blocked, use the Report Defect option or link an existing defect.
- Attach files or add notes if needed.
- Click Submit to update the execution status.
Every recorded result is listed on the test case’s Results & Comments tab.
By following these steps, you can efficiently execute test cases from a Test Case Detail Page in the Testcase Management Plugin.

How to Filter Test Cases Based on Defects in the Testcase Plugin
To filter Test Cases in a Test Run based on whether they have defects or not, follow these steps:
- Access the Testcase Plugin for your specific project by navigating to the Runs & Results tab from the sidebar.
- Click on the Run Name you want to view. This will display all test cases associated with the run.
- Open Filters above the table and use Add filter to choose a filter.
- Look for the Test case filter and choose one of the following options:
- With Defects – Displays only test cases that are linked to defects.
- Without Defects – Displays only test cases that have no associated defects.
- You can combine this filter with other options such as Subject, Priority, Run result, Created at, or Updated at for more refined results.
- Click the Apply button to filter the test cases accordingly.
- To reset the filters and view all test cases, click the Clear button.
By following these steps, you can easily filter test cases in a Test Run based on whether they are linked to defects or not in the Testcase Management Plugin.

How to View All Executed Test Cases in the Testcase Plugin
To see all executed test cases in the Testcase Management Plugin, follow these steps:
- Access the Testcase Plugin for the desired project.
- Navigate to the Overview tab from the sidebar.
- Here, you will see a graph displaying executed test cases based on the selected date range.
- The graph provides insights into test case execution on specific dates, showing how many test cases were Passed, Failed, Retested, Blocked, or Skipped on each day.
- There is also a selector that switches the graph between:
- Activity – Test case execution activity.
- Defects – Defects linked to test cases.
- Result – Execution status (e.g., Passed, Failed, Skipped).
- Apply the desired options to analyze specific test execution data. Reset clears them, and Copy to Clipboard copies the chart as an image.
By following these steps, you can efficiently track, filter, and analyze all executed test cases within the Testcase Management Plugin.

How to View the Latest Executed Runs in the Testcase Plugin
To review the latest executed runs within the Testcase Management Plugin, follow these steps:
- Access the Testcase Plugin for the desired project.
- From the left sidebar, click on Overview.
- Scroll down to locate the Execution Details section, which is displayed below the graph.
- Here, you will find a list of the latest executed test runs, including their execution status and results. The Test Runs section next to it shows the newest runs, and, when Milestones are enabled and sessions exist, the Milestones and Sessions cards appear as well.
By following these steps, you can easily track and analyze the most recent Test Runs within the Testcase Management Plugin.

How to View Activity in the Testcase Plugin
To track user activities within the Testcase Management Plugin, follow these steps:
- Access the Testcase Plugin for the desired project.
- From the left sidebar, click on Activity.
- The activity feed lists every create, update, execution and close affecting runs, test suites and test cases, grouped by day with the newest first.
- Each entry names who performed the action and links to the item.
By following these steps, you can efficiently track who performed which actions and when they were executed within the Testcase Management Plugin.

How to View Recent To-Do’s in the Testcase Plugin
To review To-Do’s within the Testcase Management Plugin, follow these steps:
- Access the Testcase Plugin for the desired project.
- From the left sidebar, click on Overview.
- Locate the To Do section on the Overview page, which lists open run assignments.
- By default, only a few To-Do’s will be displayed.
- To view all To-Do’s, click on the “View All” link.
By following these steps, you can efficiently track and manage To-Do’s within the Testcase Management Plugin.

How to View To-Do’s in the Testcase Plugin
To access To-Do’s within the Testcase Management Plugin, follow these steps:
- Navigate to the project where you want to view To-Do’s.
- Click on the TestCases tab in the project menu.
- From the sidebar, go to the To Do tab.
- If the user is an admin or has the View all to-dos permission, they can view all To-Do’s for members of the current project.
- Other users see the page titled My ToDo, with only their own To-Do’s.
- Each row shows a run and environment with its state, the number of test cases and a progress bar of the recorded results. Use the search box to find a run by name or ID. An environment without an assignee is listed as Unassigned.
- Users can also open the test runs they are associated with from this list.
By following these steps, you can efficiently track and manage To-Do’s in the Testcase Management Plugin.

How to Create Reports in the Testcase Plugin
To create a Report in the Testcase Management Plugin, follow these steps:
- Access the Testcase Plugin for the specific project.
- Navigate to the Reports tab from the sidebar.
- Click on the New report button to initiate the report creation process (requires the Create report permission).
- A form will appear, prompting you to enter general details such as:
- Name – Provide a meaningful name for the report.
- Description – Enter a brief description of the report.
- Run Selection – Under Advanced Options, choose Include all test run or Only the following test runs.
- Report Scheduling – Choose to send the report immediately (Right now) or select Schedule this report to repeat it every day, every week or every month at a chosen time.
- Email Notifications – Enter the email addresses (one per line) that should receive the report, tick Notify me by email to include yourself, and choose whether the report is attached as PDF or HTML.
- Select the Report type under Select type – Based on the chosen report type, additional form fields will appear. The available report types include:
- Testcase Summary – Displays the current status of test cases (Passed, Failed, Skipped, Retest, Blocked) for the selected test runs.
- Defect Summary – Lists defects associated with each test case in the selected runs, providing insights into failure reasons.
- Activity Summary – Summarizes test case execution based on the selected Activity Date Range and test runs, showing recent activities.
- Tester Scorecard – Evaluates tester performance by tracking the number of test cases executed by each QA and calculating their efficiency.
- Requirement Coverage – Shows the coverage and results of the test cases of one requirement (chosen in Select Requirement) in the selected test runs.
- Overdue Run Summary – Displays reports of test runs that are past their due date but remain incomplete.
- Slow Tests – Ranks test cases by execution duration (average, maximum and p95) and flags those above the slow-test threshold.
- Most Failed Tests – Ranks test cases by how often they failed across the selected runs; choose Failed only or Failed + Blocked under Count as failure.
- Click the Create button to generate the report.

By following these steps, you can create and customize reports in the Testcase Management Plugin, ensuring detailed insights into test execution, defects, and tester performance. Report emails and scheduled reports are sent by Sidekiq, so Redis and Sidekiq must be running. A scheduled report creates a new dated copy of the report each time it runs; pending schedules are listed under Scheduled Reports on the Reports page, where they can be cancelled.
How to View Reports in the Testcase Plugin
To view reports in the Testcase Management Plugin, follow these steps:
- Navigate to the project where you want to view reports.
- Click on the TestCases tab in the project menu to access the Testcase Plugin.
- From the sidebar, go to the Reports tab (requires the View report permission).
- Click on the name of the report you want to view.
- You can download the report in HTML, PDF and Excel formats for offline access, using Download HTML, Download PDF or Download Excel.


How to Edit a Report in the Testcase Plugin
To edit an existing report in the Testcase Management Plugin, follow these steps:
- Access the Testcase Plugin for the specific project.
- Navigate to the Reports tab from the sidebar.
- Locate the report you want to edit and click on the Edit button (requires the Edit report permission).
- A form will appear on a new page, allowing you to:
- Update the Name
- Modify the Description
- Adjust other required fields as needed
- After making the necessary changes, click the Update button to save your modifications.
How to Delete a Report in the Testcase Plugin
To delete a report in the Testcase Management Plugin, follow these steps:
- Access the Testcase Plugin for the specific project.
- Navigate to the Reports tab from the sidebar.
- Locate the report you want to delete and click on the Delete button (requires the Delete report permission).
- A confirmation prompt will appear to prevent accidental deletion.
- Review the prompt and click Delete to confirm.
Once deleted, the report will be permanently removed from the Testcase Management Plugin.
By following these steps, you can easily view, edit, and delete reports within the Testcase Management Plugin.
How to Create a Requirement Document in the Testcase Plugin
To create a Requirement document in the Testcase Management Plugin, follow these steps:
- Access the Testcase Plugin for the specific project.
- Navigate to the Requirement tab from the sidebar.
- Click on the plus (+) icon to create a new requirement (requires the Add requirement permission). A form will appear.
- Enter the title of the requirement (it must be unique within the project) and submit the form.
- A blank page will be created where you can write the requirement details.
- To link a Test Case, type
#, and as soon as you press the#key, a list of available test cases will be displayed. - Select a test case from the list. The Test Case ID and subject will be automatically linked within the requirement article.
- This creates a direct reference to the test case, making it easier to access relevant test cases from within the requirement.
- To mention a user, type
@, and as soon as you press the@key, a list of users will appear. - Select a user from the list, and their name will be tagged within the requirement.
- When creating a Requirement, you have the option to choose a template in “Select Requirement Template” during the process.
- This will fill the requirement with the content of the template, allowing you to structure and document details efficiently. Save the page to keep your changes; every save is kept in the page history.
By following these steps, you can efficiently create and manage Requirements while linking relevant Test Cases in the Testcase Management Plugin.

How to Delete the Requirement Document
To delete the Requirement Document heading:
- Open the Requirement page.
- Locate the delete icon on the right side of the page (shown to users with the Delete requirement permission).
- Click on the delete icon, and a confirmation prompt will appear.
- Confirm the deletion to permanently remove the requirement document.
By following these steps, you can easily delete a Requirement Document in the Testcase Management Plugin.
How to View the Traceability Matrix in the Testcase Management Plugin
- Navigate to the project where you want to view the Traceability Matrix.
- Click on the TestCases tab in the project menu to access the Testcase Plugin.
- From the sidebar, go to the Traceability Matrix tab.
- In the Traceability Matrix, you can view:
- The totals Total Requirement, Total Linked Testcases and Total Defects Found.
- Every requirement with the test cases linked to it and the defects associated with those test cases.
By following these steps, you can easily track test coverage and requirement validation within the Testcase Management Plugin.

How to Add Run Types in the Testcase Management Plugin
To create, edit, or delete run type options in the Testcase Management Plugin, follow these steps:
- Navigate to Administration → Plugins → Redmineflux Testcase Management Plugin → Configure.
- Click on the Testcase Run Types tab.
- You will see a list of run type options showing their Name and whether they are Enabled.
- Each run type has Edit or Delete options.
- To create a new run type, click on the New Run Type button at the top of the table.
- A form will appear—enter the required details: the Name and the Enabled checkbox (only enabled run types are offered on the run form).
- Click Create to save.
- To edit an existing run type, click the Edit button, update the details, and save.
- To delete a run type, click the Delete button next to it and confirm.

How to Create Requirement Templates in the Testcase Management Plugin
- Navigate to Administration → Plugins → Redmineflux Testcase Management Plugin → Configure.
- Click on the Requirement Templates tab.
- Click New Requirement Template, enter the Name and the Content, and click Create.
- Use the edit and delete icons in the list to change or remove a template.
Requirement templates are shared by all projects and are offered in Select Requirement Template when a requirement is created.

How to Use Milestones in the Testcase Management Plugin
A milestone ties test runs to a release. It is a normal Redmine version, so it also appears in the Roadmap. Milestones are optional and off by default.
- An administrator ticks Enable Milestones on the Configuration tab of the plugin configuration and clicks Apply.
- Grant View milestones and Manage milestones to the roles that need them.
- Create the milestone as a project version, or with + New milestone in the Milestone field of the Add Run form (creating a version also needs Redmine’s Manage versions permission).
- Choose the milestone in the Milestone field when adding or editing a run. Closed milestones are not offered.
- Open Milestones from the sidebar. The list has Open and Closed tabs, a search box and a status for each milestone: No runs, On track, At risk (due within 7 days with less than 80% executed, or a Blocked test case), Overdue (due date passed and not fully executed) or Closed.
- Click a milestone to see its results, pass rate, the runs in it, and the coverage of the test cases whose Target version is this milestone. Use Close milestone or Reopen milestone as needed.
- The Summary report tab shows manual and automation results, automation sources, exploratory sessions linked to the milestone, defects, coverage and the top failing and flaky tests, and can be printed.
- The Burndown tab shows the tests still to execute against the ideal line and forecasts the finish date from the last 7 days of execution speed (On track, At risk, Late or Not enough data; a forecast needs at least 3 days with executions).




Switching Milestones off hides all milestone pages and fields; no data is deleted.
How to Set Up CI/CD for Automated Test Results
Any pipeline (Jenkins, GitHub Actions, GitLab CI, Azure DevOps and others) can create a run for each build and record its automated results with plain curl. Nothing else has to be installed in Redmine. Do these steps once:
- Turn on the REST API. In Administration → Settings → API, tick Enable REST web service and save.

- Choose the trackers. In the plugin configuration, choose Select Tracker As Testcase and, if failed tests should create defects, Select Tracker As Defect, then click Apply. Saving also creates the Automation Key field.

- Create a user for the pipeline in Administration → Users → New user, for example
ci-bot. It does not need to be an administrator.

- Check the role’s permissions. The role of the CI user needs Create run and Execute testcase; Create test suite only if the pipeline should create missing suites; and Add issues only if failed tests should create defects.

- Add the CI user to the project in Settings → Members. This is required, because every run is assigned to the CI user.

- Copy the CI user’s API key from My account → API access key and save it as a secret in your CI tool, for example
TCM_API_KEY. Never write it into a script or a repository.

- Find the project’s number. Open
https://<your-redmine>/projects/<project-identifier>.jsonwhile logged in; the value of"id"is the number.

- Create the suite and test cases the pipeline will report on.

- Fill in the Automation Key of every automated test case with the exact name of its automated test, for example
test_login_valid. This is how a result finds its test case.

In the pipeline, three steps per build:
TCM_URL=https://redmine.example.com # your Redmine address, no slash at the end
PROJECT_ID=12 # the number from step 7
# 1. Create the run for this build (sending the same build again reuses it)
RUN_ID=$(curl -s -X POST "$TCM_URL/testcase_ci/bootstrap_run.json" \
-H "X-Redmine-API-Key: $TCM_API_KEY" -H "Content-Type: application/json" \
-d "{\"project_id\":$PROJECT_ID,\"run\":{\"name\":\"Build $BUILD_NUMBER\"},\"suites\":[\"Regression\"]}" \
| python3 -c "import sys, json; print(json.load(sys.stdin)['run']['id'])")
# 2. Run your tests so they write a JUnit XML report, then convert it
python3 junit_to_results.py report.xml > results.json
# 3. Send the results to the run
curl -s -X POST "$TCM_URL/testcase_ci/ingest_results.json" \
-H "X-Redmine-API-Key: $TCM_API_KEY" -H "Content-Type: application/json" \
-d "{\"project_id\":$PROJECT_ID,\"run_id\":$RUN_ID,\"environment\":\"CI\",\"results\":$(cat results.json)}"
suites names the test suites whose test cases go into the run; a suite that does not exist yet is created. Leave it out to put every test case of the project into the run. The answer of step 3 says how many results were matched, lists the tests that matched no test case under unmatched, and lists the defects it created.

The converter (junit_to_results.py). Almost every test framework (pytest, Maven Surefire, Jest, Cypress, Playwright, PHPUnit and others) can write a JUnit XML report. Save this script in your project; it needs only Python 3:
import json, sys, xml.etree.ElementTree as ET
results = []
for case in ET.parse(sys.argv[1]).iter('testcase'):
item = {'key': case.get('name'), 'status': 'passed'}
if case.get('time'):
item['duration_ms'] = int(float(case.get('time')) * 1000)
for tag, status in (('failure', 'failed'), ('error', 'failed'), ('skipped', 'skipped')):
found = case.find(tag)
if found is not None:
item['status'] = status
message = found.get('message') or (found.text or '').strip()
if message:
item['message'] = message[:1000]
break
results.append(item)
json.dump(results, sys.stdout)
What you see in Redmine:
- The run Build <number> under Runs & Results, with each matched test case marked Passed, Failed or Skipped, its duration, and the run assigned to the CI user.
- A defect for every failed test, linked to its result and the run (send
"auto_defect": falseto turn this off). - A test with no matching test case changes nothing; it is only listed under
unmatched. Sending the same build again reuses the run and its defects.


If something goes wrong:
- “Every run assignee must be a project member who can execute test cases” – use the CI user’s key and add that user to the project (step 5).
- All results are
unmatched– the Automation Key must equal the test name exactly (step 9), and the test cases must be on the testcase tracker (step 2). - HTTP 401 or an empty answer – the REST API is off (step 1) or the key is wrong (step 6).
- HTTP 403 – the role lacks a permission (step 4).
- A failed test gets no defect – choose a defect tracker (step 2) and give the role Add issues (step 4).
How to Use the Automation Dashboard and CI Integration
Automated test results can be sent to the plugin from a CI pipeline through the REST API (with the REST API enabled and a user’s API key):
POST /testcase_ci/bootstrap_run.jsoncreates the run the pipeline reports into. It needs the Create run and Execute testcase permissions. When Milestones are enabled, amilestonename can be passed to link the run (this also needs Manage milestones).POST /testcase_ci/ingest_results.jsonrecords a batch of results (up to 1000 per call) against an existing run. Each result has akey, astatusand optionally amessageandduration_ms. It needs the Execute testcase permission.- Each
keyis matched to a test case by its Automation Key custom field, then by issue ID, then by subject. For every failed or blocked result a defect is created or reused automatically. - Open Automation Dashboard from the sidebar (requires View report) to see the results grouped into sources, with executions, pass rate and when each source was last seen. A result is grouped by the
sourcesent with it, otherwise by the test suite of its test case, otherwise by the prefix of its Automation Key, otherwise as CI / environment; results recorded by hand are listed as Ungrouped.

The plugin does not read JUnit, TAP or Newman files itself; the pipeline sends the results as JSON. The API documentation is available at
/testcase-api-docon your Redmine server after logging in.
How to Run Exploratory Sessions
- Open Sessions from the sidebar and click Start Session (requires Create session).
- Enter a Title and a Charter (what you will explore); optionally choose a Linked Issue and, when Milestones are enabled, a Milestone.
- While testing, add notes on the session page with Add Note (requires Edit session).
- Click Close Session and choose the outcome: Passed, Failed or Inconclusive (requires Close session).
The latest sessions also appear on the Overview page, and changes are shown in Activity.


How to Compare Two Test Runs
- Open Run Comparisons from the sidebar (requires View report).
- Select a Base run and a Compare run of the same project and click Compare.
- Each test case and environment is sorted into New Failures, Newly Fixed, Still Failing, Still Passing, New Tests and No Longer Run.

How to Use Quality HQ
- Click Quality HQ in Redmine’s top menu. It is shown to users who have the View report permission in at least one project.
- The summary tiles show the projects tracked, active runs, overall pass rate, total failing tests and overdue runs across those projects.
- The project table shows active runs, results, pass rate and coverage per project, with a link to its reports.
- The Most Failed Tests, Flaky Tests and Slow Tests panels list the test cases that need attention. A test is considered for flakiness after the configured Flaky-test minimum runs, and is flagged slow when its p95 duration exceeds the Slow-test threshold.

Quality HQ figures are cached per project. When many projects need refreshing, the first ones are calculated at once and the others are refreshed by Sidekiq and shown as refreshing until then.
How to Use the REST API and the API Documentation
The plugin has its own REST API for test suites, test cases, runs, results, reports, requirements and the CI calls. Turn on Enable REST web service in Administration → Settings → API and send the user’s API key in the X-Redmine-API-Key header. The built-in Swagger page at /testcase-api-doc lists every call with its parameters and lets you try it out after you sign in.

How to Use Help & Documentation
Click Help & Documentation at the bottom of the sidebar to open the help pages of the plugin, with a guide for each feature. A guided product tour is also available there.

Troubleshooting
If you encounter any issues or problems with the Redmineflux Testcase Management plugin, you can follow these troubleshooting steps to resolve them:
- Clear your browser cache: Sometimes, browser cache can interfere with the proper functioning of plugins. Clear your browser cache and try again.
- Check plugin compatibility: Ensure that the installed build of the Testcase Management Plugin matches your Redmine version.
- Restart Redmine server: Restarting Redmine and the server can often resolve temporary issues or conflicts. Restart the Redmine application server, and then try again.
- Verify plugin installation: Double-check that the Testcase Management Plugin is correctly installed, that the testcase tracker is selected in the plugin configuration, and that the module and the trackers are enabled in your projects.
- Check Redis and Sidekiq: Report emails, scheduled reports and reminder emails need Redis and a running Sidekiq process. Saving plugin configuration pages also needs Redis. Administrators can check queued and failed jobs at
/sidekiq. - Reminder emails stopped: Save the plugin’s Configure page again after Sidekiq or Redis downtime, and after saving the configuration page of another plugin, so that the next reminder is scheduled.
- Report emails arrive with an HTML attachment: PDF rendering on the server is not available. Install Node.js, Puppeteer and Chrome as described in the installation steps and restart Sidekiq.
- Editor, charts or dropdowns do not load: Several pages load JavaScript libraries from public CDNs, so the browser needs internet access.
- Disable conflicting Plugins: Conflicts between different plugins can cause issues. Temporarily disable any other plugins that may be conflicting with the Testcase Management Plugin and see if the issue persists. If the problem resolves, try enabling the conflicting plugins one by one to identify the specific conflict.
- Report the Issue: If you are unable to resolve the issue, consider reporting it to the plugin’s developers or support team. Provide detailed information about the problem, including steps to reproduce it and any error messages encountered.
Frequently Asked Questions (FAQs)
Q1. What is the Redmineflux Testcase Management Plugin?
The Redmineflux Testcase Management Plugin is a powerful plugin designed for software development and QA teams to streamline their testing processes. It allows for the creation, organization, execution of test cases and suites, and provides graphical representations of test results for clear insights into test outcomes.
Q2. How do I enable the Testcase Management Plugin for Redmine in a project?
Log in with administrative credentials, navigate to the Administration tab, click on Plugins, find the Redmineflux Testcase Management Plugin, and configure it (at least Select Tracker As Testcase). Then, go to the project settings, enable the Redmineflux Testcase Management module and the testcase tracker, and save the changes.
Q3. Can I add subfolders to test suites?
Yes, you can add sub test suites to organize your test suites better. This is done through the Test Cases tab by selecting the “Add Sub Test Suite” option in the test suite’s action menu.
Q4. What should I do if I encounter issues with the plugin?
If you encounter issues, try clearing your browser cache, ensuring plugin compatibility, restarting the Redmine server, verifying the plugin installation, checking that Redis and Sidekiq are running, disabling conflicting plugins, and, if necessary, reporting the issue to the plugin’s developers or support team.
Q5. Can I log time for individual test cases?
Yes, you can log time for individual test cases from the Testcase Detail View page by using the “Log time” option, providing date, time, activity, run, environment, and optionally a comment, then saving the entry.
Q6. What Redmine versions are compatible with the Testcase Management Plugin?
The plugin is available for Redmine 7.0.x and 6.0.x / 6.1.x, and for 5.0.x / 5.1.x as a legacy line that receives security fixes only. Each Redmine line has its own build.
Q7. Is Sidekiq required?
Redis is required. A running Sidekiq process is needed to send report emails, scheduled reports and reminder emails, and to refresh Quality HQ for many projects. Test design, test execution, and viewing or downloading reports work without Sidekiq. Run added, Run updated and Testcase result added emails are sent by Redmine itself.
Q8. Why can’t I change the tracker of a test case or the trackers in the plugin configuration?
An issue on the testcase tracker can never be moved to another tracker, and the tracker settings lock as soon as issues exist on the selected trackers. The plugin finds test cases and defects by their tracker, so changing it later would hide existing data.
Q9. Can a closed run be reopened?
No. A closed run keeps all its results and stays on the Closed tab, but it cannot be edited or reopened. Create a new run with the same test cases if more testing is needed.
Q10. Can a pipeline send automated test results?
Yes. Any CI tool can create a run and send results with plain curl. Follow How to Set Up CI/CD for Automated Test Results; a short converter turns a JUnit XML report into the results the plugin expects.
Q11. Can different testers own different test cases of the same run?
Yes. Every test case has its own assignee in each environment. Change it for one test case by clicking the name, or for many with Reassign, and use My test cases to see your own.
Q12. Which databases are supported?
Any database supported by Redmine: PostgreSQL, MySQL and SQLite.
Uninstallation of Plugin
To uninstall the Redmineflux Testcase Management Plugin, follow these steps:
- Make a DB backup before you start.
- In
/sidekiq(Scheduled tab), delete this plugin’s queued jobs (ReminderWorker, ReportCreationWorker, ReportSchedulerWorker, SendReportWorker and QualityHqRollupWorker), then stop Sidekiq. - Delete the entire
redmineflux_testcase_managementplugin directory from theRedmine/pluginsdirectory. This step removes the plugin files from your Redmine installation. - Restart the Redmine server to see the changes.
This will uninstall the Redmineflux Testcase Management Plugin from Redmine.
Note: The plugin’s database migrations cannot be rolled back. Some of them are irreversible, so
bundle exec rake redmine:plugins:migrate NAME=redmineflux_testcase_management VERSION=0 RAILS_ENV=productionstops with an error after rolling back only the newest ones; do not run it. The plugin’s own tables, the columns it added to Redmine’s issues and time entries tables, the Automation Key custom field, the defect relations between issues and the plugin settings stay in the database. Remove them yourself after the backup only if you need to; the custom field can be deleted in Administration → Custom fields.
Conclusion
In summary, the Redmineflux Testcase Management Plugin significantly optimizes software testing by facilitating easy creation, organization, and execution of test cases and suites. Its graphical results presentation feature enhances the efficiency and clarity of the testing process, making it an indispensable tool for improving software quality within development and QA teams.