jeudi 29 janvier 2015

KIF and Quick/Nimble

I'm trying to get KIF and Quick/Nimble for iOS playing together nicely, so I can use QuickSpecs for my KIF tests.


My test currently looks like this:



class AuthSignUpSpec: QuickSpec {

override func spec() {
describe("Home screen") {
it("should have a failing test") {
let tester = self.tester()
tester.waitForViewWithAccessibilityLabel("Blah")
}
}
}
}


The text 'Blah' doesn't exist and the test should fail. failWithException:stopTest: is being called but it isn't raising an exception or causing the QuickSpec test to fail.


How do I integrate these two technologies?


Aucun commentaire:

Enregistrer un commentaire