KataScreenshotKotlin - Screenshot Kata for Android Developers with Kotlin

  •        11

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

https://github.com/Karumi/KataScreenshotKotlin

Tags
Implementation
License
Platform

   




Related Projects

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.

Shot - Gradle plugin developed to facilitate screenshot testing for Android

  •    Scala

Shot is a Gradle plugin that simplifies the execution of screenshot tests using Screenshot Tests For Android by Facebook. Shot is a Gradle plugin thought to run screenshot tests for Android using the screenshot testing Facebook SDK.

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.

Kodein - Painless Kotlin Dependency Injection

  •    Kotlin

Kodein is a very simple and yet very useful dependency retrieval container. it is very easy to use and configure. If you are currently using a javax.inject compatible dependency injection library and whish to migrate to Kodein, there is a guide for that.

Kodein-DI - Painless Kotlin Dependency Injection

  •    Kotlin

Kodein is a very simple and yet very useful dependency retrieval container. it is very easy to use and configure. Kodein 5 is the current major version, but documentation is available for previous versions.


fakeit - The Kotlin fake data generator library!

  •    Kotlin

This library is a port of the Ruby gem Faker. It generates realistic fake data — like names, emails, dates, countries — for a variety of scenarios, including automated testing and database population. The library was originally created for Android projects, but it can be used in any Java or Kotlin project.

screenshot-tests-for-android - screenshot-test-for-android is a library that can generate fast deterministic screenshots while running instrumentation tests in android

  •    Java

screenshot-tests-for-android is a library that can generate fast deterministic screenshots while running instrumentation tests in android.We mimic Android's measure(), layout() and draw() to generate screenshots on the test thread. By not having to do the rendering on a separate thread we have control over animations and handler callbacks which makes the screenshots extremely deterministic and reliable for catching regressions in continuous integration.

android-junit5 - Testing with JUnit 5 for Android.

  •    Kotlin

A Gradle plugin that allows for the execution of JUnit 5 tests in Android environments using Android Gradle Plugin 3.2.0 or later. This plugin configures the unit test tasks for each build variant of a project to run on the JUnit Platform. Furthermore, it provides additional configuration options for these tests through a DSL attached to android.testOptions.

android-showcase - 💎Android application following best practices: Kotlin, coroutines, Clean Architecture, feature modules, tests, MVVM, static analysis

  •    Kotlin

Showcase is a sample project that presents modern, 2019 approach to Android application development using Kotlin and latest tech-stack. The goal of the project is to demonstrate best practices, provide a set of guidelines, and present modern Android application architecture that is modular, scalable, maintainable and testable. This application may look simple, but it has all of these small details that will set the rock-solid foundation of the larger app suitable for bigger teams and long application lifecycle. Many of the project design decisions follow official Google recommendations.

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.

android-screenshot-lib - On-demand screenshots for your Android integration tests

  •    Java

Parent pom for 'Android Screenshot library', a library intended to provide on-demand screenshots during Android integration tests.

RxTest - Kotlin DSL for easier RxJava testing.

  •    Kotlin

For bugs, questions and discussions please use the Github Issues.

composer - Reactive Android Instrumentation Test Runner.

  •    Kotlin

Problem 1: Our UI tests are stable, but we saw a lot of UI tests build failures. About ~50% of our CI builds were failing. All such failures of UI tests came from Spoon not being able to run tests on one or more emulators (device is red in the report and error message is …work/emulator-5554/result.json (No such file or directory), basically it timed out on installing the apk on a device, increasing adb timeout did not help, all emulators responded to adb commands and mouse/keyboard interactions, we suppose problem is in in ddmlib used by Spoon.Solution: Composer does not use ddmlib and talks to emulators/devices by invoking adb binary.

android-testing-templates

  •    Java

Android Testing Blueprint (in Java and Kotlin) - A collection of Google's Android testing tools and frameworks, all integrated in a single application project. The testing templates use the ATSL. Visit the Android Testing Support Library site for more information.

Atmosphere - Black box testing framework for Android

  •    Java

Atmosphere is a simply a black-box testing framework for native android applications. You can configure which tests are going to be executed on which device. You can even specify tests to be run on multiple different, in parameters devices, simultaneously.

android-testing - Android Testing Codelab

  •    Java

This folder contains the source code for the Android testing codelab. It gives an introduction into testing on Android, including unit tests and UI tests. Clone this repository, enter the top level directory and run ./gradlew tasks to get an overview of all the tasks available for this project.