Quick 入門 | iOS RDD テストフレームワーク for Swift/Objective-C

  • Published on
    12-Apr-2017

  • View
    255

  • Download
    5

Embed Size (px)

Transcript

  • Yuki Tanabe

  • https://github.com/Quick/Quick

  • carthage

    github "Quick/Quick"github "Quick/Nimble"

    Cartfile

  • Counter

    countUp()getCount()reset()

  • describe("Counter "){

    // }

  • describe("Counter "){

    context(" ",closure:{

    it("getCount() 0 ",closure:{expect(counter.getCount()).to(equal(0))})})}

    CounterSpec.swift

  • describe("Counter "){

    context(" ",closure:{

    it("getCount() 0 ",closure:{expect(counter.getCount()).to(equal(0))})})}

    CounterSpec.swift

  • https://github.com/tanabee/QuickSample