All Projects → geniusmart → Loveut

geniusmart / Loveut

samples for Robolectric 3.1.4

Projects that are alternatives of or similar to Loveut

Weather-Guru-MVP
Sample Material-design Android weather application build with MVP architectural approach using Dagger2, RxJava2, Retrofit2, Event-Bus, GreenDao, Butterknife, Lottie etc.
Stars: ✭ 15 (-91.53%)
Mutual labels:  robolectric
Androidut
Android开发中必要的一环---单元测试(Unit Test)
Stars: ✭ 419 (+136.72%)
Mutual labels:  robolectric
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 (-54.24%)
Mutual labels:  robolectric
EasyUtAndroid
Android unit testing example 全面的android应用单元测试方法及案例
Stars: ✭ 21 (-88.14%)
Mutual labels:  robolectric
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 (+61.02%)
Mutual labels:  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 (+232.77%)
Mutual labels:  robolectric
realm-tester
Writing tests using Realm Java
Stars: ✭ 14 (-92.09%)
Mutual labels:  robolectric
Just Another Android App
An Android base app with loads of cool libraries/configuration NOT MAINTAINED
Stars: ✭ 1,654 (+834.46%)
Mutual labels:  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 (+88.7%)
Mutual labels:  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 (-64.41%)
Mutual labels:  robolectric
DeezerClone
This Application using Dagger Hilt, Coroutines, Flow, Jetpack (Room, ViewModel, LiveData),Navigation based on MVVM architecture.
Stars: ✭ 81 (-54.24%)
Mutual labels:  robolectric
Android Jetpack Playground
Pet project for cutting edge Android development with Jetpack
Stars: ✭ 266 (+50.28%)
Mutual labels:  robolectric
Robolectric
Android Unit Testing Framework
Stars: ✭ 5,372 (+2935.03%)
Mutual labels:  robolectric
AndroidTestingBox
Android project to experiment various testing tools
Stars: ✭ 63 (-64.41%)
Mutual labels:  robolectric
Kotlin Espresso Sample
MVP Android project that uses Espresso instrumentation tests and Robolectric. All written in Kotlin.
Stars: ✭ 104 (-41.24%)
Mutual labels:  robolectric
allure-kotlin
Allure integrations for test frameworks targeting Kotlin and Java with 1.6 source compatibility.
Stars: ✭ 40 (-77.4%)
Mutual labels:  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 (+194.92%)
Mutual labels:  robolectric
Calendar
Simple event calendar, with agenda view
Stars: ✭ 135 (-23.73%)
Mutual labels:  robolectric
Test Smells
Test Smells for Android developers
Stars: ✭ 120 (-32.2%)
Mutual labels:  robolectric
Electricspock
Bridging Robolectric and Spock framework.
Stars: ✭ 16 (-90.96%)
Mutual labels:  robolectric

Robolectric 3.x 的介绍和实战

当前Robolectric 版本

  • 3.1.4
  • 其他版本请查看分支

Branch

项目包含以下Android代码的测试

  1. Activity
    • 创建实例的测试
    • 生命周期的测试
    • 跳转
    • UI组件状态
    • Dialog和Toast
    • Fragment
    • 访问资源文件的测试
  2. BroadcastReceiver
  3. Service
  4. 自定义Shadow对象
  5. Retrofit2进行网络请求
  • 真实网络请求的测试
  • 如何模拟网络请求
  • 网络请求的异步回调如何进行测试
  1. SQLiteOpenHelper操作DB的测试
  2. OrmLite测试
  3. ContentProvider
  4. 如何打印日志

Open source projects

更多关于此工程的介绍,查看以下博客

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