Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example for Android with UiAutomator #856

Closed
wants to merge 3 commits into from

Conversation

ok3141
Copy link

@ok3141 ok3141 commented Apr 22, 2015

I added a copy of existing example for Android and replaced Espresso code by UiAutomator code. May be helpful for somebody.

@aslakhellesoy
Copy link
Contributor

Thanks a lot @shomeser!

Could you modify the build scripts so that this project is built and tested when Travis CI runs please?

dependencies {
androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.0.0'
androidTestCompile 'com.android.support.test:testing-support-lib:0.1'
androidTestCompile 'info.cukes:cucumber-android:1.2.0@jar'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should update to version 1.2.2, where cucumber-android only include a jar (and no apklib), so you don't need the @jar annotation.

@ok3141
Copy link
Author

ok3141 commented Apr 22, 2015

Okay, will do it soon.

@ok3141
Copy link
Author

ok3141 commented Apr 22, 2015

In order to run examples for Android Studio on Travis, I need to completely re-write .travis.yml in non-master branch. Travis doesn't support multi-language scripts.

As I can see, currently android-studio projects are not presented in build script. So, it should be another pull-request.

@brasmusson
Copy link
Contributor

PR #824 are changing the Travis script to run the maven based Android examples projects in a new job in the build matrix.

@ok3141
Copy link
Author

ok3141 commented Apr 23, 2015

Well, guys, I got a green build for both of Android Studio examples.

I created a different branch android-gradle with new .travis.yml script.

Build script: https://github.com/shamanland/cucumber-jvm/blob/android-gradle/.travis.yml
Travis: https://travis-ci.org/shamanland/cucumber-jvm

Now you can create a android-gradle branch in this repo and merge my changes.

@stale
Copy link

stale bot commented Feb 12, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs.

@stale stale bot added the ⌛ stale Will soon be closed by stalebot unless there is activity label Feb 12, 2018
@stale
Copy link

stale bot commented Feb 19, 2018

This issue has been automatically closed because of inactivity. You can support the Cucumber core team on opencollective.

@stale stale bot closed this Feb 19, 2018
@lock
Copy link

lock bot commented Feb 19, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Feb 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
⌛ stale Will soon be closed by stalebot unless there is activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants