Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Do you know xctest command?

tokorom
January 15, 2014

Do you know xctest command?

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

tokorom

January 15, 2014

Transcript

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

    “not” confidential sessions—please diffuse by your blogging and twitter potatotips #3
  2. 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. xctest-runner $ gem install xctest-runner ! $ xctest-runner ! $

    xctest-runner -test SampleTests/testSample

More Decks by tokorom

Other Decks in Technology