{"action":"created","issue":{"url":"https://api.github.com/repos/wikimedia/restbase/issues/137","labels_url":"https://api.github.com/repos/wikimedia/restbase/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/wikimedia/restbase/issues/137/comments","events_url":"https://api.github.com/repos/wikimedia/restbase/issues/137/events","html_url":"https://github.com/wikimedia/restbase/pull/137","id":54797455,"number":137,"title":"Make each test runnable on in isolation","user":{"login":"earldouglas","id":424946,"avatar_url":"https://avatars.githubusercontent.com/u/424946?v=3","gravatar_id":"","url":"https://api.github.com/users/earldouglas","html_url":"https://github.com/earldouglas","followers_url":"https://api.github.com/users/earldouglas/followers","following_url":"https://api.github.com/users/earldouglas/following{/other_user}","gists_url":"https://api.github.com/users/earldouglas/gists{/gist_id}","starred_url":"https://api.github.com/users/earldouglas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/earldouglas/subscriptions","organizations_url":"https://api.github.com/users/earldouglas/orgs","repos_url":"https://api.github.com/users/earldouglas/repos","events_url":"https://api.github.com/users/earldouglas/events{/privacy}","received_events_url":"https://api.github.com/users/earldouglas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-19T18:31:16Z","updated_at":"2015-01-19T18:33:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wikimedia/restbase/pulls/137","html_url":"https://github.com/wikimedia/restbase/pull/137","diff_url":"https://github.com/wikimedia/restbase/pull/137.diff","patch_url":"https://github.com/wikimedia/restbase/pull/137.patch"},"body":"This makes the tests a bit more developer-friendly.  Each test can:\r\n\r\n* start the restbase server (no-op if it's already started)\r\n* restart the server (if the desired server configuration is different than what's currently running)\r\n* be run in isolation:\r\n  * single file: `mocha test/parsoid/ondemand.js` or `mocha $(find test -name 'ondemand.js')`\r\n  * single directory: `mocha $(find test -name 'parsoid')`\r\n\r\nNow we can rapidly develop against a single test (or set of tests) via:\r\n\r\n```\r\nfswatch mocha $(find test -name 'parsoid')\r\n```"},"comment":{"url":"https://api.github.com/repos/wikimedia/restbase/issues/comments/70539609","html_url":"https://github.com/wikimedia/restbase/pull/137#issuecomment-70539609","issue_url":"https://api.github.com/repos/wikimedia/restbase/issues/137","id":70539609,"user":{"login":"earldouglas","id":424946,"avatar_url":"https://avatars.githubusercontent.com/u/424946?v=3","gravatar_id":"","url":"https://api.github.com/users/earldouglas","html_url":"https://github.com/earldouglas","followers_url":"https://api.github.com/users/earldouglas/followers","following_url":"https://api.github.com/users/earldouglas/following{/other_user}","gists_url":"https://api.github.com/users/earldouglas/gists{/gist_id}","starred_url":"https://api.github.com/users/earldouglas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/earldouglas/subscriptions","organizations_url":"https://api.github.com/users/earldouglas/orgs","repos_url":"https://api.github.com/users/earldouglas/repos","events_url":"https://api.github.com/users/earldouglas/events{/privacy}","received_events_url":"https://api.github.com/users/earldouglas/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T18:33:00Z","updated_at":"2015-01-19T18:33:00Z","body":"TODO:\r\n\r\n* [ ] Update the README.md with all the various means of testing"}}