GithubHelp home page GithubHelp logo

unittest-in-android's Introduction

概要

AndroidアプリケーションプロジェクトにRobolectricを利用したユニットテストの導入方法をまとめます。

はじめに

ユニットテスト初学者がまとめた内容のため、誤った解釈など不備があるかも知れません。
加筆・修正は適宜行う予定です。

コンテンツ

  1. 環境構築
  2. ライブラリ
  3. Tips

1. 環境構築

環境構築の方法についてまとめます。各種ライブラリについては後述します。

2. ライブラリ

ユニットテストで導入したライブラリやプラグインについてまとめます。

3. Tips

あくまで個人的なユニットテストに関するTipsです。

参考資料

参考にさせて頂いた資料の一覧です。

  1. JUnit実践入門
    JUnitの基本から実践的な内容まで初学者にも理解しやすい内容です。
  2. JUnit in Action
    JUnit実践入門に記載されていない内容を補うことが出来ます。
  3. xUnitPatterns
    説明不要ですが、xUnitにおけるテストパターンが書かれています。
  4. JUnit実践入門 xUnitTestPatternsで学ぶユニットテスト
    ユニットテストに関する基礎がわかりやすく解説されています。
  5. xUnit Test PatternsのTest Doubleパターン
    テストダブルについてわかりやすく解説されています。
  6. C0/C1/C2 ユニットテストのカバレッジ(C0/C1/C2)についてわかりやすく解説されています。

unittest-in-android's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.