Shortest is an innovative AI-powered natural language end-to-end testing framework designed to streamline the testing process for developers. Built on Playwright, it leverages the Anthropic Claude API to execute tests written in plain English, making test creation more intuitive and accessible.
Key Features:
- Natural Language Testing: Write tests in plain English, reducing the learning curve for new team members.
- AI-Powered Execution: Leverages the Anthropic Claude API to interpret and execute test scenarios.
- Playwright Integration: Built on the robust Playwright framework for reliable browser automation.
- GitHub 2FA Support: Includes built-in support for GitHub authentication with two-factor authentication.
- Email Validation: Integrates with Mailosaur for comprehensive email validation testing.
Setup is simplified with the npx @antiwork/shortest init
command, which automatically configures your project with necessary files and dependencies. Shortest supports flexible test chaining, lifecycle hooks, and API testing, making it a versatile tool for a wide range of testing scenarios.
The framework is designed to work seamlessly in CI/CD pipelines and supports advanced features like database assertions and custom Playwright browser context configurations. Whether you're testing simple login flows or complex application behaviors, Shortest provides a powerful yet intuitive solution for modern development teams.