Skip to main content

iHarmony™ by Innominds — Unified Quality Engineering Framework

PyPI version Python versions pytest plugin Playwright 1.54 MCP: 21 tools by Innominds

Test the web app, the API behind it, the data it writes and the devices it talks to —
with one pytest-native framework, one configuration model and one set of reports.


Why iHarmony™

Quality teams usually stitch together a UI tool, an API tool, a data-diff script and a hardware harness, each with its own conventions and reports. iHarmony™ puts all of them on pytest + Playwright with a shared page-object model, YAML configuration, observability and a release quality gate — so a 5-person team and a 100-person programme work the same way.

  • One workflow — UI, API, database, file and device tests are ordinary pytest tests.
  • Enterprise by default — multi-project layouts, environment overlays, org → business-unit → project governance, secrets from environment variables or vaults, never from code.
  • Resilient — self-healing locators, retries and flaky-test detection cut maintenance noise.
  • Decision-ready — every run ends in reports for engineers, QA and leadership, plus an optional PASS / WARN / BLOCK verdict your pipeline can act on.
  • Opt-in everything — install only the extras you need; features are off until enabled in YAML.

iHarmony capabilities: Web UI, API, data validation, device and embedded testing, self-healing locators, release quality gates, observability, AI-ready MCP server

Install

pip install iharmony
playwright install chromium        # or: playwright install  (all browsers)

Requires Python 3.11+. Add extras for the capabilities you use:

Extra Adds
iharmony[data-comparison] Excel / CSV / JSON comparison and HTML mismatch reports (pandas, openpyxl)
iharmony[postgresql] · [mysql] · [sqlserver] · [oracle] · [db2] · [informix] · [snowflake] · [mongodb] Database drivers (SQLite needs none) — or [all-databases]
iharmony[graphql-client] · [soap-client] · [contracts] · [pact] GraphQL, SOAP, OpenAPI / JSON-Schema and consumer-driven contract testing
iharmony[accessibility] WCAG checks with axe-core
iharmony[devices] Every device transport and the simulator (or pick devices-serial, devices-mqtt, devices-can, devices-ble, devices-adb, …)
iharmony[mcp] MCP server for AI assistants
iharmony[allure-reporting] · [html-reporting] · [dashboard] · [telemetry] · [prometheus] Reporting, live dashboard and OpenTelemetry / Prometheus export
iharmony[vault] · [aws] · [azure] HashiCorp Vault, AWS Secrets Manager, Azure Key Vault
iharmony[all] API clients, data comparison, all databases and reporting in one go

Quick start

iharmony init my-qe-suite       # scaffold a suite with runnable demos
cd my-qe-suite

export IHARMONY_TEST_USERNAME=standard_user    # demo login for saucedemo.com
export IHARMONY_TEST_PASSWORD=secret_sauce

pytest tests/demo/functional/api tests/demo/functional/ui

On Windows PowerShell, set the credentials with:

$env:IHARMONY_TEST_USERNAME = "standard_user"
$env:IHARMONY_TEST_PASSWORD = "secret_sauce"

The scaffold contains configuration, page objects and demo UI, API and database tests. The data-comparison demos also need pip install "iharmony[data-comparison]".

How it works: write pytest tests and page objects, configure per environment, run locally or in CI, decide with reports and a quality-gate verdict

What tests look like

Web UI — locators live in page objects; tests read like the business flow.

import pytest
from iharmony import BasePage


class LoginPage(BasePage):
    USERNAME = "#user-name"
    PASSWORD = "#password"
    SUBMIT = "#login-button"

    def login(self, user: str, password: str) -> None:
        self.fill(self.USERNAME, user)
        self.fill(self.PASSWORD, password)
        self.click(self.SUBMIT)


@pytest.mark.smoke
def test_login(page, runtime_options, login_test_data):
    login = LoginPage(page, runtime_options["resilience_policy"])
    login.navigate(runtime_options["base_url"])
    user = login_test_data["valid_user"]          # values resolved from ${ENV_VAR} placeholders
    login.login(user["username"], user["password"])

API — an HTTP client with retries, auth and chainable assertions.

from iharmony import ApiClient, ResponseValidator


