{"action":"created","issue":{"url":"https://api.github.com/repos/silverstripe-labs/silverstripe-behat-extension/issues/62","labels_url":"https://api.github.com/repos/silverstripe-labs/silverstripe-behat-extension/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/silverstripe-labs/silverstripe-behat-extension/issues/62/comments","events_url":"https://api.github.com/repos/silverstripe-labs/silverstripe-behat-extension/issues/62/events","html_url":"https://github.com/silverstripe-labs/silverstripe-behat-extension/issues/62","id":39361474,"number":62,"title":"Behat 3 Support","user":{"login":"chillu","id":111025,"avatar_url":"https://avatars.githubusercontent.com/u/111025?v=3","gravatar_id":"","url":"https://api.github.com/users/chillu","html_url":"https://github.com/chillu","followers_url":"https://api.github.com/users/chillu/followers","following_url":"https://api.github.com/users/chillu/following{/other_user}","gists_url":"https://api.github.com/users/chillu/gists{/gist_id}","starred_url":"https://api.github.com/users/chillu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chillu/subscriptions","organizations_url":"https://api.github.com/users/chillu/orgs","repos_url":"https://api.github.com/users/chillu/repos","events_url":"https://api.github.com/users/chillu/events{/privacy}","received_events_url":"https://api.github.com/users/chillu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/silverstripe-labs/silverstripe-behat-extension/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2014-08-03T01:53:47Z","updated_at":"2015-11-24T14:24:12Z","closed_at":null,"body":"WIP under https://github.com/silverstripe-labs/silverstripe-behat-extension/tree/experiments/behat-3-upgrade\r\n\r\nRequires CMS and Framework branches as well through `composer.json`:\r\n\r\n```\r\n{\r\n\t\"name\": \"silverstripe/installer\",\r\n\t\"description\": \"The SilverStripe Framework Installer\",\r\n\t\"require\": {\r\n\t\t\"php\": \">=5.3.2\",\r\n\t\t\"silverstripe/cms\": \"dev-experiments/behat-3-upgrade\",\r\n\t\t\"silverstripe/framework\": \"dev-experiments/behat-3-upgrade\",\r\n\t\t\"silverstripe-themes/simple\": \"*\"\r\n\t},\r\n\t\"minimum-stability\": \"dev\",\r\n\t\"require-dev\": {\r\n\t\t\"silverstripe/behat-extension\": \"dev-experiments/behat-3-upgrade\"\r\n\t}\r\n}\r\n```\r\n\r\nSince the extension was heavily based on the Symfony2Extension, tracking changes required to get that extension working will provide at least an indication what needs to change (https://github.com/Behat/Symfony2Extension). Specifically this commit: https://github.com/Behat/Symfony2Extension/commit/65c80f2f24352d2e8b11ef1f5f43e7e3ca0c20d0\r\n\r\nAlso useful are the [Magento Extension upgrade](https://github.com/MageTest/BehatMage/commit/3e04d0b1b5c021096bac2fe52817b338e1aa244d) and the Drupal Extension upgrade ([1](https://github.com/jhedstrom/drupalextension/commit/0d5524696b479ffd5dd32896ded9c0b4a2a2a912), [2](https://github.com/jhedstrom/drupalextension/commit/4b9d2e27adb7f758c4fc62af91876e3bf9da2b55), [3](https://github.com/jhedstrom/drupalextension/commit/35e2158d78e97e49a06e8a726af8115e78a93658))\r\n\r\nTasks (incomplete): \r\n\r\n * [ ] Change `ModuleContextClassGuesser` to implement `SpecificationLocator` (and use in `Extension->load()`)\r\n * [ ] Change `InitProcessor` to implement `ClassGenerator` (and use in `Extension->load()`)\r\n * [ ] Update actual PHP generated by `InitProcessor`\r\n * [ ] Refactor `core.xml` to PHP in `Extension->configure()` (unclear benefits?)\r\n * [ ] Replace `Step\\Given` namespaces with `Call\\Given` throughout all tests (cms, framework, modules)\r\n * [ ] Update extension README\r\n * [ ] Write upgrading guide for projects using Behat+SilverStripe\r\n * [ ] Upgrade PHPUnit to 4.1 (see https://github.com/silverstripe-labs/silverstripe-behat-extension/pull/52)"},"comment":{"url":"https://api.github.com/repos/silverstripe-labs/silverstripe-behat-extension/issues/comments/159281732","html_url":"https://github.com/silverstripe-labs/silverstripe-behat-extension/issues/62#issuecomment-159281732","issue_url":"https://api.github.com/repos/silverstripe-labs/silverstripe-behat-extension/issues/62","id":159281732,"user":{"login":"dhensby","id":563596,"avatar_url":"https://avatars.githubusercontent.com/u/563596?v=3","gravatar_id":"","url":"https://api.github.com/users/dhensby","html_url":"https://github.com/dhensby","followers_url":"https://api.github.com/users/dhensby/followers","following_url":"https://api.github.com/users/dhensby/following{/other_user}","gists_url":"https://api.github.com/users/dhensby/gists{/gist_id}","starred_url":"https://api.github.com/users/dhensby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhensby/subscriptions","organizations_url":"https://api.github.com/users/dhensby/orgs","repos_url":"https://api.github.com/users/dhensby/repos","events_url":"https://api.github.com/users/dhensby/events{/privacy}","received_events_url":"https://api.github.com/users/dhensby/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T14:24:12Z","updated_at":"2015-11-24T14:24:12Z","body":"+1 for [codeception](http://codeception.com/) instead :P"}}