Do you know xctest command?

0d04162c7a3c2907c059a06dbcd23cf4?s=47 tokorom
January 15, 2014

Do you know xctest command?

XCTest.frameworkじゃなくてxctestコマンド
xctestコマンドを直接叩いてCUIから任意のテストだけ実行するのにトライしてみた

0d04162c7a3c2907c059a06dbcd23cf4?s=128

tokorom

January 15, 2014
Tweet

Transcript

  1. 1.

    xctestίϚϯυͬͯ ஌͍ͬͯ·͔͢ʁ ॴ ༑ଠ @tokorom iOS App Programer These are

    “not” confidential sessions—please diffuse by your blogging and twitter potatotips #3
  2. 8.

    xctest͸͍͔ͭ͋͘Δ $ pwd /Applications/Xcode.app ! $ find . -name xctest

    ./Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ iPhoneSimulator7.0.sdk/Developer/usr/bin/xctest ! ./Contents/Developer/usr/bin/xctest Xcode͔ΒͩͱϏϧυͨ͠όΠφϦʹ߹Θͤͯద੾ͳ΍ ͕ͭ࢖ΘΕ͍ͯΔͬΆ͍
  3. 16.

    xctest-runner $ gem install xctest-runner ! $ xctest-runner ! $

    xctest-runner -test SampleTests/testSample
  4. 19.