Environment and development tools - Optional: Difference between revisions

m
(Added tuning configuration for alternative webservers (Nginx))
Line 115: Line 115:
If you do so, menu to launch tools tests are available in your Eclipse menu.  
If you do so, menu to launch tools tests are available in your Eclipse menu.  


Modify your Eclipse setup (Windows-Preferences-PHPTools-PHPCodeSniffer) to add a new directory standard found into''' dev/codesniffer'''.
Modify your Eclipse setup (Windows-Preferences-PHPTools-PHPCodeSniffer) to add a new CodeSniffer stnadard '''Dolibarr''' that is linked to path ''' dev/codesniffer'''.


Modify your Eclipse setup (Windows-Preferences-PHPTools-PHPUnit) like on screen shot (click to zoom):
Modify your Eclipse setup (Windows-Preferences-PHPTools-PHPUnit) like on screen shot (click to zoom):


[[File:Eclipse setup PHPUnit.png|100px]]
[[File:Eclipse setup PHPUnit.png|200px]]


If you did not install PTI, you must install and run PHPUnit and other quality tools manually from command line.
If you did not install PTI, you must install and run PHPUnit and other quality tools manually from command line.