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

UI Testing for Fun and Profit

UI Testing for Fun and Profit

Presentation from Try Swift Tokyo 2018

Sarah E. Olson

March 01, 2018
Tweet

More Decks by Sarah E. Olson

Other Decks in Technology

Transcript

  1. UI TESTING
    For FUN … and PROFIT?!

    View full-size slide

  2. WHAT ARE WE DOING?

    View full-size slide

  3. ALL THE WAYS WE TEST

    View full-size slide

  4. SIMULATOR
    OR DEVICE

    View full-size slide

  5. UNIT TESTING

    View full-size slide

  6. INTEGRATION TESTING

    View full-size slide

  7. CONTINUOUS
    INTEGRATION

    View full-size slide

  8. BETA TESTING

    View full-size slide

  9. RELEASE TESTING

    View full-size slide

  10. PRODUCTION TESTING

    View full-size slide

  11. WHAT COULD WE DO?

    View full-size slide

  12. WHY XCUITEST?
    ➤ Write in Obj-C and Swift
    ➤ XCUITest recording
    ➤ Consolidated code coverage
    ➤ Seamless integration with build process

    View full-size slide

  13. TRANSLATIONS

    View full-size slide

  14. WHAT DID I LEARN?

    View full-size slide

  15. WHAT ARE OTHER TEAMS
    DOING?

    View full-size slide

  16. DO YOU CURRENTLY DO UI TESTING?

    View full-size slide

  17. WHICH TOOLS OR FRAMEWORKS?
    XCUITest
    KIF ➡ Earl Grey Fastlane Snapshots

    View full-size slide

  18. WHAT FUNCTIONALITY DO YOU TEST?
    ➤ Core functionality
    ➤ Smoke testing
    ➤ Navigation
    ➤ Analytics

    View full-size slide

  19. WHO WRITES / MAINTAINS?
    ➤ Written by developers
    ➤ Maintained by developers & QA

    View full-size slide

  20. WHAT SHOULD
    TRELLO DO?

    View full-size slide

  21. GOALS
    ➤Automated smoke tests
    ➤Mock API
    ➤Snapshot testing

    View full-size slide

  22. SARAH E.
    OLSON
    @saraheolson

    View full-size slide