14. Story 2: User Login As a anonymous user, I want to
login with my email and
password so I can get a greeting
phrase.
15. Acceptance Criteria 2.1. User Logged In
2.2. Invalid password
2.3. Invalid email
2.4. Network Error
2.5. Server Error
!15
16. 2.1. User Logged In
Given the app is showing initial screen
When the user enters a registered email, the right
password and taps on login
Then the app shows greeting screen (user story 3)
!16
20. 2.1. User Logged In
Given the app is showing initial screen
When the user enters a registered email, the right
password and taps on login
Then the app shows greeting screen (user story 3)
31. E2E Test A broad-stack test is a test that
exercises most of the parts of a
large application. It's often
referred to as an end-to-end
test or full-stack test or UI Test.
Broad Stack Test
Martin Fowler
32. Keep it simple, adoption is the goal
UI need to wait ?, use Thread.sleep(5000)
41. 2.1. User Logged In
Given the app is showing initial screen
When the user enters a registered email, the right
password and taps on login
Then the app shows greeting screen (user story 3)
44. Unit Test involves the testing of individual
units (classes) to demonstrate
that the program executes as per
the specification and that it
validates the design and
technical quality of that
particular unit.
Component Test
Martin Fowler
53. TDD Champion One per team, project, company
Set and review test strategy
Goals Setting
TDD adoption and level assessment
Code Coverage measuring
Cost and benefits measuring
59. THANK YOU
Roberto Allende | @robertoallende
Paperkite LTD | @paperkiteltd
read more
https://tinyurl.com/TDDMobileRefresh
60. Fearless Girl Statue - Anthony Quintano
https://www.flickr.com/photos/quintanomedia/33736548216/
https://creativecommons.org/licenses/by/2.0/
Gray Box End-to-End Testing and Automation Framework for Mobile Apps
https://github.com/wix/detox
Plone Community - Roberto Allende
https://www.flickr.com/photos/r0ver/1544661972/in/album-72157602358623481/
Asymptotic behavior of the zeros of the digamma function
Maths Exchange
https://math.stackexchange.com/questions/1200325/asymptotic-behavior-of-the-
zeros-of-the-digamma-functionhttps://math.stackexchange.com/questions/1200325/
asymptotic-behavior-of-the-zeros-of-the-digamma-function
Image Credits