Alot LabsBook the briefing
Software · AutoTest

AutoTest

One sentence in, a browser test out: run on a schedule, repaired when the page changes, and never forced to pass.

What it does

A sentence becomes a test

Write what to test in one line. AutoTest writes the test file and runs it in a real browser. With the arbiter configured, two models must agree on every check.

It repairs the route, not the check

When the page changes, it reads the new page, derives a fresh selector and patches the test. A cap of three attempts stops it looping.

It runs on a schedule

A scheduler runs the suites at set times, ranks tests by how likely they are to fail, and writes what changed in plain words.

How a test runs

The light runs a test whose selector broke overnight, then one that passes. The check itself is never touched.

How a test runstruefalsethe selectorthe checkagainYour briefTest the login flowon stagingWrite the testone line in, a test outRun itin a real browserPassed?Plain wordswhat changed, each runWhat broke?Heal itnew selector, 3 triesFile a defecttrace kept, never green

Core responsibilities

  1. Write the test

    One sentence becomes a test file that runs in a real browser.

  2. Run it on a schedule

    It runs every suite at set times, most likely failures first, and reports each run's changes in plain words.

  3. Repair the route, not the check

    When the page moves, it derives a fresh selector from the new page and patches the test, in up to three attempts.

  4. Keep what it learned

    Verified selectors, anti-patterns and steps persist, so the next test inherits them.

  5. Agree on every check

    With the arbiter configured, two models must agree before a check passes.

AutoTest in figures

  • 116test functions across eight filescounted in the repository
  • 3repair attempts on a broken selector, cappeda cap in the code
  • 2models must agree before a check passeswith the arbiter configured
  • 0model calls on a healthy run: cached selectors replaythe selector cache

Counted in the repository, read from a run or set in the code. No figure is estimated.

AutoTestRunning

Why it is built this way

Three safeguards from our own audit, each one written into the code.

Apply for a seat

A parser clears a repair, not a model

Repaired code runs only after a parser clears it. Imports must come from the test framework; shell, file and network access, eval and unparseable code are refused.

The repair reads the page

The repair step captures the page as it stands and takes the new selector from that capture.

A crash is not a broken test

A missing module, a syntax error or a browser that will not launch is caught before any repair starts. A fix for the wrong problem never reaches memory.

The code behind AutoTest

Three files from the repository, shown in turn. Select one to read it.

01const FORBIDDEN_IDENTIFIERS = new Set([02  "child_process",03  "spawn",04  "exec",05  "execSync",06  "fs",07  "http",08  "https",09  "net",10  "dgram",11  "cluster",12  "worker_threads",13  "eval",14  "globalThis",15]);

Bring the workflow that keeps breaking.

Our engineers work through it with you in a free 45-minute briefing.