![]() Having installed Codeception, you need to initialize it in your project by generating a codeception.yml configuration file. Generate a codeception.yml configuration file In the case of remote PHP interpreters, manual Codeception configuration is required. If you use a local PHP interpreter, PhpStorm performs initial Codeception configuration automatically. Integrate Codeception with PhpStorm in a project Learn more about installing Codeception from Codeception Official website.Ĭlick next to the package record in the composer.json editor gutter to jump to the corresponding Settings page and configure Codeception manually. Press Alt+Enter and select whether you want to install a specific dependency or all dependencies at once. If the Non-installed Composer packages inspection is enabled, PhpStorm will highlight the declared dependencies that are not currently installed. Press Control+Space to get code completion for the package name and version.Ĭlick the Install shortcut link on top of the editor panel. Inside composer.json, add the codeception/codeception dependency record to the require or require-dev key. In either case, PhpStorm will include codeception.phar in indexing, so it will successfully resolve references to the Codeception classes and thus provide you with full coding assistance.ĭownload and install Codeception with Composer You can also save codeception.phar in a different location and configure it as an include path. Download and install Codeception manuallyĭownload codeception.phar at the Codeception Installation page and save it under the root of the project where Codeception will be later used. ![]() Download and install Codeceptionīefore you start, make sure Composer is installed on your machine and initialized in the current project as described in Composer dependency manager. Make sure the PHP interpreter is configured in PhpStorm on the PHP page, as described in Configure local PHP interpreters and Configure remote PHP interpreters. ![]() ![]() PhpStorm provides support for running unit, functional, and acceptance tests with the Codeception test framework, versions 2.2.0 and later. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |