Project

General

Profile

PhpStorm and QFQ » History » Version 7

Marc Egger, 18.12.2018 17:41

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 7 Marc Egger
h3. Automatically upload changes to server (Convenient):
14
15
!settings-auto-deploy.png!
16
17 3 Marc Egger
h2. Configure Remote Interpreter
18
19
!settings-php.png!
20
21
!settings-CLI-Interpreter-Remote-PHP.png!
22
23
h2. Configure Remote Debug
24
25
!settings-servers-path-mapping.png!
26
27 5 Marc Egger
h2. Configure and Run Remote Phpunit Test
28 3 Marc Egger
29
First manually copy phpunit.phar to some location on the server which you may access (NOT into extension directory! Safety hazard!)
30
31
Then configure remote unittesting on in PhpStorm:
32 1 Marc Egger
33
!settings-phpunit-remote.png!
34 5 Marc Egger
35 6 Marc Egger
h3. Run Tests
36
37 5 Marc Egger
To run all the tests: run phpunit.xml which is located in the extension folder (right click -> run)
38
Run tests with code coverage: run phpunit.xml with Coverage (right click -> green arrow with shield)
39
Run only one test class: directly run that class (right click -> run)