{"action":"closed","issue":{"url":"https://api.github.com/repos/Quick/Quick/issues/121","labels_url":"https://api.github.com/repos/Quick/Quick/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/Quick/Quick/issues/121/comments","events_url":"https://api.github.com/repos/Quick/Quick/issues/121/events","html_url":"https://github.com/Quick/Quick/issues/121","id":40999996,"number":121,"title":"XCTestAssertions do not work within a QuickSpec written in Objective-C","user":{"login":"krzysztofzablocki","id":1468993,"avatar_url":"https://avatars.githubusercontent.com/u/1468993?v=3","gravatar_id":"","url":"https://api.github.com/users/krzysztofzablocki","html_url":"https://github.com/krzysztofzablocki","followers_url":"https://api.github.com/users/krzysztofzablocki/followers","following_url":"https://api.github.com/users/krzysztofzablocki/following{/other_user}","gists_url":"https://api.github.com/users/krzysztofzablocki/gists{/gist_id}","starred_url":"https://api.github.com/users/krzysztofzablocki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzysztofzablocki/subscriptions","organizations_url":"https://api.github.com/users/krzysztofzablocki/orgs","repos_url":"https://api.github.com/users/krzysztofzablocki/repos","events_url":"https://api.github.com/users/krzysztofzablocki/events{/privacy}","received_events_url":"https://api.github.com/users/krzysztofzablocki/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Quick/Quick/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Quick/Quick/labels/priority","name":"priority","color":"000000"},{"url":"https://api.github.com/repos/Quick/Quick/labels/tricky","name":"tricky","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Quick/Quick/milestones/2","html_url":"https://github.com/Quick/Quick/milestones/v1.0.0","labels_url":"https://api.github.com/repos/Quick/Quick/milestones/2/labels","id":870521,"number":2,"title":"v1.0.0","description":"Once this milestone is reached, it's very unlikely Quick's API will change, unless there's a really good reason.","creator":{"login":"modocache","id":552921,"avatar_url":"https://avatars.githubusercontent.com/u/552921?v=3","gravatar_id":"","url":"https://api.github.com/users/modocache","html_url":"https://github.com/modocache","followers_url":"https://api.github.com/users/modocache/followers","following_url":"https://api.github.com/users/modocache/following{/other_user}","gists_url":"https://api.github.com/users/modocache/gists{/gist_id}","starred_url":"https://api.github.com/users/modocache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modocache/subscriptions","organizations_url":"https://api.github.com/users/modocache/orgs","repos_url":"https://api.github.com/users/modocache/repos","events_url":"https://api.github.com/users/modocache/events{/privacy}","received_events_url":"https://api.github.com/users/modocache/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"open","created_at":"2014-11-18T01:32:48Z","updated_at":"2015-07-19T20:24:37Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2014-08-24T07:33:50Z","updated_at":"2015-07-19T20:24:37Z","closed_at":"2015-07-19T20:24:37Z","body":"When using XCTest assertions or 3rd Party libraries(OCMock/Mockito), failures are not handled properly on QuickSpec.\r\nthe proper method is getting called \r\n````\r\n- (void)recordFailureWithDescription:(NSString *)description inFile:(NSString *)filePath atLine:(NSUInteger)lineNumber expected:(BOOL)expected;\r\n````\r\nbut Xcode still doesn't show test as failed.\r\n\r\nRunning through debugger I noticed that when running through nimble expectation example is set correctly, but if run from any other lib or XCTest we end up with empty example, might be something related to that?\r\n\r\nTo reproduce you could just add \r\n````\r\nXCTFail(@\"Fail!\");\r\n````"}}