#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