Skip to main content
7BBusyBoss

Shortest

by antiwork

AI-powered E2E testing in natural language. Write tests like "log in then click checkout" — the agent figures out the selectors.

6,000 stars🍴 0 forksTypeScripte2etestingnatural-language

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 logo

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/shortest package as a dev dependency if it is not already installed
  • Create a default shortest.config.ts file with boilerplate configuration
  • Generate a .env.local file (unless present) with placeholders for required environment variables, such as ANTHROPIC_API_KEY
  • Add .env.local and .shortest/ to .gitignore

Quick start

  1. 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