Shortest
by antiworkAI-powered E2E testing in natural language. Write tests like "log in then click checkout" — the agent figures out the selectors.
About Shortest
Shortest is a TypeScript open-source code generation project by antiwork. AI-powered E2E testing in natural language. Write tests like "log in then click checkout" — the agent figures out the selectors. With 6,000 GitHub stars and 0forks, it's one of the Code Generation tools worth knowing. You can download the source, browse it on GitHub, or read the full setup guide in the README below.
From the project README
Shortest
AI-powered natural language end-to-end testing framework.
<video src="https://github.com/user-attachments/assets/d443279e-7364-452b-9f50-0c8dd0cf55fc" controls autoplay loop muted> Your browser does not support the video tag. </video>
Features
- Natural language E2E testing framework
- AI-powered test execution using Anthropic Claude API
- Built on Playwright
- GitHub integration with 2FA support
- Email validation with Mailosaur
Using Shortest in your project
If helpful, here's a short video!
Installation
Use the shortest init command to streamline the setup process in a new or existing project.
The shortest init command will:
npx @antiwork/shortest init
This will:
- Automatically install the
@antiwork/shortestpackage as a dev dependency if it is not already installed - Create a default
shortest.config.tsfile with boilerplate configuration - Generate a
.env.localfile (unless present) with placeholders for required environment variables, such asANTHROPIC_API_KEY - Add
.env.localand.shortest/to.gitignore
Quick start
- Determine your test entry and add your Anthropic API key in config file:
shortest.config.ts
This is an excerpt from the project's own README, quoted here for reference. Read the full README on GitHub →
Shortest — FAQ
What is Shortest?
AI-powered E2E testing in natural language. Write tests like "log in then click checkout" — the agent figures out the selectors.
Is Shortest free to use?
Yes. Shortest is open-source and free. You can browse the source on GitHub or download it here at no cost — no signup required.
How do I install and run Shortest?
Download the latest source as a ZIP from GitHub (or clone the main branch), then follow the setup steps in the README below.
What language is Shortest written in?
Shortest is primarily written in TypeScript.
How popular is Shortest?
Shortest has 6,000 stars and 0 forks on GitHub — a useful signal of how actively it's maintained and trusted by developers.
More Code Generation skills
See all Code Generation →A lightweight coding agent for open models like Deepseek, Kimi, and Qwen
Autonomous coding agent as an SDK, IDE extension, or CLI assistant.
Specify what you want in English, GPT Engineer asks clarifying questions and writes the whole codebase. The pioneer of full-app code-gen.
aider is AI pair programming in your terminal
open-source coding agent