[openstreetmap-website] Use Konacha for testing JavaScript (#105)

Tom Hughes notifications at github.com
Thu Feb 27 21:20:23 UTC 2014


I finally got around to looking at this - we really do need to get some testing going on our JS code - and it all looked pretty good to me so I have merged it and fixed up the tests to work with the current code.

It's a bit fiddly to get poltergeist and phantomjs working on Fedora at the moment but hopefully it should be easier on other platforms.

That said, it's not clear to me how much of our JS we will be able to test this was - most of `osm.js.erb` is now covered but most of the rest of it relies on interacting with the pages built by rails. Maybe we should look at using capybara directly for those?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/105#issuecomment-36292797
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140227/e0e060ac/attachment.html>


More information about the rails-dev mailing list