Test Case, Test Plan, and Test Run Browser plugin for Kiwi TCMS with tree navigation, statistics dashboards, and report exports
Project description
tcms-test-browser
Test Case, Test Plan, Test Run, and Consolidated Browser plugin for Kiwi TCMS with tree navigation, statistics dashboards, interactive chart drill-down, detail panels, and report exports (CSV, Excel, Word, PDF).
Features
Landing Page
- Quick Navigation: Cards linking to each browser view with live totals
- At-a-Glance Counts: Total test cases, plans, runs, and executions
Test Case Browser
- Tree View: Product > Category > Test Case hierarchy with counts
- Statistics Dashboard: Total count, status/priority donuts, automation progress, per-product bar chart
- Chart Click-to-Filter: Click any chart segment to see filtered test cases in a modal
- Detail Panel: Steps, information, and related items tabs
- Related Items: Test plans displayed as sortable table (ID, Name)
- Quick Search: Live search with 300ms debounce
- Product Filter: Filter tree and stats by product
- Selection Export: Checkbox selection for filtered CSV/Excel/Word/PDF exports
Test Plan Browser
- Tree View: Product > Test Plan hierarchy with counts
- Statistics Dashboard: Total count, by-type donut, active/inactive progress bar, per-product bar chart
- Chart Click-to-Filter: Click any chart segment to see filtered test plans in a modal
- Detail Panel: Description, information, and related tabs
- Related Items: Test cases and test runs displayed as tables (ID, Summary)
- Quick Search: Search plans by name
- Selection Export: Checkbox selection for filtered CSV/Excel/Word/PDF exports
Test Run Browser
- Tree View: Product > Test Plan > Test Run hierarchy with counts
- Statistics Dashboard: Total count, execution status donut, completion progress bar, per-product bar chart
- Chart Click-to-Filter: Click any chart segment to see filtered test runs in a modal
- Detail Panel: Executions table (with colored status badges), information, and notes tabs
- Quick Search: Search runs by summary
- Selection Export: Checkbox selection for filtered CSV/Excel/Word/PDF exports
Consolidated Browser
- Dashboard Tab: Totals (cases, plans, runs, pass rate), execution status donut, coverage gaps (cases without plans, plans without runs), recent activity tables
- Chart Click-to-Filter: Click execution status donut to see filtered executions in a modal
- Plan Drill-Down Tab: Search any plan, view runs summary table, cases-by-runs execution matrix with color-coded status cells, CSV/Excel/Word/PDF export
- Case Drill-Down Tab: Search any case, view associated plans as table, execution timeline across all runs, CSV/Excel/Word/PDF export
- Product Filter: Filter dashboard data by product
Common
- View Navigation Tabs: Switch between browsers without returning to the menu
- Responsive Design: Works on desktop and tablet
- PatternFly/Bootstrap 3: Consistent with Kiwi TCMS UI
- C3.js Charts: Interactive donut and bar charts with click-to-filter drill-down
- Selection Checkboxes: Select items in tree for filtered exports
- Rich Export Reports: CSV, Excel, Word, and PDF reports include pie charts (horizontal layout with legends below), styled tables with branded headers, and metadata with bullet-pointed test plan lists
Screenshots
Landing Page
Test Case Browser
Test Plan Browser
Test Run Browser
Consolidated Browser
Layout
+---------------------------------------------------------------+
| [Test Cases] [Test Plans] [Test Runs] [Consolidated] |
+---------------------------------------------------------------+
| Statistics Dashboard (collapsible) [Export v] |
| +------+ +----------+ +----------+ +----------+ +-----------+ |
| |Total | | Status | | Priority | |Automation| |By Product | |
| | 150 | | (donut) | | (donut) | |(progress)| | (bar) | |
| +------+ +----------+ +----------+ +----------+ +-----------+ |
+---------------------------------------------------------------+
| Tree Nav (left) | Detail Panel (right) |
| [Search] | TC-123: Login test |
| [Filter] | Status: Confirmed Priority: P1 |
| v Product A (15) | |
| v Login (5) | [Steps] [Information] [Related] |
| [x] TC-123 | |
| [ ] TC-124 | 1. Open the login page |
| > Registration (3) | 2. Enter valid username |
| > Product B (23) | 3. Click Submit |
| | |
| | [View Full Details] [Edit] |
+--------------------------+------------------------------------+
Installation
pip install tcms-test-browser
Or for development:
cd tcms-test-browser
pip install -e .
After installation, collect static files and rebuild Kiwi TCMS webpack bundle:
# Deploy plugin static files
cd /path/to/kiwi-tcms
./manage.py collectstatic --noinput
# Rebuild webpack bundle (from the Kiwi TCMS tcms/ directory)
cd tcms/
npx webpack
Note:
pip installwill attempt to runcollectstaticautomatically. If it fails (e.g. Django not configured), run the commands above manually.
This installs the required dependencies:
- openpyxl - Excel export
- python-docx - Word export
- reportlab - PDF export
- Pillow - Chart images in Word export
Usage
After installation:
- The plugin automatically registers via the
kiwitcms.pluginsentry point - Access the browsers from MORE > Test Browser in the navigation:
- Home -
/tcms_test_browser/(landing page) - Test Case Browser -
/tcms_test_browser/cases/ - Test Plan Browser -
/tcms_test_browser/plans/ - Test Run Browser -
/tcms_test_browser/runs/ - Consolidated Browser -
/tcms_test_browser/consolidated/
- Home -
- Use the tab bar at the top of any browser view to switch between views
API Endpoints
Test Case Browser
| Endpoint | Method | Description |
|---|---|---|
/tcms_test_browser/cases/ |
GET | Main browser page |
/tcms_test_browser/api/category/<id>/testcases/ |
GET | Test cases for a category |
/tcms_test_browser/api/testcase/<id>/ |
GET | Test case detail |
/tcms_test_browser/api/search/?q=<query> |
GET | Search test cases |
/tcms_test_browser/api/browse/ |
GET | Paginated browse (supports status, priority, product_name filters) |
/tcms_test_browser/api/statistics/ |
GET | Statistics for charts |
/tcms_test_browser/api/report/ |
GET | Download CSV report |
/tcms_test_browser/api/report/excel/ |
GET | Download Excel report |
/tcms_test_browser/api/report/docx/ |
GET | Download Word report |
/tcms_test_browser/api/report/pdf/ |
GET | Download PDF report |
Test Plan Browser
| Endpoint | Method | Description |
|---|---|---|
/tcms_test_browser/plans/ |
GET | Plan browser page |
/tcms_test_browser/plans/api/plan/<id>/ |
GET | Plan detail |
/tcms_test_browser/plans/api/search/?q=<query> |
GET | Search plans |
/tcms_test_browser/plans/api/browse/ |
GET | Paginated browse (supports type_name, product_name filters) |
/tcms_test_browser/plans/api/statistics/ |
GET | Plan statistics |
/tcms_test_browser/plans/api/report/ |
GET | Download CSV report |
/tcms_test_browser/plans/api/report/excel/ |
GET | Download Excel report |
/tcms_test_browser/plans/api/report/docx/ |
GET | Download Word report |
/tcms_test_browser/plans/api/report/pdf/ |
GET | Download PDF report |
Test Run Browser
| Endpoint | Method | Description |
|---|---|---|
/tcms_test_browser/runs/ |
GET | Run browser page |
/tcms_test_browser/runs/api/run/<id>/ |
GET | Run detail with executions |
/tcms_test_browser/runs/api/search/?q=<query> |
GET | Search runs |
/tcms_test_browser/runs/api/browse/ |
GET | Paginated browse (supports exec_status, product_name filters) |
/tcms_test_browser/runs/api/statistics/ |
GET | Run statistics |
/tcms_test_browser/runs/api/report/ |
GET | Download CSV report |
/tcms_test_browser/runs/api/report/excel/ |
GET | Download Excel report |
/tcms_test_browser/runs/api/report/docx/ |
GET | Download Word report |
/tcms_test_browser/runs/api/report/pdf/ |
GET | Download PDF report |
Consolidated Browser
| Endpoint | Method | Description |
|---|---|---|
/tcms_test_browser/consolidated/ |
GET | Consolidated browser page |
/tcms_test_browser/consolidated/api/dashboard/ |
GET | Dashboard data |
/tcms_test_browser/api/executions/browse/ |
GET | Paginated executions browse (supports exec_status filter) |
/tcms_test_browser/consolidated/api/plan/<id>/detail/ |
GET | Plan drill-down data |
/tcms_test_browser/consolidated/api/plan/<id>/report/ |
GET | Plan drill-down CSV |
/tcms_test_browser/consolidated/api/plan/<id>/report/excel/ |
GET | Plan drill-down Excel |
/tcms_test_browser/consolidated/api/plan/<id>/report/docx/ |
GET | Plan drill-down Word |
/tcms_test_browser/consolidated/api/plan/<id>/report/pdf/ |
GET | Plan drill-down PDF |
/tcms_test_browser/consolidated/api/case/<id>/detail/ |
GET | Case drill-down data |
/tcms_test_browser/consolidated/api/case/<id>/report/ |
GET | Case drill-down CSV |
/tcms_test_browser/consolidated/api/case/<id>/report/excel/ |
GET | Case drill-down Excel |
/tcms_test_browser/consolidated/api/case/<id>/report/docx/ |
GET | Case drill-down Word |
/tcms_test_browser/consolidated/api/case/<id>/report/pdf/ |
GET | Case drill-down PDF |
All endpoints require authentication. Browser list endpoints accept an optional ?product=<id> filter. Report endpoints accept ?ids=<comma-separated> for selection-based export. Browse endpoints support chart drill-down filters specific to their entity type.
Requirements
- Kiwi TCMS 12.0+
- Python 3.11+
License
MIT - see LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tcms_test_browser-1.1.1.tar.gz.
File metadata
- Download URL: tcms_test_browser-1.1.1.tar.gz
- Upload date:
- Size: 416.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06f818842026b0da3689decd3cf0dd10f52cd00eed13c3525ed40b8839d88087
|
|
| MD5 |
a10ca17dc0da5444abecbe590ba134f0
|
|
| BLAKE2b-256 |
413e16c87f5335cbe089e8db7601ee60be3b682967478e9b3633b867e06b9a75
|
File details
Details for the file tcms_test_browser-1.1.1-py3-none-any.whl.
File metadata
- Download URL: tcms_test_browser-1.1.1-py3-none-any.whl
- Upload date:
- Size: 424.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e73b8af4293fc9a43e9927bbcca1d3f5a4acce943528c54589d503cee1d35ae4
|
|
| MD5 |
53a820677d146d44878dfb83d6945952
|
|
| BLAKE2b-256 |
1d8ad0e4ebf8528a4e0c3ad4ccbd7cdbdfbd9a6348edfe030ff51e9283eea64f
|