expect README

The project's README from github.com/millionco/expect. As one markdown file: README.md.

apps/cli/README.md

expect (millionco/expect)

e2e-testing
Searching Database…

3.6K ·GitHub
What is this?Expect is a testing tool that runs your AI agent's code against a real browser, so you can verify your agent behaves correctly in an actual browser environment instead of relying on mocks.
Is this a CLI tool or a library I import into my code?It ships as a CLI, living in the apps/cli package of the repo's Turborepo monorepo, rather than being a library you import directly.
Does Expect test more than just browser-based agent behavior?Based on the description, Expect's focus is specifically on verifying agent code against a real browser, so non-browser agent paths don't appear to be its target use case.
Who is this built for?It's aimed at developers building AI agents that act inside web browsers and who need automated, real-browser end-to-end checks of that behavior.
Why test in a real browser instead of just mocking it?Agent behavior like DOM interactions, rendering, and timing can only be reliably verified against an actual browser instance, not a simplified mock.
What does the name 'Expect' hint at?The name suggests assertion-style 'expect' checks, similar to common testing libraries, used to verify an agent's actions in the browser.
Is the project built as a single package or a monorepo?It's a Turborepo-based monorepo with a dedicated CLI app and shared build, lint, and test pipelines managed through pnpm and Turbo scripts.
Does the project have CI in place?Yes, the repo runs code-quality, end-to-end, and release workflows via GitHub Actions, including a dedicated e2e.yml pipeline.
Creator
millionco
Size
61.1 MB
Stars
3.6K
Age
7mo
Commits · 90 Days