-
Notifications
You must be signed in to change notification settings - Fork 608
feat(plugins): initial implementation of the testmo plugin #8485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This PR introduces a complete Testmo integration plugin for Apache DevLake, enabling comprehensive test management analytics and insights. ## What's Added ### Backend Implementation - **Core Plugin Architecture**: Complete Testmo plugin structure with connection management, data collection, and transformation - **API Integration**: Full integration with Testmo REST API for fetching projects, test runs, automation runs, milestones, and tests - **Data Models**: Comprehensive data models for all Testmo entities including raw and tool-specific schemas - **Data Collection**: Automated data collection workflows with proper error handling and pagination - **Database Schema**: Complete database schema with tables for projects, tests, automation runs, and milestones ### Frontend/UI Integration - **Connection Management**: User-friendly interface for configuring Testmo connections - **Data Source Configuration**: Intuitive setup wizard for Testmo API credentials and project selection - **Dashboard Integration**: Seamless integration with DevLake's project management interface ### Analytics & Visualization - **Grafana Dashboard**: Feature-rich dashboard providing comprehensive test analytics including: - Test execution overview and success rates - Test trend analysis over time - Project-wise test distribution - Test performance metrics - Recent test runs with detailed information ### Key Features - **Multi-project Support**: Handle multiple Testmo projects within a single connection - **Real-time Data Sync**: Automated data collection with configurable sync intervals - **Historical Data**: Complete historical test execution data with proper timestamp handling - **Status Mapping**: Proper mapping of Testmo test statuses (passed, failed, skipped) to DevLake schema - **Performance Optimization**: Efficient data collection with proper pagination and rate limiting No breaking change and no related issues
Good work. Thank you very much for the contribution. |
…he#8488) This change skips GitHub job records that have no started_at value, as a workaround for apache#8442. Closes apache#8442
@klesh Thank you! I have fixed the 2 errors from the CI (linter + Test_GetPluginTablesInfo), all the tests are now passing on my end. |
klesh
approved these changes
Jul 7, 2025
Thanks for the quick reaction. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
add-a-plugin
This issue is to add a plugin
pr-type/feature-development
This PR is to develop a new feature
size:XXL
This PR changes 1000+ lines, ignoring generated files.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds a full Testmo integration plugin for Apache DevLake, delivering end-to-end collection, storage, and visualisation of Testmo test-management data.
Backend
UI / Front-end
Dashboards & Analytics
Extra Features
Does this close any open issues?
No
Screenshots
Other Information
This is my first PR for the project, please let me if any additonal information or changes are required!