Create compelling tests

Embed Size (px)

Text of Create compelling tests

  • with a risk based approach@sammy_lee12

    Create compelling tests

  • You can ask questions

    Example

  • 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

    Process $8 billion annually

    $100 million in funding

  • Microservices back end

    Test Driven Development

    Pair Programming

  • Microservices back end

    Test Driven Development

    Pair Programming

  • Microservices back end

    Test Driven Development

    Pair Programming

  • Lets get into it

  • Break app into flows

  • 1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

  • 1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

  • 1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

  • 1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

  • 1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

  • 1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

  • Map flows onto a

    Risk Board

  • Frequency of use

  • Frequency of use

  • Impact if broken

    Frequency of use

  • Impa

    ct if

    bro

    ken

    Frequency of use

  • Impa

    ct if

    bro

    ken

    Frequency of use

  • Impa

    ct if

    bro

    ken

    Frequency of use

    1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

    1

  • Impa

    ct if

    bro

    ken

    Frequency of use

    1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

    1

    2

  • Impa

    ct if

    bro

    ken

    Frequency of use

    1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

    1 2

    3

  • Impa

    ct if

    bro

    ken

    Frequency of use

    1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

    1 2

    3 4

  • Impa

    ct if

    bro

    ken

    Frequency of use

    1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

    1 2

    3

    4

    5

  • Impa

    ct if

    bro

    ken

    Frequency of use

    1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

    1 2

    3

    4

    5

    6

  • Impa

    ct if

    bro

    ken

    Frequency of use

    1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

    1 2

    3

    4

    5

    6

  • Impa

    ct if

    bro

    ken

    Frequency of use

    1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

    1 2

    3

    4

    5

    6

  • Impa

    ct if

    bro

    ken

    Frequency of use

    1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

    1 2

    3

    4

    5

    6

  • Impa

    ct if

    bro

    ken

    Frequency of use

    1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

    1 2

    3

    4

    5

    6

  • Impa

    ct if

    bro

    ken

    Frequency of use

    1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

    1 2

    3

    4

    5

    6

  • Impa

    ct if

    bro

    ken

    Frequency of use

    1.Registration 2.Transfer Funds 3.View Transactions 4.Contact Us 5.Change Pin 6.Log In

    1 2

    3

    4

    5

    6

    Security Impact

  • Heres one I prepared earlier

    Example

  • Break flows into tests

  • 5. Change Pin

    Flow

  • 5. Change Pin

    Registered Device and Logged in

    SetupFlow

  • 5. Change Pin

    Registered Device and Logged in

    Click on Hamburger side menu

    Setup Test steps and checksFlow

  • 5. Change Pin

    Registered Device and Logged in

    Click on Hamburger side menu

    Setup Test steps and checksFlow

    See MenuList

  • 5. Change Pin

    Registered Device and Logged in

    Click on Hamburger side menu

    See MenuList

    Setup Test steps and checksFlow

    Click on Change

    Passcode

  • Click on Change

    Passcode5. Change

    PinRegistered Device and Logged in

    Click on Hamburger side menu

    See MenuList

    Setup Test steps and checksFlow

    See change

    passcode screen

  • See change

    passcode screen

    Click on Change

    Passcode5. Change

    PinRegistered Device and Logged in

    Click on Hamburger side menu

    See MenuList

    Setup Test steps and checksFlow

    Enter correct pin

  • See change

    passcode screen

    Click on Change

    Passcode5. Change

    PinRegistered Device and Logged in

    Click on Hamburger side menu

    See MenuList

    Enter correct pin

    Setup Test steps and checksFlow

    Enter incorrect

    pin

  • See change

    passcode screen

    Click on Change

    Passcode5. Change

    PinRegistered Device and Logged in

    Click on Hamburger side menu

    See MenuList

    Enter correct pin

    Setup Test steps and checksFlow

    Enter incorrect

    pin

    Enter pin after

    session timeout

  • See change

    passcode screen

    Click on Change

    Passcode5. Change

    PinRegistered Device and Logged in

    Click on Hamburger side menu

    See MenuList

    Enter correct pin

    Setup Test steps and checksFlow

    Enter pin after

    session timeout

    Enter incorrect

    pin

    Enter phone in

    aeroplane mode

  • See change

    passcode screen

    Click on Change

    Passcode5. Change

    PinRegistered Device and Logged in

    Click on Hamburger side menu

    See MenuList

    Enter correct pin

    Setup Test steps and checksFlow

    Enter pin after

    session timeout

    Enter phone in

    aeroplane mode

    Enter incorrect

    pin

    Press back button

  • See change

    passcode screen

    Click on Change

    Passcode5. Change

    PinRegistered Device and Logged in

    Click on Hamburger side menu

    See MenuList

    Enter correct pin

    Setup Test steps and checksFlow

    Enter pin after

    session timeout

    Enter phone in

    aeroplane mode

    Press back button

    Enter incorrect

    pin

  • See change

    passcode screen

    Click on Change

    Passcode5. Change

    PinRegistered Device and Logged in

    Click on Hamburger side menu

    See MenuList

    Enter correct pin

    Setup Test steps and checksFlow

    Enter pin after

    session timeout

    Enter phone in

    aeroplane mode

    Press back button

    Enter incorrect

    pin

    See toast notification

  • See change

    passcode screen

    Click on Change

    Passcode5. Change

    PinRegistered Device and Logged in

    Click on Hamburger side menu

    See MenuList

    Enter correct pin

    Setup Test steps and checksFlow

    Enter pin after

    session timeout

    Enter phone in

    aeroplane mode

    Press back button

    Enter incorrect

    pinSee toast

    notification

    Enter incorrect

    pin 2 more times

  • See change

    passcode screen

    Click on Change

    Passcode5. Change

    PinRegistered Device and Logged in

    Click on Hamburger side menu

    See MenuList

    Enter correct pin

    Setup Test steps and checksFlow

    Enter pin after

    session timeout

    Enter phone in

    aeroplane mode

    Press back button

    Enter incorrect

    pinSee toast

    notification

    Enter incorrect

    pin 2 more times

    7. Lock pin

  • Enter correct pin

    See change

    passcode screen

    Click on Change

    Passcode5. Change

    PinRegistered Device and Logged in

    Click on Hamburger side menu

    See MenuList

    Setup Test steps and checksFlow

    Enter incorrect

    pinSee toast

    notification

  • Enter correct pin

    See change

    passcode screen

    Click on Change

    PasscodeSee toast

    notification5. Change

    PinRegistered Device and Logged in

    Click on Hamburger side menu

    See MenuList

    Enter incorrect

    pin

    Setup Test steps and checksFlow

  • See change

    passcode screen

    Click on Change

    PasscodeSee toast

    notification5. Change

    PinRegistered Device and Logged in

    Click on Hamburger side menu

    See MenuList

    Enter correct pin

    See create pin screen

    Enter incorrect

    pin

    Setup Test steps and checksFlow

  • See change

    passcode screen

    Click on Change

    PasscodeSee toast

    notification5. Change

    PinRegistered Device and Logged in

    Click on Hamburger side menu

    See MenuList

    Enter correct pin

    See create pin screen

    Enter incorrect

    pin

    Setup Test steps and checksFlow

  • See change

    passcode screen

    Click on Change

    PasscodeSee toast

    notification