Giter Site home page Giter Site logo

kougensyou / espresso-test-sample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peaks-cc/espresso-test-sample

0.0 1.0 0.0 6.31 MB

A gardening app illustrating Android development best practices with Android Jetpack.

Home Page: https://developer.android.com/jetpack/

License: Apache License 2.0

Kotlin 58.33% Java 41.67%

espresso-test-sample's Introduction

Android Sunflower for Androidテスト全書

Androidテスト全書(以降では単に本書籍と表記します)の第5章「UIテスト (Espresso編)」のサンプルコードです。

本リポジトリは、 GoogleがAndroid Jetpackのサンプルアプリとして開発しているAndroid Sunflowerをフォークしたものです。

Android Sunflower付属の、オリジナルのREADMEはREADME.orig.mdを参照してください。

動作確認環境

  • Android Studio 3.2 Beta 5
  • 言語設定を日本語にしたAndroid 8.0が稼動する端末

ブランチ

以下のブランチは、本書籍第5章の解説の各ステップと対応しています。 コードを確認しながら第5章を読み進めたいときに活用してください。

残りのブランチと、その意味は次の通りです。

  • my-first-recording: テストコードが無い状態のものです。 書籍を参考に、テストを書いてみたい場合は、このブランチから始めてみてください。
  • espresso-test-sample: GitHubで表示されているデフォルトブランチです。 step8-9 と同じものです
  • master: フォーク元のmasterブランチです。

オリジナルのAndroid Sunflowerとの違い

  • Android Studio 3.2 Beta 5でビルドできるように、ビルドスクリプトを修正しています。
  • 本書籍で紹介しているライブラリを依存関係に追加したり、バージョンを最新化しています。
  • app/src/androidTest配下のテストコードを全て削除しています。 代わりに、本書籍のサンプルコード(テストコード)を追加しています。
  • オリジナルのREADME.mdのファイル名をREADME.orig.mdにリネームしています。
  • app/src/debug配下に、独自のGlideモジュールを追加しています。

ライセンス

Original Copyright 2018 Google, Inc.
Modifications Copyright 2018 TOYAMA Sumio <[email protected]>

Licensed under the Apache License, Version 2.0.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.