Project

General

Profile

PhpStorm and QFQ » History » Revision 5

Revision 4 (Marc Egger, 18.12.2018 17:22) → Revision 5/9 (Marc Egger, 18.12.2018 17:30)

h1. PhpStorm and QFQ Configuration 

 {{child_pages}} 

 {{toc}} 

 h2. Configure Remote Deployment 

 !settings-deployment-webwork.png! 

 !settings-deployment-webwork-mappings.png! 

 h2. Configure Remote Interpreter 

 !settings-php.png! 

 !settings-CLI-Interpreter-Remote-PHP.png! 

 h2. Configure Remote Debug 

 !settings-servers-path-mapping.png! 

 h2. Configure and Run Remote Phpunit Test 

 First manually copy phpunit.phar to some location on the server which you may access (NOT into extension directory! Safety hazard!) 

 Then configure remote unittesting on in PhpStorm: 

 !settings-phpunit-remote.png! 

 To run all the tests: run phpunit.xml which is located in the extension folder (right click -> run) 
 Run tests with code coverage: run phpunit.xml with Coverage (right click -> green arrow with shield) 
 Run only one test class: directly run that class (right click -> run)