All Projects → pot8os → Kotlin Espresso Sample

pot8os / Kotlin Espresso Sample

Licence: mit
MVP Android project that uses Espresso instrumentation tests and Robolectric. All written in Kotlin.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Kotlin Espresso Sample

Clean Mvvm Archcomponents
👽 Android app consuming Star Wars API.Built with clean architecture ,MVVM pattern, Koin , Coroutines + Flows ,Architecture Components, Data Binding , Firebase , Unit/UI Tests ,Motion Layout
Stars: ✭ 285 (+174.04%)
Mutual labels:  junit, espresso, robolectric
Android Gif Example
Gif RecyclerView in MVP using Dagger 2 + Retrofit 2 + Moshi + RxJava 2 + Glide 4 with JUnit and Espresso tests written in Kotlin + Kotlin DSL!
Stars: ✭ 334 (+221.15%)
Mutual labels:  junit, espresso, robolectric
AndroidTestingBox
Android project to experiment various testing tools
Stars: ✭ 63 (-39.42%)
Mutual labels:  junit, espresso, robolectric
Testowanieoprogramowania
Testowanie oprogramowania - Książka dla początkujących testerów
Stars: ✭ 146 (+40.38%)
Mutual labels:  junit, espresso
Marvel
Marvel Characters Android Application Assigned by smava GmbH
Stars: ✭ 227 (+118.27%)
Mutual labels:  espresso, robolectric
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 (-39.42%)
Mutual labels:  espresso, robolectric
Test Smells
Test Smells for Android developers
Stars: ✭ 120 (+15.38%)
Mutual labels:  junit, robolectric
allure-kotlin
Allure integrations for test frameworks targeting Kotlin and Java with 1.6 source compatibility.
Stars: ✭ 40 (-61.54%)
Mutual labels:  espresso, robolectric
Androidunittest
Save time & clear your unit tests on Android !
Stars: ✭ 205 (+97.12%)
Mutual labels:  junit, robolectric
EasyUtAndroid
Android unit testing example 全面的android应用单元测试方法及案例
Stars: ✭ 21 (-79.81%)
Mutual labels:  junit, robolectric
Androidut
Android开发中必要的一环---单元测试(Unit Test)
Stars: ✭ 419 (+302.88%)
Mutual labels:  junit, robolectric
Kotlin Android Starter
[Kotlin Android] Kotlin Android starter based MVP/Dagger2/RxJava2/Robolectric/Espresso/Mockito. It provides a generator to fast create a Kotlin Android project.
Stars: ✭ 589 (+466.35%)
Mutual labels:  espresso, robolectric
Android Jetpack Playground
Pet project for cutting edge Android development with Jetpack
Stars: ✭ 266 (+155.77%)
Mutual labels:  espresso, robolectric
Android Starter
[Android Architecture] Android starter based on MVP/Dagger2/RxJava2/Robolectric/Espresso/Mockito. It provides a generator to fast create a Android template project.
Stars: ✭ 522 (+401.92%)
Mutual labels:  espresso, robolectric
Mvvm Kotlin Android Architecture
MVVM + Kotlin + Retrofit2 + Hilt + Coroutines + Kotlin Flow + mockK + Espresso + Junit5
Stars: ✭ 1,014 (+875%)
Mutual labels:  junit, espresso
Githubprojectbrowser
This is a sample Android Project that is based on Clean Architecture
Stars: ✭ 64 (-38.46%)
Mutual labels:  espresso
Newspaper
An aggregated newspaper app containing news from 10+ local news publishers in Hong Kong. Made with ❤
Stars: ✭ 82 (-21.15%)
Mutual labels:  espresso
Device Automator
An easy to use, Espresso like, syntax on top of the Android UI Automator testing framework
Stars: ✭ 63 (-39.42%)
Mutual labels:  espresso
Silvia Pi
A Raspberry Pi modification to the Rancilio Silvia Espresso Machine implementing PID temperature control.
Stars: ✭ 91 (-12.5%)
Mutual labels:  espresso
Sample Code Movies
This repository contains sample code. Its purpose being, to quickly demonstrate Android and software development in general, clean code, best practices, testing and all those other must know goodies.
Stars: ✭ 81 (-22.12%)
Mutual labels:  robolectric

Kotlin-Espresso-Sample

This is MVP project for Android app that is written in Kotlin and uses Espresso to run both unit and instrumented tests.

What you can learn from this project

  • How to share test cases between Instrumented tests and unit tests
  • Fundamental and practical methods that how to write Android code using Android Architecture Components that brings ViewModel.

Requirements

  • Run with Android Studio 4 (or newer)

Target app

No need to explain about the app since you are familiar with this well.. :)

Run tests

Requires a connected device to run Instrumented tests. It doesn't matter whether it's a simulator and a real one.

Using Android Studio

Instrumented Tests Unit Tests
Gradle task name :app:connectedAndroidTest

Run Task
:app:testDebugUnitTest

Run Unit Test
Location of test code src/androidTest/kotlin
Path
src/test/kotlin
Path

License

MIT

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].