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

Жизнь без QA

MOSDROID
January 27, 2018

Жизнь без QA

Александр Смирнов @ PapaJobs – MOSDROID #5 Boron

Обсудим как быть уверенными в качестве вашего приложения без специально обученных и выделенных для этого людей. Если же в вашей команде есть QA специалисты, вам доклад поможет уменьшить количество багов которые они заводят после того как вы поставили Done таску в JIRA.

MOSDROID

January 27, 2018
Tweet

More Decks by MOSDROID

Other Decks in Programming

Transcript

  1. GOOD APP IT KNOWS ITS AUDIENCE ITS STABLE IT DOES

    ONE THING WELL ITS FAST ITS POLISHED
  2. JUST RELAX RETROFIT || OKHTTP || RXJAVA || COROUTINES CLEAN

    ARCHITECTURE || LIVE DATA || ROOM PICASSO || GLIDE || FRESCO MVVM || MVP || MVI || MVC KOTLIN
  3. RELAX? 1 CASE PER MS = 1.5 WEEKS TO FINISH

    1 CASE PER SECOND = 29 YEARS FOR TESTING
  4. RELAX? 1 CASE PER MS = 1.5 WEEKS TO FINISH

    1 CASE PER SECOND = 29 YEARS FOR TESTING MOST AT KILLS AND RELAUNCH APP WITH EACH TEST CASE
  5. REAL SITUATION A LACK OF AUTOMATION SOLO – IT’S WITHOUT

    TEST PLAN? TESTING IS HARD QA PROCESS PROBLEMS
  6. TABLE CURRENT STATE STEPS NEW STATE TO VERIFY – Launch

    App Empty task manager state No tasks Press “+” Verify new task New task modal Create task Return to task list
 New task is present Single task is shown Press “done” Task is remove from list Empty task manager state Single task is shown Press “remove” Task is remove from list Empty task manager state
  7. TEST CASES PRESS “+” INPUT RANDOM TEXT LAUNCH APPLICATION CHOOSE

    CATEGORY PRESS “DONE” VERIFY THE ITEM ON THE LIST
  8. WHY TEST CASES HITS EVERY STATE A USER CAN READILY

    CONVERTIBLE TO TEST PLAN CLEAR AND CONCISE PATTERNS FOR APP USAGE FROM A “GOOD” STATE DIAGRAM CAN INFER REQUIREMENTS
  9. TEST PLAN DO NOT NEED ANCILLARY REQUIREMENTS TO FOLLOW PLAN

    STRAIGHT FORWARD EXECUTION EASILY FLOWS FROM A STATE TABLE HIGHLY REPEATABLE + COVER ALL STATES PROVIDES COMPLETED VERSUS NOT-COMPLETED LIST ENABLES QA/TEAM REVIEW
  10. WHAT SHOULD YOU TEST? ADHOC TESTING NEGATIVE TESTING ALWAYS TEST

    THE HAPPY PATH REPEAT TESTS LOOK AT ALL SUPPORTED OS LEVELS
  11. UPGRADE RELEASE BUGS? LOOK FOR THE FOLLOWING: ALWAYS DO UPGRADE

    TESTS DATABASE/DATA ISSUES ENSURE NO DEBUG OPTIONS ARE LEFT DATA/SETTINGS ARE RETAINED
  12. USE YOUR APP IN ANY FREE MINUTE – USE YOUR

    APP REPEAT SPEND SOME TIME GETTING TO KNOW YOUR APP
  13. WHAT IF!? WHAT IF I DO SOMETHING!? WHAT IF USER

    DO SOMETHING!? WHAT IF THERE IS BETTER WAY TO DO SOMETHING!? WHAT IF DATA WILL STRANGE!?
  14. ROADS OF USING APP RESUMED WITH MULTITASKING VIEW APP OPENED

    VIA DEEPLINK APP ICON TAPPED CLEAN APP LAUNCH REAL DEVICES
  15. CONSIDERATIONS PERMISSIONS + ZERO SCREENS API STATE NETWORK CONNECTIVITY (HELLO

    2GTUESDAY) FIRST LAUNCH VS SUBSEQUENT LAUNCHES UPGRADE VS CLEAN INSTALL BACKGROUND VS FOREGROUND ACTIONS
  16. OFFLINE LOSE INTERNET WHILE USING THE APP NO INTERNET FROM

    START OFFLINE SUPPORT: “TRY AGAIN, LATER”, NO MORE – YONATHAN LEVIN
  17. STATE TRANSITION STATE TRANSITION POSSIBLE WHILE APP IS OPEN IS

    ALL OF THE DATA FOR A STATE TRANSITION PRESENT? APP IS BACKGROUNDED (BACKGROUND REFRESH) APP IS KILLED
  18. STATE TRANSITION MISSED CONNECTIONS WHAT IF THE APP IS KILLED

    DURING STATE1, AND MISSES STATE2 ENTIRELY? IS ALL OF THE DATA FOR A STATE TRANSITION PRESENT? WHAT HAPPENS IF THE API HICCUPS, AND BYPASSES STATES2? CAN THE APP RECOVER AND SEAMLESSLY GO FROM STATE 1 TO STATE3?
  19. BE PEDANT IS THIS SOMETHING THAT COULD HAPPEN? IS THIS

    SOMETHING THAT SHOULD BE EXPECTED? IS THIS REALLY A BUSINESS QUESTION
  20. SHORT STORY USE AUTOMATION TOOLS TEST BLACK BOX LIKE AS

    USER NOT AS UNIT TESTS TALK WITH QA AND CREATE TEST CASES USE YOUR APP REVIEW – DO IT YOURSELF MAKE FUN