Skip to content

Generate HTML, JUnit XML, JSON, and Allure reports for Maestro mobile tests with screenshots. Drop-in solution for CI/CD integration.

License

Notifications You must be signed in to change notification settings

devicelab-dev/maestro-complete-reports

Maestro Complete Reports

Enhanced reporting for Maestro mobile UI testing
JSON, HTML, JUnit XML & Allure reports for Android and iOS test automation

License Maestro Version DeviceLab.dev


Community Build - Not affiliated with Maestro or mobile.dev

Built by DeviceLab.dev - Turn Your Devices Into a Distributed Device Lab

Features

Feature Description
JSON Reports Complete test data for programmatic analysis
HTML Reports Interactive web reports for stakeholders
JUnit XML CI/CD integration (Jenkins, GitLab, GitHub Actions)
Allure Support Trend analysis and historical comparison
Test Suites Hierarchical suite/test organization
Screenshots Automatic capture with linking

Quick Start

Option 1: Using the Binary (Automated)

curl -fsSL https://open.devicelab.dev/install/maestro-reports.sh | sh

Option 2: Manual Installation

# Backup original JARs
cp ~/.maestro/lib/maestro*.jar ~/.maestro/backup/

# Copy patched JARs to Maestro lib directory
cp jars/2.0.10/*.jar ~/.maestro/lib/

# To restore
cp ~/.maestro/backup/*.jar ~/.maestro/lib/

Usage

maestro test flows/ --report-dir report_folder

Sample Reports

Format Sample
JSON report.json
JUnit XML junit-report.xml

Console Output

===== Test Summary =====

✅ Invalid Login
  ✅ Should show error for invalid password
  ✅ Should show error for invalid username
❌ Valid Login
  ✅ Should login with alternate credentials
  ❌ Should login with alternate credentials. fail as password is wrong
  ✅ Should login with primary credentials

========================
Suites: 1 passed, 1 failed
Tests:  4 passed, 1 failed

  4/5 Flows Passed

==========================================================================================
  Flow                                   Status  Steps   Pass   Fail   Skip   Duration
------------------------------------------------------------------------------------------
  Login - Invalid Password                    ✓     10     10      0      0      23.0s
  Login - Valid Alternate Credentials         ✓     13     13      0      0      22.0s
  Login - Valid Alternate Credentials         ✕     11     10      1      0      30.0s
  Login - Valid Primary Credentials           ✓     13     13      0      0      23.0s
  Login - Invalid Username                    ✓     10     10      0      0      22.0s
------------------------------------------------------------------------------------------
  Total                                             57     56      1      0      2m 0s
==========================================================================================

HTML Report

HTML Report

Documentation

Doc Description
CLI Options All report configuration options
Test Suites Organizing tests with suite/test commands
CI/CD Integration GitHub, GitLab, Jenkins, CircleCI examples

Backup Location

Original JARs are backed up to ~/.maestro/backup/


Contributing

Issues and PRs welcome at GitHub.

License

Apache 2.0 (same as Maestro)

Disclaimer

This project is not affiliated with, endorsed by, or connected to mobile.dev or the official Maestro project. This tool patches your existing Maestro installation to add reporting functionality not yet available in the official release.

Use at your own risk. We recommend switching to official Maestro once these reporting features are officially released.


About

Generate HTML, JUnit XML, JSON, and Allure reports for Maestro mobile tests with screenshots. Drop-in solution for CI/CD integration.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published