PYPI PACKAGE AUDIT v0.2.63 Needs Improvement

fusiontest

AI-powered UI testing for mobile and desktop โ€” by FusionLeap.io

PyPkgScore fusiontest
Methodology & Criteria โ™ฅ Donate
505 / 1000
Quick Install
pip install fusiontest
1. Governance
50/200
2. PEP Metadata
200/200
3. Security
150/200
4. Docs & SEO
105/200
5. CI Engineering
0/200
๐Ÿ“ฃ Share Audit: Share this report and visual preview in the current language
Advertisement
PYPI TELEMETRY

Downloads & Community Adoption

Last 30 days (without mirrors)
Last 7 days
1701
Last 30 days
2452
Total (180 days)
8464
Metric / Ecosystem Status / Value Source
Downloads (30d / 180d) โ€” PyPI Stats (without mirrors)
Trusted Publishing (PEP 740) โœ• Not detected PyPI Integrity / Sigstore
Django Packages โ€” djangopackages.org
PyTech / PyPkgScore 505 / 1000 PyPkgScore Engine

Health & Engineering Analysis (5 Pillars)

1. Governance & Community50 / 200 โ–พ
LICENSEโœ“ 50 pts
SECURITY.mdโœ• 0 pts
CONTRIBUTING.mdโœ• 0 pts
CODE_OF_CONDUCT.mdโœ• 0 pts
2. PEP Metadata & Packaging200 / 200 โ–พ
Wheel (.whl)โœ“ 50 pts
pyproject.tomlโœ“ 50 pts
Project URLsโœ“ 50 pts
Trove Classifiersโœ“ 50 pts
3. Security & Supply Chain150 / 200 โ–พ
Zero CVEs (OSV)โœ“ 60 pts
Trusted Publishing (OIDC)โœ• 0 pts
Snyk / Audit Linkโœ“ 40 pts
HTTPS Repositoryโœ“ 50 pts
4. Documentation, SEO & Ecosystem105 / 200 โ–พ
Structured READMEโœ“ 60 pts
Read the Docsโœ• 0 pts
Django Packagesโœ• 0 pts
Website / Technical Articlesโœ“ 45 pts
5. Engineering, CI & Quality0 / 200 โ–พ
Automated Testsโœ• 0 pts
GitHub Actions CIโœ• 0 pts
CHANGELOG.mdโœ• 0 pts
Env & Lockfile (uv/rye/poetry/pdm/hatch)โœ• 0 pts
Advertisement
README & DOCS

Official Documentation & Usage Guide โ€” fusiontest

PyPI Metadata v0.2.63
Show full original documentation (English README) โ–พ

๐Ÿงช FusionTest

AI-powered UI testing for web, desktop and mobile โ€” built by FusionLeap.io

FusionTest runs UI tests written as plain-English goals. An LLM reads the screen and decides what to do, an independent judge model confirms each goal from the screen, a screenshot and the app's own errors, and goals that pass are recorded so later runs replay them without calling the AI at all.

Coding agents use it to verify their changes: fusiontest verify (or the MCP server) reads the diff, checks what it promises in the running app, and keeps what passes as regression goals. See docs/coding-agents.md.


โœจ Features

Feature Notes
Natural-language goals "Open the Pricing page and verify all three plans are shown"
Verify a change fusiontest verify plans checks from a diff and judges them; JSON verdict for agents and CI
MCP server fusiontest mcp: verify_change, run_goals, scan_site for Claude Code and other agents
Independent judge A stronger model judges pass/fail (Claude or OpenAI when set) while a cheap one clicks
Goal discovery Crawls a site and proposes goals grounded in its real content
Record & replay Passing goals replay with no LLM calls; the AI repairs them when the page changes
Honest results Capacity or infrastructure problems are reported as errors, not test failures
Multi-provider LLMs Groq, Claude, Gemini, OpenAI or local Ollama, with automatic fallback
Safe secrets {{PASSWORD}} placeholders โ€” the AI never sees values, which are only typed on allowed sites
2FA sign-in {{TOTP:NAME}} types an unused authenticator code (RFC 6238) from a stored seed, in CLI and dashboard runs (not security checks)
Guardrails Invalid-action checks, loop detection, backtracking, no-progress detection
Run evidence Web & Electron: a video of the run, a Playwright trace per failed goal, and console and network errors, in the report and the dashboard
Reporting JSON reports, dashboard uploads, failure screenshots, Slack, GitHub Actions annotations, webhooks
Issue filing Confirmed bugs (and optionally failed goals) open issues in GitHub Issues, Linear or Jira Cloud, with steps to reproduce and a link to the run's evidence; repeats comment on the open issue
Platforms Web (Playwright), Electron, Android & iOS (Appium), Windows, macOS

