Android App Testing

Demo Video

https://www.youtube.com/watch?v=SXL8qgxMDgw

Framework Used

  • Android Support test library(Espresso)
  • Junit
  • Spoon
  • Hamcrest

Features

  • Unit Test
  • Test Coverage
  • Running on multiple device simultaneously
  • Automated build
  • Continous integration
  • ​Multiple App Flavours(demo/full)
  • Automated App signing
  • User event, gesture support
  • UI Automator

Source Code

https://github.com/narendrasoni1989/EspressoDemo

Live Demo

#running test cases in all test classes using Spoon
EspressoDemo$ gradle spoon


#running test cases in all test classes using default gradle wrapper
EspressoDemo$ ./gradlew connectedCheck


#running test cases in Single Class
gradle spoon -PspoonClassName=com.hello.espresso.LoginActivityTest

Test Report

file:///Users/narendra/Documents/workspace/AndroidWorkspace/EspressoDemo/app/build/spoon/free/debug/device/04ea8a528291e81b.html

Thanks

Questions ?

Made with Slides.com