Brick
__tests__/
domain/
host/
server/
testing/
Host adapter (not part of the brick)
| 1 | /** |
| 2 | * The pure entrypoint: types and logic with no React and no I/O. Importable |
| 3 | * from both server and client code. |
| 4 | */ |
| 5 | |
| 6 | export type { TestSuite, TestCase, TestRun, TestSuiteStatus, TestCaseStatus, RunTestSuiteInput } from './types'; |
| 7 | export { AutomationTestingError, NotImplemented } from './errors'; |
| 8 | export type { AutomationTestingErrorCode } from './errors'; |
| 9 | export { initialTestSuiteStatus, canTestSuite, transitionTestSuite, availableTestSuiteEvents, initialTestCaseStatus, canTestCase, transitionTestCase, availableTestCaseEvents } from './lifecycle'; |
| 10 | export type { TestSuiteEvent, TestCaseEvent } from './lifecycle'; |
| 11 |
Requirements
- !
REQ-1Running a test suite creates a test run
… [REQ-1] Running a test suite creates a test run #1 (not implemented: slot runTestSuite) · runTestSuite was not implemented within budget.
- ✓
GATE-PORTABLESelf-contained: relative imports only, nothing escapes the brick (R1–R6)
brick-lint + builder harness
- ✓
GATE-CONTRACTVendored host contract is byte-identical (R8)
sha-256 comparison
- ✓
GATE-TYPESTypechecks under the strictest-superset tsconfig
in-process tsc
- ✓
GATE-TESTSShips its own tests and they pass (R12)
16 passing
- ✓
GATE-LIFECYCLE-TESTSUITETestSuite.status only changes through declared transitions
8 generated lifecycle tests
- ✓
GATE-LIFECYCLE-TESTCASETestCase.status only changes through declared transitions
8 generated lifecycle tests
Built 10/10/2026, 17:25:37 by Ada Lovelace · 16 tests passing · operations by openrouter