Shortest is an open-source, AI-driven testing framework that enables developers to write end-to-end tests using natural language. Built on Playwright, Shortest interprets plain English test descriptions and automatically generates and executes the corresponding test code. Developers simply import the shortest function from @antiwork/shortest and describe test scenarios in plain English, optionally passing environment variables. Shortest integrates seamlessly with GitHub for CI/CD automation, making it easy to incorporate into existing workflows. The tool aims to simplify QA by reducing the need for manual test script writing and leveraging AI to handle implementation details. It is available as an open-source project on GitHub.
Key Benefits
- Write tests in plain English
- AI handles test implementation
- Built on Playwright for reliable execution
- Seamless GitHub integration