Setup & Installation
What This Skill Does
Generates Codeception tests in PHP using the Actor pattern ($I-> syntax). Covers acceptance, functional, and unit test layers with BDD-style Cest classes, Page Objects, and database assertions.
Codeception's Actor syntax and suite structure have a learning curve, and this skill produces correctly structured Cest classes, Page Objects, and config files without digging through docs each time.
When to use it
- Writing login and signup flow tests with $I->see and $I->fillField
- Scaffolding Page Object classes to reuse selectors across test suites
- Adding database checks after form submissions with seeInDatabase
- Setting up WebDriver-based browser tests for a PHP application
- Creating API test suites with REST module assertions and HTTP status codes