def test_create_order(base_url):
    api = ApiClient(base_url=base_url, retries=3)
    response = api.post("/orders", json_body={"sku": "A-100", "qty": 2})
    ResponseValidator.assert_status_code(response, 201)
    ResponseValidator.assert_json_has_keys(response, ["id", "status"])
    ResponseValidator.assert_response_time_less_than(response, 800)

Data — compare extracts, files and tables with keys, tolerances and column mappings.

from utils.data_comparison_utils import compare_excel_files


def test_migration_matches_legacy():
    result = compare_excel_files(
        "legacy_extract.xlsx", "new_platform_extract.xlsx",
        key_columns=["employee_id"], float_tolerance=0.01, ignore_fields={"updated_at"},
    )
    assert result.passed, result.summary    # interactive HTML report at result.report_path

Devices — the same test runs against a digital twin or real hardware.

import pytest


@pytest.mark.device
@pytest.mark.requires_dut(capability="thermostat")
def test_heats_up(dut):
    dut.set_target(22)
    dut.wait_until_temperature(22, timeout=900)
pytest -m device                                   # simulated twin
pytest -m device --iharmony-dut-mode hil        # real hardware, same test

Run it your way

Goal Command
Pick environment and browser pytest --ih-env qa --ih-browser firefox (or set IHARMONY_ENV=qa)
Watch the browser pytest --ih-headed
Emulate a phone pytest --ih-device "iPhone 13"
Run in parallel pytest -n auto
Run a suite by marker pytest -m smoke · pytest -m regression
Check the environment first pytest --iharmony-readiness-check
Gate the release pytest --iharmony-quality-gate — exits 1 on BLOCK
Enforce suite ordering pytest --iharmony-orchestration
Update visual baselines pytest --iharmony-update-snapshots

Every --iharmony-<name> option has the short alias --ih-<name>.

CI templates for GitHub Actions, Jenkins and Azure DevOps are included (iharmony docs ci).

AI-ready: MCP server

iHarmony ships a Model Context Protocol server so AI assistants such as Claude and GitHub Copilot can discover the framework API, list tests and page objects, read resolved configuration and test results, and get a release recommendation. Every tool is also a terminal command.

pip install "iharmony[mcp]"
iharmony-mcp serve                         # MCP server (stdio)
iharmony-mcp search-methods tolerance      # the same tools from the terminal
iharmony-mcp get-release-recommendation

Documentation

Guides are installed with the package — no network or repository access needed:

iharmony docs                  # list every topic
iharmony docs quickstart       # print one
Topic Covers
quickstart · install · cli First test in 10 minutes, installation, every command and --iharmony-* option
multi-project · test-organization · qe-visual-guide Suite layout at scale and the page-object model
api-testing · database · data-validation REST / GraphQL / SOAP, database drivers and assertions, data comparison
architecture · resilience · observability How the layers fit, self-healing locators, metrics and persona reports
secrets-governance · plugins · ci · mcp Secrets and org policy, plugin authoring, pipelines, the MCP server

Support

iHarmony is developed and supported by Innominds. For onboarding, enterprise support or custom integrations, contact iHarmony@innominds.com or visit innominds.com.

Engineered by Innominds

iHarmony™ is a trademark of Innominds. © Innominds. Released under the MIT License.

Metadata

Release files for iharmony 6.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iharmony 6.0.2
File Size Uploaded Provenance
iharmony-6.0.2.tar.gz 1.0 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for iharmony 6.0.2
File Interpreter ABI Platform
iharmony-6.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.8 MB

Release files / iharmony-6.0.2.tar.gz

Download URL iharmony-6.0.2.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
cba478dd20a9b081804e3b2211c3ac6de06b16b6451771ad530e1bf3a6316d56
BLAKE2b-256 checksum
How to use checksums
d774dcfb2aca39add3c6b90141cc275328a2c92521bbda4fa06d5df98b3bd26b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / iharmony-6.0.2-py3-none-any.whl

Download URL iharmony-6.0.2-py3-none-any.whl
Size 743.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7341e6ca5eb583ad7fbb06a07e4ab8dde953fd4342b36591856ea8af8ae9830
BLAKE2b-256 checksum
How to use checksums
577da039a07c243ae6d23a0bc3be4a4976171b1da7974353929fb32b848f8dcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Security for iharmony 6.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for iharmony-6.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page