一键导入
testing
Use when: implementing testing in CodeIgniter projects. Provides a quick checklist for best practices and acceptance testing at each stage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when: implementing testing in CodeIgniter projects. Provides a quick checklist for best practices and acceptance testing at each stage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when: ensuring a CodeIgniter application resolves URLs correctly on local/test and production hosts.
Use when: bootstrapping a new front-end project with Bootstrap. Provides a quick checklist to set up HTML, CSS, JS structure and integrate Bootstrap framework.
Use when: setting up a new CodeIgniter project or following development best practices. Provides a quick checklist for installation, configuration, and MVC structure.
Use when: preparing a CodeIgniter project for open source release. Provides a quick checklist for licensing, documentation, and code commenting.
Use when: setting up version control or following Git best practices in projects. Provides a quick checklist for Git setup and workflows.
| name | testing |
| description | Use when: implementing testing in CodeIgniter projects. Provides a quick checklist for best practices and acceptance testing at each stage. |
This skill guides you through best practices for testing in CodeIgniter, ensuring acceptance testing at each implementation stage.
Set Up Testing Environment
composer require --dev phpunit/phpunitphpunit.xml in the project root for test suitesUnit Testing
tests/unit/Integration Testing
tests/integration/TestResponse for HTTP request testingAcceptance Testing
Run Tests at Each Stage
vendor/bin/phpunitBest Practices
This checklist is tailored for CodeIgniter 4's built-in testing support with PHPUnit.