-
Notifications
You must be signed in to change notification settings - Fork 89
Programs needed on Windows to get the tests running
Running the tests on Windows can be a really tough task if you don't have the correct software on your machine. Make sure that you have all the programs listed below, if you do then running the tests would be as easy as:
> composer install
> vendor\bin\robo run:tests
Obviously, since this is a PHP repository you would need a server. You can chose between xampp, wamp, easyPHP or whatever you like.
Other software that you would need:
- Firefox https://www.mozilla.org/en-US/firefox/new
- composer https://getcomposer.org/download/
- git https://git-scm.com/download/win
- curl http://curl.haxx.se/download.html (Recommended here is to get the MSI version from Edward LoPinto: http://www.confusedbycode.com/curl/ - it comes with the certificate bundle (ca-cert-bundle.crt) and you would be able to connect over https). If you download any other version that doesn't come with the certificate bundle you would have to either install it yourself, or use the insecure flag in robo.ini to load the resources even if the certificates don't match)
- java https://java.com/en/download/
Make sure that composer, git, curl and java can be executed from the console (CMD).
Once you've installed the above software follow the steps in the README.md for Windows.
Note: If you run the tests and you always get issues with deleting the joomla-cms folder, then most probably tgitcache is locking the .git folder and php can't delete it.
In turtoiseGit go to Settings / Icon overlays, in section "Status cache" select "None". TGitCache.exe will disappear from the process list. If you need it again, you can turn it on by selecting other option, like "Default". After a click in an explorer window the TGitCache.exe will run again. http://stackoverflow.com/questions/16773257/how-can-i-stop-and-start-tgitcache-exe-gracefully