Firstly, you will need to signup for Google Drive. If you have a Google Mail or Google Account, signing up involves logging in with your Google account.
Once you’ve signed up for Google Drive, you will need to create a new folder and call it “Testing” or whatever you think is suitable. Please note though. Anything you place in here will be shared publicly, so make sure it’s just your games you need to test.
Right click on the folder and select “Share” and then “Share” again. Under Who Has Access, there will be an option called “Private – Only You Can Access”. Click on the “Change This” link beside it. and then choose the “Public On The Web” option. Click Save and then the Done button.
Now you have a folder that can be publicly viewed by anyone on the web if they have the address that is. You will need to know the address though to access it. To find that out requires a little bit more digging. The easiest way I have found so far is to create an index.html file inside the folder you have just shared. Right click on that file and choose “Preview”. The address up the top is almost correct. It will currently read https://drive.google.com/#folders/RANDOM-LETTERS-AND-NUMBERS where the extra bit I added on the end will be different for you. What you need to do is use https://googledrive.com/host/ before the string of RANDOM-LETTERS-AND-NUMBERS and you are good to go.
Finally, if you have installed Google Drive on to your Mac or PC, you can now edit the files within the folder with an editor like Sublime Text 3 and everytime you save the files, it will automatically upload back to Google Drive and you can test straight away from the address you got before. Checking you programming code is now faster and easier!