{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/ava/issues/421","labels_url":"https://api.github.com/repos/sindresorhus/ava/issues/421/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/ava/issues/421/comments","events_url":"https://api.github.com/repos/sindresorhus/ava/issues/421/events","html_url":"https://github.com/sindresorhus/ava/issues/421","id":126523401,"number":421,"title":"Fork per test.","user":{"login":"jamestalmage","id":4082216,"avatar_url":"https://avatars.githubusercontent.com/u/4082216?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestalmage","html_url":"https://github.com/jamestalmage","followers_url":"https://api.github.com/users/jamestalmage/followers","following_url":"https://api.github.com/users/jamestalmage/following{/other_user}","gists_url":"https://api.github.com/users/jamestalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestalmage/subscriptions","organizations_url":"https://api.github.com/users/jamestalmage/orgs","repos_url":"https://api.github.com/users/jamestalmage/repos","events_url":"https://api.github.com/users/jamestalmage/events{/privacy}","received_events_url":"https://api.github.com/users/jamestalmage/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sindresorhus/ava/labels/low%20priority","name":"low priority","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/sindresorhus/ava/milestones/1","html_url":"https://github.com/sindresorhus/ava/milestones/Future","labels_url":"https://api.github.com/repos/sindresorhus/ava/milestones/1/labels","id":1295932,"number":1,"title":"Future","description":"","creator":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2015-09-08T17:02:23Z","updated_at":"2016-01-13T21:54:19Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2016-01-13T21:47:22Z","updated_at":"2016-01-15T04:53:56Z","closed_at":null,"body":"Right now we fork per test file, but not per individual test method. We have discussed the latter a few times in other threads, and finally decided to open an issue to discuss.\r\n\r\nPros:\r\n - Truly isolated tests. No chance they interfere with each-other unless they are interacting with outside resources (servers / databases / file system).\r\n - Fresh global state for each test. This would be a big help for polyfill developers.\r\n\r\nCons:\r\n - It will almost certainly introduce a performance penalty.\r\n - Complete isolation could mask some errors. (i.e. What if your function always blows up the second time it is run? Complete isolation might mean your test suite never runs it twice).\r\n - It will be really hard to replicate when it comes to implementing browser support."},"comment":{"url":"https://api.github.com/repos/sindresorhus/ava/issues/comments/171871832","html_url":"https://github.com/sindresorhus/ava/issues/421#issuecomment-171871832","issue_url":"https://api.github.com/repos/sindresorhus/ava/issues/421","id":171871832,"user":{"login":"ariporad","id":1817508,"avatar_url":"https://avatars.githubusercontent.com/u/1817508?v=3","gravatar_id":"","url":"https://api.github.com/users/ariporad","html_url":"https://github.com/ariporad","followers_url":"https://api.github.com/users/ariporad/followers","following_url":"https://api.github.com/users/ariporad/following{/other_user}","gists_url":"https://api.github.com/users/ariporad/gists{/gist_id}","starred_url":"https://api.github.com/users/ariporad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariporad/subscriptions","organizations_url":"https://api.github.com/users/ariporad/orgs","repos_url":"https://api.github.com/users/ariporad/repos","events_url":"https://api.github.com/users/ariporad/events{/privacy}","received_events_url":"https://api.github.com/users/ariporad/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T04:53:56Z","updated_at":"2016-01-15T04:53:56Z","body":"@jamestalmage: Yeah, didn't you hear? @sindresorhus has decreed that there shall be only one possible way to do anything! :smile: "}}