All Projects → mitchtabian → Espressouitest Examples

mitchtabian / Espressouitest Examples

Examples of UI Testing with Espresso, Mockk, androidx.test

Programming Languages

kotlin
9241 projects

Labels

Projects that are alternatives of or similar to Espressouitest Examples

Android Testing Runtime Permissions
An example of using Espresso and UiAutomator to write UI tests that interact with Android M permission dialogs.
Stars: ✭ 46 (-70.7%)
Mutual labels:  espresso
Mvpandroid
Sample app to demonstrate MVP (Model - View - Presenter) architecture in android
Stars: ✭ 91 (-42.04%)
Mutual labels:  espresso
Pdfviewpager
Android widget that can render PDF documents stored on SD card, linked as assets, or downloaded from a remote URL.
Stars: ✭ 1,508 (+860.51%)
Mutual labels:  espresso
Android tmdb clean architecture
Showcase of clean architecture concepts along with Continuous Integration and Development for modular Android applications. Includes test suits (functional and unit tests) along with code coverage.
Stars: ✭ 63 (-59.87%)
Mutual labels:  espresso
Katasuperheroeskotlin
Super Heroes Kata for Android Developers in Kotlin. The main goal is to practice UI Testing.
Stars: ✭ 77 (-50.96%)
Mutual labels:  espresso
Barista
☕️ The one who serves a great Espresso
Stars: ✭ 1,351 (+760.51%)
Mutual labels:  espresso
Kaspresso
Great UI test framework
Stars: ✭ 994 (+533.12%)
Mutual labels:  espresso
Cleanguitestarchitecture
Sample project of Android GUI test automation using Espresso, Cucumber and the Page Object Pattern
Stars: ✭ 139 (-11.46%)
Mutual labels:  espresso
Newspaper
An aggregated newspaper app containing news from 10+ local news publishers in Hong Kong. Made with ❤
Stars: ✭ 82 (-47.77%)
Mutual labels:  espresso
Adbserver
Adb Server for Espresso tests
Stars: ✭ 105 (-33.12%)
Mutual labels:  espresso
Device Automator
An easy to use, Espresso like, syntax on top of the Android UI Automator testing framework
Stars: ✭ 63 (-59.87%)
Mutual labels:  espresso
Daggermock
A JUnit rule to easily override Dagger 2 objects
Stars: ✭ 1,156 (+636.31%)
Mutual labels:  espresso
Kappuccino
A kotlin library to simplify how to do espresso tests on Android.
Stars: ✭ 104 (-33.76%)
Mutual labels:  espresso
Kakao
Nice and simple DSL for Espresso in Kotlin
Stars: ✭ 1,109 (+606.37%)
Mutual labels:  espresso
Android Livedata Viewmodel
Android app that demonstrates how to use new Architecture components.
Stars: ✭ 114 (-27.39%)
Mutual labels:  espresso
Mvvm Kotlin Android Architecture
MVVM + Kotlin + Retrofit2 + Hilt + Coroutines + Kotlin Flow + mockK + Espresso + Junit5
Stars: ✭ 1,014 (+545.86%)
Mutual labels:  espresso
Silvia Pi
A Raspberry Pi modification to the Rancilio Silvia Espresso Machine implementing PID temperature control.
Stars: ✭ 91 (-42.04%)
Mutual labels:  espresso
Testowanieoprogramowania
Testowanie oprogramowania - Książka dla początkujących testerów
Stars: ✭ 146 (-7.01%)
Mutual labels:  espresso
Offlinefirstreactiveapp Tutorial
Check out the blog post for more info
Stars: ✭ 120 (-23.57%)
Mutual labels:  espresso
Kotlin Espresso Sample
MVP Android project that uses Espresso instrumentation tests and Robolectric. All written in Kotlin.
Stars: ✭ 104 (-33.76%)
Mutual labels:  espresso

UI Testing for Beginners

UI Testing for Beginners

Watch the video course here (FREE): UI Testing for Beginners

Espresso Samples:

Activities in Isolation

  1. ActivityScenario vs ActivityScenarioRule
  2. Matching with text in view

Activity Navigation

  1. Basic activity navigation testing

Test Suites

  1. Creating test suites to run multiple test classes at once

Fragments in Isolation (simple)

  1. Simple use case testing the fragments and their behavior with no dependencies

Fragments in Isolation (with Mockk & FragmentFactory Dependencies)

  1. Testing kotlin final classes (making them open for testing)
  2. More complex tests and why dependency injection is recommended
  3. Providing dependencies with a FragmentFactory

Fragments Navigation

  1. Ensuring correct fragment is in view after any particular action is taken.

Intents (image from gallery)

  1. Selecting an image from android device gallery and confirming the correct one is received by onActivityResult
  2. IntentsTestRule
  3. Custom Image Matcher

Intents (image from camera)

  1. Taking a new image with camera and confirming the correct one is received by onActivityResult
  2. IntentsTestRule
  3. Custom Image Matcher

Dialog (detecting if visible)

  1. Material Dialogs
  2. Showing a dialog and confirming it is in view
  3. Dismissing a dialog and confirming it is out of view

Dialog (capture input)

  1. Material Dialogs
  2. Capturing input from dialog and passing to fragment

Toasts (custom Toast Matcher)

  1. Confirming a toast is showing using a Custom Toast Matcher

RecyclerView

  1. Confirming correct data in RecyclerView
  2. Clicking list items
  3. Navigating to different fragments when list item is clicked
  4. Back navigation testing
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].