{"enrichment":{"faq":[{"a":"codeception-skill helps you write Codeception tests in PHP by guiding you through the Actor pattern, where a tester object (typically $I) represents the user interacting with your application. In Codeception's Cest format, you define test methods within a class, and the Actor ($I) provides methods like $I->amOnPage(), $I->see(), and $I->fillField() to perform actions and assertions. This skill teaches you how to structure these tests following Codeception best practices, making your acceptance test suites robust and maintainable.","q":"How do I write Codeception tests in PHP using the Actor pattern?"},{"a":"codeception-skill explains that the Codeception actor pattern is a core design principle where an Actor object (usually $I) simulates a user's interactions with your web application. The actor provides a fluent, readable API for navigating pages, filling forms, clicking buttons, and making assertions. This pattern makes tests more expressive and easier to understand\u2014instead of low-level WebDriver commands, you write human-readable statements like $I->amOnPage('/login') and $I->see('Welcome'). The skill guides you through implementing this pattern in your Cest-format test files.","q":"What is the Codeception actor pattern and how does it work?"},{"a":"codeception-skill walks you through Codeception setup and configuration for PHP projects, covering installation, suite configuration (acceptance, functional, unit), and WebDriver setup for end-to-end testing. You'll learn to configure codeception.yml with browser drivers, database connections, and module settings. The skill also covers functional testing without a browser and acceptance testing with WebDriver or Selenium. It helps you integrate these configurations into your CI/CD pipelines and cloud platforms like LambdaTest, ensuring your PHP project has a complete testing infrastructure.","q":"How do I set up and configure Codeception for end-to-end or functional testing in PHP projects?"},{"a":"codeception-skill teaches you that Page Objects are a design pattern for organizing Codeception tests by encapsulating page-specific interactions and assertions into reusable classes. Instead of scattering $I->fillField() and $I->see() calls throughout your tests, you create a Page Object class with methods like loginAs() or verifySuccessMessage() that bundle related actions. This approach improves test maintainability and reusability. The skill shows you how to create custom helpers and Page Object classes, integrate them into your Cest files, and leverage Codeception's module system to structure complex test suites.","q":"What are Codeception Page Objects and how do I implement them to structure tests?"},{"a":"codeception-skill provides detailed guidance on Codeception acceptance testing methods that form the core of the Actor API. Methods like $I->amOnPage('/path') navigate to URLs, $I->see('text') asserts visible content, $I->fillField('selector', 'value') populates form fields, and $I->click('button') triggers interactions. The skill teaches you how to chain these methods in your Cest test classes to simulate complete user workflows. It also covers advanced assertions like $I->dontSee(), $I->grabTextFrom(), and XPath selector usage, enabling you to write comprehensive acceptance tests that validate your web application's behavior end-to-end.","q":"How can I use Codeception for acceptance testing with methods like $I->amOnPage and $I->see?"},{"a":"codeception-skill covers integrating Codeception into CI/CD workflows and cloud testing platforms. You'll learn to configure Codeception for GitHub Actions, GitLab CI, and other CI systems, automating test execution on every commit. The skill also guides you through LambdaTest cloud integration, allowing you to run acceptance tests across multiple browsers and operating systems without maintaining local infrastructure. It includes configuration examples for WebDriver endpoints, parallel execution, and reporting, helping you build scalable, cloud-based testing pipelines for your PHP projects.","q":"How do I integrate Codeception with CI/CD pipelines and cloud platforms like LambdaTest?"}],"shadow_tags":["bdd-style-testing","actor-pattern","page-object-model","webdriver-automation","test-assertions","form-interaction","cloud-execution","ci-cd-ready","selector-strategies"],"summary_rewrite":"This skill enables you to generate Codeception acceptance tests using the Actor pattern and Cest format, streamlining test automation for web applications. It leverages TestMu AI's testing expertise to help you build robust, maintainable test suites that follow Codeception best practices."},"files":[{"bytes":4362,"path":"codeception-skill/SKILL.md","sha256":"3c6bfc93c1f9325a94637794827ebcc1d2322c24d6fa84d75deb53cf14a2fe0c","url":"https://skillfed.io/files/LambdaTest/agent-skills/codeception-skill/efdf5d4f/SKILL.md"}],"id":"LambdaTest/agent-skills/codeception-skill","links":{"html":"https://skillfed.io/LambdaTest/agent-skills/codeception-skill","md":"https://skillfed.io/LambdaTest/agent-skills/codeception-skill.md","repo":"https://github.com/LambdaTest/agent-skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":68,"language":"Python","last_updated":"2026-07-24","license":"MIT","name":"codeception-skill","publisher":"LambdaTest","stars":339},"relations":{"similar":[{"id":"LambdaTest/agent-skills/behat-skill"},{"id":"LambdaTest/agent-skills/laravel-dusk-skill"},{"id":"LambdaTest/agent-skills/phpunit-skill"},{"id":"LambdaTest/agent-skills/selenium-skill"},{"id":"LambdaTest/agent-skills/testcafe-skill"},{"id":"LambdaTest/agent-skills/selenide-skill"},{"id":"LambdaTest/agent-skills/geb-skill"},{"id":"LambdaTest/agent-skills/capybara-skill"},{"id":"LambdaTest/agent-skills/nemojs-skill"},{"id":"LambdaTest/agent-skills/protractor-skill"}]},"slug":{"owner":"LambdaTest","repo":"agent-skills","skill":"codeception-skill"},"version":"efdf5d4f"}
