{"action":"created","issue":{"url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/221","labels_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/221/comments","events_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/221/events","html_url":"https://github.com/serenity-bdd/serenity-core/issues/221","id":120670459,"number":221,"title":"Serenity does not recognise JUnit TestRules","user":{"login":"johndeverall","id":3393900,"avatar_url":"https://avatars.githubusercontent.com/u/3393900?v=3","gravatar_id":"","url":"https://api.github.com/users/johndeverall","html_url":"https://github.com/johndeverall","followers_url":"https://api.github.com/users/johndeverall/followers","following_url":"https://api.github.com/users/johndeverall/following{/other_user}","gists_url":"https://api.github.com/users/johndeverall/gists{/gist_id}","starred_url":"https://api.github.com/users/johndeverall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johndeverall/subscriptions","organizations_url":"https://api.github.com/users/johndeverall/orgs","repos_url":"https://api.github.com/users/johndeverall/repos","events_url":"https://api.github.com/users/johndeverall/events{/privacy}","received_events_url":"https://api.github.com/users/johndeverall/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-06T23:22:55Z","updated_at":"2015-12-07T16:32:06Z","closed_at":"2015-12-07T16:31:35Z","body":"Serenity does not seem to recognise JUnit Test Rules. It does however recognise JUnit TestClass Rules. \r\n\r\nI have provided an [example happy case](https://github.com/johndeverall/testcases/tree/master/JUnitTestRulesInSerenity/SpringMethodRuleHappyCase) and [example failure case](https://github.com/johndeverall/testcases/tree/master/JUnitTestRulesInSerenity/SpringMethodRuleFailure).\r\n\r\n@wakaleo - these examples are mostly demo code you wrote. Is this a bug in Serenity or are you able to quickly point out what I'm doing wrong from these test cases? Also @ScottDennison I see you wrote some TestRule code back in Juneish? I can't seem to get your Rules to work either. You might have an idea about this? \r\n\r\nThis issue also relates to [this stackoverflow question](http://stackoverflow.com/questions/31492691/how-do-i-specify-test-runner-in-serenity-tests/34121652#34121652)."},"comment":{"url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/comments/162580893","html_url":"https://github.com/serenity-bdd/serenity-core/issues/221#issuecomment-162580893","issue_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/221","id":162580893,"user":{"login":"johndeverall","id":3393900,"avatar_url":"https://avatars.githubusercontent.com/u/3393900?v=3","gravatar_id":"","url":"https://api.github.com/users/johndeverall","html_url":"https://github.com/johndeverall","followers_url":"https://api.github.com/users/johndeverall/followers","following_url":"https://api.github.com/users/johndeverall/following{/other_user}","gists_url":"https://api.github.com/users/johndeverall/gists{/gist_id}","starred_url":"https://api.github.com/users/johndeverall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johndeverall/subscriptions","organizations_url":"https://api.github.com/users/johndeverall/orgs","repos_url":"https://api.github.com/users/johndeverall/repos","events_url":"https://api.github.com/users/johndeverall/events{/privacy}","received_events_url":"https://api.github.com/users/johndeverall/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T16:32:06Z","updated_at":"2015-12-07T16:32:06Z","body":"Relocated this issue as it is a serenity-cucumber issue, not a serenity-core issue."}}