Project

General

Profile

PhpStorm and QFQ » History » Revision 7

Revision 6 (Marc Egger, 18.12.2018 17:33) → Revision 7/8 (Marc Egger, 18.12.2018 17:41)

h1. PhpStorm and QFQ 

 {{child_pages}} 

 {{toc}} 

 h2. Configure Remote Deployment 

 !settings-deployment-webwork.png! 

 !settings-deployment-webwork-mappings.png! 

 h3. Automatically upload changes to server (Convenient): 

 !settings-auto-deploy.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! 

 h3. Run Tests 

 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)