{"action":"created","issue":{"url":"https://api.github.com/repos/aktowns/purescript-simple-dom/issues/45","labels_url":"https://api.github.com/repos/aktowns/purescript-simple-dom/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/aktowns/purescript-simple-dom/issues/45/comments","events_url":"https://api.github.com/repos/aktowns/purescript-simple-dom/issues/45/events","html_url":"https://github.com/aktowns/purescript-simple-dom/issues/45","id":103521519,"number":45,"title":"Document testing","user":{"login":"manpages","id":1005821,"avatar_url":"https://avatars.githubusercontent.com/u/1005821?v=3","gravatar_id":"","url":"https://api.github.com/users/manpages","html_url":"https://github.com/manpages","followers_url":"https://api.github.com/users/manpages/followers","following_url":"https://api.github.com/users/manpages/following{/other_user}","gists_url":"https://api.github.com/users/manpages/gists{/gist_id}","starred_url":"https://api.github.com/users/manpages/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manpages/subscriptions","organizations_url":"https://api.github.com/users/manpages/orgs","repos_url":"https://api.github.com/users/manpages/repos","events_url":"https://api.github.com/users/manpages/events{/privacy}","received_events_url":"https://api.github.com/users/manpages/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-27T14:19:57Z","updated_at":"2015-08-27T14:35:33Z","closed_at":null,"body":" + What is Zombie.js?\r\n + Why do we test it?\r\n + How to test the project with more conventional phantomjs?\r\n + How to test the project in browser?\r\n\r\n---\r\n\r\nRegarding last bullet-point — I did an ugly-ugly thing — made Main.main to point at Tests.Main.main, then run ``pulp server``, then tested stuff in browser, when the tests passed, I've removed Main module and force-pushed.\r\n\r\nThat's ugly, but it saved me a lot of time figuring out how to do a thing that should be trivial — running tests :)"},"comment":{"url":"https://api.github.com/repos/aktowns/purescript-simple-dom/issues/comments/135454160","html_url":"https://github.com/aktowns/purescript-simple-dom/issues/45#issuecomment-135454160","issue_url":"https://api.github.com/repos/aktowns/purescript-simple-dom/issues/45","id":135454160,"user":{"login":"garyb","id":693642,"avatar_url":"https://avatars.githubusercontent.com/u/693642?v=3","gravatar_id":"","url":"https://api.github.com/users/garyb","html_url":"https://github.com/garyb","followers_url":"https://api.github.com/users/garyb/followers","following_url":"https://api.github.com/users/garyb/following{/other_user}","gists_url":"https://api.github.com/users/garyb/gists{/gist_id}","starred_url":"https://api.github.com/users/garyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyb/subscriptions","organizations_url":"https://api.github.com/users/garyb/orgs","repos_url":"https://api.github.com/users/garyb/repos","events_url":"https://api.github.com/users/garyb/events{/privacy}","received_events_url":"https://api.github.com/users/garyb/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T14:35:33Z","updated_at":"2015-08-27T14:35:33Z","body":"PhantomJS would probably be your best bet for testing, although it's not without its own flaws."}}