getlantern / firetweet

FireTweet for Android powered by Lantern
271 stars 71 forks source link

Initial tests #83

Closed xiam closed 9 years ago

xiam commented 9 years ago

Adding tests for interface events on an Android emulator.

This test script attempts to log in with a wrong password, waits for an error, fixes its mistake and tries again.

Tests are compared against a set of snapshots stored in ./tests/success

I also modified the travis.yml file according they documentation on Android (http://docs.travis-ci.com/user/languages/android/) but since Firetweet is still private we can't actually enable this repo in travis.

See: https://github.com/getlantern/firetweet/issues/78

xiam commented 9 years ago

Hello @atavism, could you help me reviewing this test script? I also added instructions on how to run the whole thing. Thanks!