ayoubbk / PokeDex-1

A sample pokedex application that serves as a playground for me to try out testing and other best practices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PokeDex

Android Build

A sample pokedex application that serves as a playground for me to try out testing and other best practices.

This should be a good example of MVVM architecture, along with how to use reactive flows. There will be full unit and UI test support as well.

Network Mocking

If you landed here to learn about Espresso testing and MockWebServer, check out the following resources:

Unit Testing

If you landed here to learn about unit testing, check out the following resources:

  • This blog post to on overriding Schedulers/Dispatchers.
  • This pull request which demonstrates adding the robot pattern for unit tests.

Coroutines

Want to see code examples of coroutines, and compare them to RxJava? You could analyze this pull request.

Repository Pattern

Check out this blog post for understanding the Repository Pattern.

Static Analysis

In October 2019 I spoke at the NY Android Developers meetup and presented on static analysis tools. I used this repo as a sample project. You can find the slides here.

About

A sample pokedex application that serves as a playground for me to try out testing and other best practices.


Languages

Language:Kotlin 95.9%Language:Ruby 2.1%Language:Python 1.5%Language:Shell 0.5%