Spek banner

Spek Overview

Spek is a lightweight function builder style Behavior Driven Development framework, designed to be used with XCTest.
  • Support common BDD parts: Describe, Context, BeforeAll, AfterAll, BeforeEach, AfterEach, It
  • To disable a part, prefix it with X, for example XDescribeXIt, ...
  • All blocks are throwing function, so are encouraged to do try catch
  • BeforeAll and AfterAll are run before and after all enclosing Describe and It
  • BeforeEach and AfterEach are run before and after all enclosing It
  • Context behaves the same as Describe

Stay on top of new tools for iOS developers

Subscribe to get a convenient weekly roundup of iOS Dev Tools' newest addition
of helpful and time-saving developer tools, services, and SDKs to get your job done faster.