Open source QA · web · Android · iOS

A flock of testers on every phone.

One qa.yml runs your app on every device, language, orientation, network, theme and text size. Write a few steps, or let an AI tester explore like a new user. You get every screenshot in one report, in your CI and in your inbox.

pip install "testflock[web,ai] @ git+https://github.com/kanumuri9593/testflock"
No API key neededBring your own AIMITPython 3.9+
TagVault on iPhone SE in English
TagVault on Pixel 8 in Spanish
TagVault on iPhone 16 in dark mode
TagVault on iPad mini in Spanish
First run, on our own app

We pointed it at TagVault before showing it to anyone.

TagVault's web build, 11 device setups, a scripted onboarding test and a free crawl on each. No AI and no key. Real numbers from that run:

11

device setups: 3 phones and a tablet, English and Spanish, offline, slow 3G, dark, landscape, largest text

21/22

tests passed. The one failure is real: the web build can't reopen offline

4

tour photos the app asks for but never shipped, found on 9 setups

$0

no-AI mode on a Linux machine, about 10 minutes from start to report

How it works

Every list multiplies. You choose how far.

Each line of the matrix is one axis. Testflock runs every combination, minus the ones you exclude, plus the odd ones you add by hand. A cap stops a typo from booking 400 phones.

devicesiPhone SE to iPad Pro, Pixel, Galaxy, laptop, or your own sizes
localeslanguage, timezone and location move together
networksonline, offline, wifi, 4g, fast-3g, slow-3g, 2g, flaky
themeslight and dark
text_sizessmall to the largest accessibility size
orientationsportrait and landscape
# qa.yml
name: TagVault
app:
  web:     {serve: build/web}
  android: {package: com.example.app, apk: app.apk}
  ios:     {app: Runner.app}
matrix:
  platforms: [web, android, ios]
  devices:   {web: [iphone-se, pixel-8, ipad-mini]}
  locales:   [en-US, es-ES]
  networks:  [online, offline]
  themes:    [light, dark]
  exclude:   [{network: offline, theme: dark}]
  max_cells: 24
tests:
  - name: Add a first item
    steps:
      - tap: "Add"
      - type: {into: "Name", text: "Spare keys"}
      - relaunch: true
      - expect: "Spare keys"
  - name: Explore like a new user
    agent: {goal: "Add an item and find it again"}
notify:
  email: {to: [you@example.com]}
Three kinds of test

Scripts for what must work. Testers for what nobody thought of.

steps

Scripted

Tap, type, scroll, expect, relaunch, go offline mid-test. Controls are found by their accessibility label, so one script runs on web, Android and iOS. If it can't find a button, VoiceOver probably can't either.

- tap: "Add"
- network: offline
- expect: {not: "Error"}
crawl · free

No-AI crawler

Taps every safe control, screen by screen, and checks each one. It never taps delete, sign out, buy or send. It finds crashes, dead ends, missing files and layout problems, with no key and no cost.

- crawl: {max_actions: 30}
agent · your key

AI tester

Plays a persona with a goal, reads each screenshot, taps by number and reports issues as it goes. It ends with a score out of 10. With AI off, agent tests quietly run as the crawler instead.

agent:
  persona: "Busy parent, large text"
  goal: "Find the passport"

On every screen, automatic checks look for crashes and uncaught errors, content wider than the screen, failed requests, controls with no label, touch targets under 44 pt / 48 dp, and controls placed off screen.

Platforms

Honest about what each platform can fake.

Anything a platform can't emulate is listed in the report under "Could not emulate". It is never skipped silently.

WebAndroidiOS
Runs onPlaywright Chromium, any OSEmulator or USB phone (adb)Simulator on a Mac (simctl + AXe)
Screen11 presets, touch and phone user agentEmulator profilesAny Simulator device
LanguageLocale, timezone, locationSystem locale (rooted image)Language and region
NetworkOffline and throttled per testAirplane mode, speed and delay on emulatorsShares the Mac's network*
Theme, textDark mode, root font size**Dark mode, font scale up to 2.0Dark mode, Dynamic Type up to the largest
ExtrasConsole and network errors, sideways scrollCrash buffer, permissionsClean 9:41 status bar, permissions

* Slow and offline iOS runs need Apple's Network Link Conditioner, which slows the whole Mac. ** Flutter web draws on a canvas and ignores the browser's text size. Testflock switches on Flutter's accessibility tree, so scripts still find every button.

Reports

One page that groups the same bug across every phone.

The same problem on nine setups shows once, with where it happened and screenshots. The run also writes JSON for tools, JUnit for your CI's test tab and a Markdown summary for the pull request.

  • majorDoes not reopen offline

    Seen on iPhone 16, offline

  • minorHTTP 404 /assets/tour/jacket.jpg

    Seen on 9 setups

  • cosmeticTouch target under 44: "Skip" 56×32

    Seen on 6 setups

Testflock HTML report for TagVault: 21 passed, 1 failed, issues grouped across setups
CI and email

Runs on every pull request. Emails you only when it matters.

The GitHub Action splits the setups across parallel jobs, merges one report and sends it by email, Slack, Discord or Teams. Ready workflows cover web on Linux, Android emulators on Linux, and iOS on your own Mac as a free runner.

  • Email

    Any SMTP server, Gmail app passwords included, or Resend. The report goes as a zip, or as a link to the run when it's large.

  • Fail rules

    fail_on: [blocker, major] decides what breaks the build. notify.when: failure keeps your inbox quiet on green runs.

  • Any CI

    testflock run --shard 2/4, then testflock merge. It's one command on any machine.

# .github/workflows/qa.yml
jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix: {shard: [1/4, 2/4, 3/4, 4/4]}
    steps:
      - uses: actions/checkout@v4
      - run: flutter build web --no-web-resources-cdn
      - uses: kanumuri9593/testflock@main
        with:
          args: --shard ${{ matrix.shard }}
        env:
          ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
  report:
    needs: test
    steps:
      - run: testflock merge shards --notify
Your AI, your credits

No key to start. Your own key when you want testers that think.

Testflock never holds a key of its own. Secrets come from environment variables or CI secrets, never from qa.yml.

ai.providerWho paysSetup
noneNobodyDefault. Scripts, the crawler and every automatic check
anthropicYour Anthropic keyANTHROPIC_API_KEY. Pick any Claude model; Haiku costs least
anthropic + base_urlThat providerAny Anthropic-compatible API: a gateway, OpenRouter, a proxy
claude-codeYour Claude subscriptionThe claude CLI, or CLAUDE_CODE_OAUTH_TOKEN in CI

Standing on a good idea

Testflock was inspired by mobile-agent-testers by Pierre Raffalli (MIT): AI testers, each playing a persona on its own simulator. We wrote Testflock from scratch and added web, scripted tests, network and orientation emulation, a no-AI mode, and reports by email.