GitHub - JediLuke/spex: Executable specifications for AI-driven development
2025-11-30
![]()
Spex is an Elixir BDD framework that combines executable specifications with AI-driven testing, using a Given-When-Then DSL to write scenarios that function as both automated tests and living documentation. It extends ExUnit with features like Gherkin-style syntax, explicit context handling, error log detection, and manual step-by-step execution modes designed to work with AI systems. The framework is installed via mix.exs and executed through mix spex commands rather than standard mix test, enabling specification-by-example testing workflows for acceptance testing and stakeholder collaboration.
Was this useful?