Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smiklosovic/droidium-aerogear-todo-test
https://github.com/smiklosovic/droidium-aerogear-todo-test
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/smiklosovic/droidium-aerogear-todo-test
- Owner: smiklosovic
- Created: 2013-10-10T14:33:34.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-03T10:13:39.000Z (about 10 years ago)
- Last Synced: 2024-11-03T19:21:18.364Z (about 2 months ago)
- Language: Java
- Homepage: http://aerogear.org
- Size: 9.63 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
=== What does it do?
https://github.com/aerogear/TODO[Aerogear TODO project]
http://aerogear.org[AeroGear project]
https://github.com/arquillian/arquillian-droidium[Arquillian Droidium project]
There is AeroGear TODO web app as ear and Android native application as a client for it.
It deploys ear application to JBoss AS and Android TODO client application to emulator. Then there
are two instances of WebDriver - one interacts with web application and another one with mobile phone.Test mimics that user adds some project and task into web page and after it, we are logged in with
mobile WebDriver and we are instrumenting native Android application. We logged there as well, we
see that task we added in web client is shown in mobile phone. After it, we add some task in mobile
phone and when done, we refresh page in web client and we see that task added in mobile phone is displayed
there as well.If you know Arquillian Graphene, very cool feature is that it uses Page fragments which will work even on
native Android activity. There is almost no difference between mobile and web testing and we can interleave
that easilly.When you are executing tests, you have to set name of (possibly started) AVD
you want to use for test executions. You _have to_ provide this information
for Maven otherwise tests will fail.`mvn clean test -Dname.avd=name_of_avd`
This tests uses Selendroid server APK from http://dominikdary.github.io/selendroid/[Selendroid] project.
You have to have `jarsigner`, `keytool` and so on in your system. You are usually good with default JDK installation.
You should have these commands in `$JAVA_HOME`.