Swift Package Index

Speck

https://github.com/bppr/speck.git


Compatibility

  • 0.0.5 and master
    5.3
    5.2
    5.1
    5.0
    4.2
  • 0.0.5
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
  • master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS

Speck

A tiny, Linux-compatible, pure-Swift BDD framework for Swift projects. (insert bird-pun)

Current Version: 0.1.0 | Swift 4+

Documentation | Quick Start | Example Project

Features

  • easy-to-extend core testing framework.
  • minimalistic, Swift 3+-friendly API inspired by RSpec and Jasmine
  • customizable / configurable reporters
  • hooks for tests: before, and after
  • a wide variety of expectations for most Swift types and protocols
  • zero dependencies: just libC and Swift
  • plays nicely with SwiftPM
let ExampleSpec = describe("testing with Speck") {
  it("makes testing expressive and fun") {
    expect(testing).to(equal: "fun")
  }
}