create compelling tests
play

Create compelling tests with a risk based approach @sammy_lee12 A - PowerPoint PPT Presentation

Create compelling tests with a risk based approach @sammy_lee12 A bit about Tyro Banking licence Process $8 billion annually $100 million in funding Banking licence Process $8 billion annually $100 million in funding Banking licence


  1. Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu 
 change See toast Enter See create Hamburger 
 Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Key Maps to Risk board Data to set up before/ during test

  2. Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu 
 change See toast Enter See create Hamburger 
 Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Key Data to set Maps to up before/ Risk board during test User action

  3. Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu 
 change See toast Enter See create Hamburger 
 Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Key Data to set Maps to up before/ Risk board during Check/ test Success User action indicator

  4. Example Here’s one I prepared earlier

  5. Continue creating tests

  6. Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu 
 change See toast Enter See create Hamburger 
 Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen

  7. Flow Setup Test steps and checks Test 1 See Click on Registered Click on Enter 5. Change See Menu 
 change See toast Enter See create Hamburger 
 Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen

  8. Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu 
 change See toast Enter See create Hamburger 
 Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Test 2 Registered User Smooth Click on 3. View Device and See list scrolls scrolling is Transactions balance Logged in down observed

  9. Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu 
 change See toast Enter See create Hamburger 
 Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Registered User Smooth Click on 3. View Device and See list scrolls scrolling is Transactions balance Logged in down observed Test 3 Click on Registered See Menu 
 Click on See log in Hamburger 
 10. Logout Device and List Logout screen side menu Logged in

  10. Example Here’s one I prepared earlier

  11. Combine similar tests

  12. Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu 
 change See toast Enter See create Hamburger 
 Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Registered User Smooth Click on 3. View Device and See list scrolls scrolling is Transactions balance Logged in down observed Click on Registered See Menu 
 Click on See log in Hamburger 
 10. Logout Device and List Logout screen side menu Logged in

  13. Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu 
 change See toast Enter See create Hamburger 
 Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Same Registered User Smooth Click on 3. View Device and See list scrolls scrolling is Transactions balance data Logged in down observed Click on Registered See Menu 
 Click on See log in Hamburger 
 10. Logout Device and List Logout screen side menu Logged in

  14. Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu 
 change See toast Enter See create Hamburger 
 Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Registered User Smooth Click on 3. View Device and See list scrolls scrolling is Transactions balance Logged in down observed Click on Registered See Menu 
 Click on See log in Hamburger 
 10. Logout Device and List Logout screen side menu Logged in

  15. Setup Test steps and checks Flow See Click on Registered Click on Enter 5. Change See Menu 
 change See toast Enter See create 3. View Hamburger 
 Device and Change incorrect Transactions Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Click on User Smooth Click on See Menu 
 Click on See log in Hamburger 
 See list scrolls scrolling is 10. Logout balance List Logout screen side menu down observed

  16. Setup Test steps and checks Flow Test 1 See Click on Registered Click on Enter 5. Change See Menu 
 change See toast Enter See create 3. View Hamburger 
 Device and Change incorrect Transactions Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Click on User Smooth Click on See Menu 
 Click on See log in Hamburger 
 See list scrolls scrolling is 10. Logout balance List Logout screen side menu down observed

  17. Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu 
 change See toast Enter See create 3. View Hamburger 
 Device and Change incorrect Transactions Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Test 2 Click on User Smooth Click on See Menu 
 Click on See log in Hamburger 
 See list scrolls scrolling is 10. Logout balance List Logout screen side menu down observed

  18. Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu 
 change See toast Enter See create 3. View Hamburger 
 Device and Change incorrect Transactions Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Test 3 Click on User Smooth Click on See Menu 
 Click on See log in Hamburger 
 See list scrolls scrolling is 10. Logout balance List Logout screen side menu down observed

  19. Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu 
 change See toast Enter See create 3. View Hamburger 
 Device and Change incorrect Transactions Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Click on User Smooth Click on See Menu 
 Click on See log in Hamburger 
 See list scrolls scrolling is 10. Logout balance List Logout screen side menu down observed Onboarding

  20. Example Here’s our 35 fl ows covered by 5 UI tests

  21. Create UI tests

  22. Create UI tests - refactor let app = XCUIApplication() clickOnHamburglarMenu() clickChangePasscode() enterPin(1234) expect(incorrectPinToast.isDisplayed()).to(beTrue()) enterPin(4321) enterPin(4321) expect(changePinToast.isDisplayed()).to(beTrue())

  23. Accessibility inspector

  24. Summary Tests that are risk based are compelling

  25. Break app into fl ows Map fl ows onto a risk board Break fl ows into tests Create tests Maintain tests

  26. Break app into fl ows Map fl ows onto a risk board Break fl ows into tests Create tests Maintain tests

  27. Break app into fl ows Map fl ows onto a risk board Break fl ows into tests Create tests Maintain tests

  28. Break app into fl ows Map fl ows onto a risk board Break fl ows into tests Create tests Maintain tests

Recommend


More recommend