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. To get code completion for the package name and version, press Control+Space.Ĭ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 |