acseo/behat-generator-bundle
Symfony bundle that generates Behat .feature files automatically from your app’s routes, jumpstarting BDD coverage. Includes setup guidance for Behat + Mink with the Zombie.js driver and an example FeatureContext for form submission.
.feature files for route-based testing, enabling faster iteration and validation of API/route behavior.Adopt if:
.feature file creation is a bottleneck.Look elsewhere if:
"This package automates the creation of behavioral test cases for every route in our Laravel app, cutting the time to validate new features by 70%. By generating .feature files for Behat—an industry-standard BDD tool—we’ll catch UI/API issues earlier, reduce manual QA costs, and future-proof our regression testing. It’s a low-risk, high-reward investment to improve software quality without hiring additional testers."
Key Outcomes: ✅ Faster releases (less manual test case writing). ✅ Higher confidence in route stability (auto-generated safety nets). ✅ Scalable QA (tests grow automatically with new routes).
*"The ACSEO Behat Generator Bundle lets us scaffold Behat .feature files for every route in our app with a single command. This is a game-changer for:
Trade-offs:
Proposal: Pilot this for our /api routes first—it’s a low-risk way to see how much time we save on test creation."*
Next Steps:
composer require acseo/behat-generator-bundle).php bin/console acseo:behat:generate to scaffold tests.FeatureContext.php for custom assertions.How can I help you explore Laravel packages today?