๐Ÿ— Architecture

fusiontest/
โ”œโ”€โ”€ core/         # Runner, LLM action model + fallback chain, goal verifier,
โ”‚                 # screen parser, secrets, replay, SSRF guard (netguard)
โ”œโ”€โ”€ desktop/      # Playwright (web/Electron), Windows, macOS adapters
โ”œโ”€โ”€ mobile/       # Android (UIAutomator2) and iOS (XCUITest) adapters via Appium
โ”œโ”€โ”€ discovery/    # Goal discovery from a site's pages
โ”œโ”€โ”€ guardrails/   # Action validation, loop detection, backtracking
โ”œโ”€โ”€ reporting/    # JSON reports, Slack, GitHub annotations
โ””โ”€โ”€ training/     # Experimental MPNet fine-tuning (not wired into runs)
api/              # SaaS backend (FastAPI + PostgreSQL) โ€” see docs/api.md
dashboard/        # React dashboard
website/          # Marketing site (Next.js)

Design decisions are recorded in docs/adr โ€” start with ADR-007.


๐Ÿš€ Quickstart

# macOS (Homebrew Python) or anywhere you want an isolated CLI โ€” recommended
brew install pipx && pipx ensurepath        # then open a new terminal
pipx install "fusiontest[desktop]"
"$(pipx environment --value PIPX_LOCAL_VENVS)/fusiontest/bin/playwright" install chromium

# โ€ฆor inside a virtual environment
python3 -m venv .venv && source .venv/bin/activate
pip install "fusiontest[desktop]"
playwright install chromium

export GROQ_API_KEY=gsk_...          # or ANTHROPIC_API_KEY / GEMINI_API_KEY / OPENAI_API_KEY

fusiontest run --url https://example.com \
  --goal "Verify the page heading says Example Domain" --headless

# Changed the UI? Check that the change does what it says (uncommitted changes by default)
fusiontest verify --url http://localhost:5173

# No goals yet? Map what works on a test/staging site, and save the flows that do
fusiontest scan https://staging.example.com --save fusiontest.goals.yaml
# Behind a login: EMAIL and PASSWORD come from the environment, never the AI
fusiontest scan https://staging.example.com --login "Sign in with email {{EMAIL}} and password {{PASSWORD}}"

Groq, OpenAI and Ollama work out of the box; for Claude or Gemini add the extra โ€” fusiontest[desktop,claude] or fusiontest[desktop,gemini]. Upgrade with pipx upgrade fusiontest (or pip install -U fusiontest in the venv).

Set FUSIONTEST_API_KEY (from the dashboard's API Keys page) to upload each run to your FusionTest dashboard.

Exit codes: 0 all goals passed ยท 1 a goal failed ยท 2 some goals couldn't be evaluated (LLM capacity or infrastructure) โ€” not a test failure.

Full guide: docs/getting-started.md โ€” platforms, goal files, configuration, secrets, replay, dashboard and CI.


๐Ÿ“ Writing goals

# tests/goals/smoke.yaml
name: Marketing site smoke test
platform: playwright
url: https://example.com
goals:
  - "Open the Pricing page and verify three plan tiers are shown"
  - "Open the Contact page, submit the form empty, and verify required-field errors appear"
  - name: Log in
    goal: "Log in with {{EMAIL}} and {{PASSWORD}} and verify the dashboard loads"
fusiontest run --file tests/goals/smoke.yaml --headless

Tips: say what to verify, not just where to go; one outcome per goal; don't submit real forms on production sites.


๐Ÿ›  Configuration

fusiontest init creates fusiontest.config.yaml:

backend: groq               # unset = auto-detect from API keys
guardrails:
  loop_detection_window: 5
  max_retries: 3
replay:
  enabled: true
  trace_dir: .fusiontest/traces
  reverify_every: 10

๐Ÿ”Œ CI/CD

Run fusiontest run --headless in any CI system. With FUSIONTEST_API_KEY set, replay recordings are shared through your FusionTest account (laptop, CI and dashboard all replay each other's passing goals); without it, cache .fusiontest/traces. Guides for GitHub Actions, Bitrise, Fastlane and Jenkins: docs/ci-integrations.md.


๐Ÿค Contributing

See CONTRIBUTING.md and ROADMAP.md.

๐Ÿ“„ License

MIT ยฉ FusionLeap.io