Presented at try! Swift http://www.tryswiftconf.com/en
An Artsy Testing TourAsh Furrow, Artsy
View Slide
{123
XCTAssertEqual(1 + 1, 2, "…")expect(1 + 1) == 2expect(1 + 1).to( equal(2) )
expect(result).to( beCloseTo(100) )expect(name).to( contain("Ash") )expect(talk).toEventually( beDone() )expect(view).to( haveValidSnapshot() )
github.com/artsy/emergencegithub.com/artsy/energygithub.com/artsy/eigengithub.com/artsy/eidolon