The Wayback Machine - https://web.archive.org/web/20210106152402/https://github.com/wireapp/wire-android/pull/2828
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

Android Functional(UI) Testing: Introducing Espresso #2828

Closed
wants to merge 2 commits into from

Conversation

@android10
Copy link
Member

@android10 android10 commented May 6, 2020

What's new in this PR?

In an effort to improve the quality of our android client and in hand with the creation of a new android infrastructure system, this PR aims to introduce Espresso as our framework for testing UI components and workflow.

Blockers

At the time being and due to our current codebase using a Scala Plugin for compilation which leads to the following issue because of the usage of an older gradle version:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformClassesWithDexBuilderForDevDebugAndroidTest'.
> com.android.build.api.transform.TransformException: 
java.lang.UnsupportedOperationException: 
java.lang.UnsupportedOperationException: This feature requires ASM6

Running tests

./gradlew connectedDevDebugAndroidTest

Notes

There are existing Instrumentation tests not in usage that need to be checked:

Useful Links

APK

Download build #2047

class SettingsAboutActivityTest : FunctionalTest(SettingsAboutActivity::class.java) {

@Test
fun checkToolbar() {

This comment has been minimized.

@mejdoo

mejdoo May 27, 2020
Contributor

It's a good initiative to introduce Espresso. I wonder how should we define our test scenarios for functional tests?

@android10
Copy link
Member Author

@android10 android10 commented Jul 9, 2020

Closing this one, since it does not make any sense any more until we are able to bump android build tool. I will bring it back when required.

@android10 android10 closed this Jul 9, 2020
@android10 android10 deleted the functional-testing-framework branch Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.