okreplay - 📼 Record and replay OkHttp network interaction in your tests.

  •        21

Automatically record and replay OkHttp network interaction through your Android application. This project was based on the great Betamax library - which was inspired by Ruby's awesome VCR gem.You don’t want 3rd party downtime, network issues or resource constraints (such as the Twitter API’s rate limit) to break your tests. Writing custom stub web server code and configuring the application to connect to a different URI when under test is tedious and might not accurately simulate the real service.

https://github.com/airbnb/okreplay

Tags
Implementation
License
Platform

   




Related Projects

Fast-Android-Networking - 🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀

  •    Java

Fast Android Networking Library is a powerful library for doing any type of networking in Android applications which is made on top of OkHttp Networking Layer. Fast Android Networking Library takes care of each and everything. So you don't have to do anything, just make request and listen for the response.

okhttp-idling-resource - An Espresso IdlingResource for OkHttp.

  •    Java

An Espresso IdlingResource for OkHttp.Register the idling resource with Espresso before any of your tests.

Fetch - The best file downloader library for Android

  •    Java

Fetch is a simple, powerful, customizable file download manager library for Android. If you are saving downloads outside of your application's sandbox, you will need to add the following storage permissions to your application's manifest. For Android SDK version 23(M) and above, you will also need to explicitly request these permissions from the user.

OkHttp - An HTTP & HTTP/2 client for Android and Java applications

  •    Java

OkHttp is an HTTP & HTTP/2 client for Android and Java applications. It provides HTTP/2 support allows all requests to the same host to share a socket, Connection pooling, Response caching and lot more.


NoHttp - Android实现Http标准协议框架,支持缓存(提供五种缓存模式)、代理、重定向,底层可动态切换OkHttp、URLConnection。

  •    Java

Android实现Http标准协议框架,支持缓存(提供五种缓存模式)、代理、重定向,底层可动态切换OkHttp、URLConnection。

MvRx - MvRx: Android on Autopilot

  •    Kotlin

MvRx (pronounced mavericks) is the Android framework from Airbnb that we use for nearly all product development at Airbnb. When we began creating MvRx, our goal was not to create yet another architecture pattern for Airbnb, it was to make building products easier, faster, and more fun. All of our decisions have built on that. We believe that for MvRx to be successful, it must be effective for building everything from the simplest of screens to the most complex in our app.

Barista - :coffee: The guy who serves a great Espresso

  •    Kotlin

Barista makes developing UI test faster, easier and more predictable. Built on top of Espresso, it provides a simple an discoverable API, removing most of the boilerplate and verbosity of common Espresso tasks. You and your Android team will write tests with no effort. Psst, hey. Migrating to Barista 2? Check out this guide to help you with the transition.

cortado - Android Espresso made more fluent :coffee:

  •    Java

Check out my blog or say hi on Twitter. Cortado provides a layer of abstraction above Espresso, so it's a bit easier to use.

double-espresso - [DEPRECATED] A pure Gradle port of the Espresso testing utility for Android!

  •    Java

[DEPRECATED] A pure Gradle port of the Espresso testing utility for Android!

Espresso - 🚚 Espresso is an express delivery tracking app designed with Material Design style, built on MVP(Model-View-Presenter) architecture with RxJava2, Retrofit2, Realm database and ZXing

  •    Java

Espresso is an express delivery tracking app designed with Material Design style, built on MVP(Model-View-Presenter) architecture with RxJava2, Retrofit2, Realm database and ZXing.The source code in this repository reflects the app which supports mobile devices running Android 5.0+.

chuck - An in-app HTTP inspector for Android OkHttp clients

  •    Java

Chuck is a simple in-app HTTP inspector for Android OkHttp clients. Chuck intercepts and persists all HTTP requests and responses inside your application, and provides a UI for inspecting their content. Apps using Chuck will display a notification showing a summary of ongoing HTTP activity. Tapping on the notification launches the full Chuck UI. Apps can optionally suppress the notification, and launch the Chuck UI directly from within their own interface. HTTP interactions and their contents can be exported via a share intent.

KataSuperHeroesAndroid - Super Heroes Kata for Android Developers

  •    Java

The application architecture, dependencies and configuration is ready to just start writing tests. In this project you'll find Dagger2 configured to be able to replace production code with test doubles easily and Espresso to be able to interact with the application user interface. Your task as Android Developer is to write all the UI tests needed to check if the Application UI is working as it should.

okhttputils - [停止维护]okhttp的辅助类

  •    Java

对okhttp的封装类,okhttp见:https://github.com/square/okhttp. 目前对应okhttp版本3.3.1.

android-test-demo - Android testing with Dagger 2, Espresso 2 and Mockito

  •    Java

Testing with Dagger 2, Espresso 2 and Mockito.

KataScreenshotAndroid - Screenshot Kata for Android Developers

  •    Java

You can compare this testing approach with a different testing strategy where the application UI is tested using just Espresso. The application architecture, dependencies and configuration is ready to just start writing tests. In this project you'll find Dagger2 configured to be able to replace production code with test doubles easily and Espresso to be able to interact with the application user interface and a screenshot testing framework ready to compare your application changes.

AndroidNetworkTools - Set of useful android network tools

  •    Java

Disappointed by the lack of good network apis in android / java I developed a collection of handy networking tools for everyday android development. The sample app is published on Google play to allow you to quickly and easier test the library. Enjoy! And please do feedback to us if your tests produce different results.

Posts - A sample Android app using Kotlin, Dagger 2, RxJava, RxAndroid, Retrofit and Android Architecture Components with a modular setup & effective networking

  •    Kotlin

A sample app to demonstrate the building of a good, modular and scalable Android app using Kotlin, Android Architecture Components (LiveData, ViewModel & Room), Dagger, RxJava and RxAndroid among others. Effective Networking - Using a combination of Retrofit, Rx, Room and LiveData, we are able to handle networking in the most effective way.