Cucumber and Browser Geolocation

Several days ago I’ve started writing an application with browser geolocation support. The main problem encountered has been that of testing user interaction with the geolocation service. It is not possible to interact with browser geolocation so you need a way to mock the geolocation api in test environment. I’ve found, this old but still interesting, post wich resolve my problem.

http://lucaguidi.com/2011/02/13/html5-geolocation-testing-with-cucumber.html

Leave a Reply

wpDiscuz