thoughtbot Build Phase #4 ★★
thoughtbot Learn Coffee Episode #4
まとめ
Unit
- OCUnit
- GHUnit gabriel/gh-unit · GitHub
BDD, TDD, functional
- Kiwi allending/Kiwi · GitHub
- rspec like
- specta specta/specta · GitHub
- modular
- expecta specta/expecta · GitHub
- Cedar pivotal/cedar · GitHub
- pivotal labs
- BDD
Integration, Acceptance
- UI Automation
- js
- KIF kif-framework/KIF · GitHub
- Keep It Functional
- Frank Testing With Frank — Painless iOS and Mac Testing With Cucumber
- cucumber
- Shelly TestingWithFrank/Shelley · GitHub
- UIScript-compatible selector engine for Frank
- Bwoken bendyworks/bwoken · GitHub
- UIAutomation Test Runner
Mock
- OCMock OCMock
- Nocilla luisobo/Nocilla · GitHub
- AFNetworking
他
selenium Page Object PageObjects - selenium - The Page Object pattern represents the screens of your web app as a series of objects - Browser automation framework - Google Project Hosting
xctool (replacement for Apple's xcodebuild) facebook/xctool · GitHub
testing
experience
tdd style
testing after
regression
validate bug existence
learn from rails
what rails do
rails much more mature
rspec
test unit
acceptance capybara
cucumber
super mature
we don't have
apple
oc unit
core data unit testing
uiautomation isn't design for testing
apple care about drive ui, js
pragmatic book
jonathan - test ios ui automation
oc unit
separate
ui automation for performance
memory leak
integration
reproduce
not automating ui
output js capture tool
framework like bwoken
written coffee
on top of ui automation
click and see this
page model
comes from selenium
page model object
one object for screen
in acceptance
page perform this action
page should have new object
make sense
unit test
hacky code
kif
unit testing level
no specific framework
client project
kiwi rspec
bdd
not method itself
unit testing
oc unit
designed to test method
method level
gh unit
from google
has acceptance, ui test
screenshot
Cedar
from pivotal labs
cannot run from xcode
bdd
mock stub spy
built in kiwi
really like kiwi
stable
specta
modular aproach
3 different lib
specta, expecta, oc mock
modular
replace
better matcher
better spec
single responsibility
stubbing lib
afnetworking
json payload
Nocilla
http test
httpstub
one endpoint need
admin auth
update fixtures
lot json
interesting point test
ui automation
kif
frank (cucumber)
shelly (part of frank)
view selection
thin wrapper ui automation
ruby2objc
frank
cucumber
project manager
don't wanna use frank
KIF
categories
meta programming
problem
intermitting failure
false positive
scrolling to top of view
redo
tap
status bar tap
swipe
downward
not maintained
pull request
built on top
private api
frank on top ui automation
binary compatibility
frank, kiwi recomend
happy with KIF
frank and bwoken
2 standard
KIF synthesize
assertion
a lot rewrite everything
who maintaining
don't trust
actually forked private
dream
ui level
unit testing
kiwi specta
don't care framework
rails mature solid
ui interaction
view lookup
assert with kiwi specta