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

Acceptance Testing - CMD+U Conf

Acceptance Testing - CMD+U Conf

The secret to fast, r0ck-solid, automated acceptance tests. Presented at CMD+U Conf, Barcelona, 2016. - "HOLA"!

Paul Stringer

July 08, 2016
Tweet

More Decks by Paul Stringer

Other Decks in Technology

Transcript

  1. •Doesn’t scale (slow, fragile, complex) •Very hard to exercise all

    business logic •Very poor defect localisation •Customer doesn’t write or read them •Abandoned, revert to manual testing
  2. Plan, Read, Write, Execute requirements Works across platforms (Mac, iOS,

    Android) An alternative, first UI to your App Fully integrated standalone wiki and acceptance testing framework
  3. FitNesse <Slim Server> Fixtures System Instructions Web Browser UIKit Views

    View Controllers System Touch Events Human Responses Updates CI FitNesse FitNesse YourAcceptanceTests.App Your.App
  4. Clean Architecture Affords the ability to independently validate behaviour separate

    from annoying implementation details (e.g. Databases, Network or UI)
  5. Final Thoughts ATDD/BDD is the practice of customers writing the

    tests Fully understanding requirements early saves effort later Non UI based testing is fast, reliable and scales Helps improve collaboration and understanding across team and most importantly with the customer. Good choice for long-term, complex software
  6. TicTacToe - http:/ /bit.ly/CMDU-TTT ‘OCSlimProject’ - GitHub, CocoaPods Tutorial -

    http:/ /stringerstheory.net Questions - @paulstringer Discover More… Code and Resources