codeception-skill

Generate Codeception PHP tests for acceptance, API, and database testing.

350|69|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/LambdaTest/agent-skills --skill codeception-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codeception-skill
Source: https://github.com/LambdaTest/agent-skills/tree/main/codeception-skill
Command: npx skills add https://github.com/LambdaTest/agent-skills --skill codeception-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and code examples for setting up and executing robust automated tests using the Codeception framework in PHP, covering UI, API, and database testing scenarios.

Core Features & Use Cases

  • Acceptance Testing: Generate and run acceptance tests using the Cest pattern and WebDriver.
  • API Testing: Create and execute API tests with the REST module.
  • Page Objects: Implement the Page Object pattern for maintainable UI tests.
  • Database Testing: Interact with databases for test setup and assertions.
  • Cloud Integration: Configure tests to run on cloud platforms like TestMu AI.

Quick Start

Use the codeception-skill to generate a new acceptance test for the login page.

Frequently Asked Questions about codeception-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write PHP acceptance tests using Codeception?

PHP acceptance tests in Codeception use the Cest pattern and WebDriver to generate and run UI automation tests. They leverage BDD-style syntax and the Actor pattern for structured, readable test execution.

What is the best way to structure maintainable UI tests in PHP?

The Page Object pattern is the recommended way to structure maintainable UI tests in PHP. Codeception supports this pattern natively, allowing you to separate UI element locators from test logic for cleaner, reusable acceptance tests.

Can I perform API testing with Codeception in PHP?

Yes, API testing with Codeception in PHP is done using the REST module. It allows you to create and execute API tests seamlessly alongside your acceptance and functional tests using the same BDD-style syntax.

Does Codeception support database interactions for test setup and assertions?

Codeception supports database interactions for test setup and assertions. You can configure database modules to populate test data, verify database state after actions, and ensure clean testing environments across acceptance and functional tests.

How do I configure PHP tests to run on cloud platforms using WebDriver?

Codeception tests using WebDriver can be configured to run on cloud platforms like TestMu AI. This cloud integration allows you to execute UI automation tests across different environments and browsers without maintaining local infrastructure.

What testing approaches does Codeception support for PHP applications?

Codeception supports acceptance testing, functional testing, and unit testing for PHP applications. It uses BDD-style syntax with an Actor pattern, supporting UI automation via WebDriver, API testing with the REST module, and database interactions.