In Jasmine, the beforeAll() block can be used within a describe and run before all of the it blocks within that describe. Is there something equivalent to this in the Quick/Nimble BDD framework in XCUITest (xcode) in Swift? I could only find the beforeSuite() but that is ran before all describe blocks.
Currently, Quick does not support beforeAll
/ afterAll
.
You can read more on the reasons behind this decision in this issue. But the short answer is it is not currently supported and they have no plans to add them in the near future.
You should be able to go around this using the other options supported: beforeSuite
, afterSuite
, beforeEach
and afterEach
.