Project

General

Profile

PhpStorm and QFQ » History » Version 5

Marc Egger, 18.12.2018 17:30

1 5 Marc Egger
h1. PhpStorm and QFQ
2 2 Marc Egger
3
{{child_pages}}
4 3 Marc Egger
5 4 Marc Egger
{{toc}}
6
7 3 Marc Egger
h2. Configure Remote Deployment
8
9
!settings-deployment-webwork.png!
10
11
!settings-deployment-webwork-mappings.png!
12
13
h2. Configure Remote Interpreter
14
15
!settings-php.png!
16
17
!settings-CLI-Interpreter-Remote-PHP.png!
18
19
h2. Configure Remote Debug
20
21
!settings-servers-path-mapping.png!
22
23 5 Marc Egger
h2. Configure and Run Remote Phpunit Test
24 3 Marc Egger
25
First manually copy phpunit.phar to some location on the server which you may access (NOT into extension directory! Safety hazard!)
26
27
Then configure remote unittesting on in PhpStorm:
28 1 Marc Egger
29
!settings-phpunit-remote.png!
30 5 Marc Egger
31
To run all the tests: run phpunit.xml which is located in the extension folder (right click -> run)
32
Run tests with code coverage: run phpunit.xml with Coverage (right click -> green arrow with shield)
33
Run only one test class: directly run that class (right click -> run)