quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

NSScreencast Episode #4 Automated Testing with Kiwi

Automated Testing with Kiwi - NSScreencast

  • RSpec style
  • Normal test
    • suffix Tests
    • (void)setup
    • (void)tearDown
    • STAssertEquals
  • clone kiwi into lib foler
    • drag as sibling of project
  • Build Phases
    • kiwi.a
  • Build Settings
    • some FLAGS
    • other linker FLAG
  • suffics Specs.m
    • SPEC_BEGIN / SPEC_END
    • describe
  • it
    • shouldNot
    • beNil
    • [[theValue(game.answer) should] equal:theValue(8)]
  • shared setup
    • __block
    • beforeEach(^(
  • pending
  • Run Test ⌘U

synthesize, setter/getter, アンダースコア

プロパティに対応するインスタンス変数の命名規則について - Awaresoft

iVAR = Instance Variable