Skip to content

PavelETU/Covid19CasesLookup

Repository files navigation

Covid19CasesLookup

App to look up Covid cases from https://covid19api.com/

Uses:

  • Jetpack Compose (integration into existing UI)
  • BDD style UI tests:
    • Example (see more in CasesLookupUITest):
    @Test
    fun iCanSearchListOfCountries() = bddTestCase {
        givenIOpenTheApp()
        andIFillTheSearchWith("un")
        iSeeOnlyFollowingCountries(listOf("United Kingdom"))
    }
  • Compose UI tests
  • Espresso UI tests
  • Unit tests
  • MVVM architecture
  • Coroutines
  • Flow (StateFlow, SharedFlow)
  • Hilt for dependency injection
  • View Binding

Work in progress / TODO:

  • Add more UI tests:
    • Check stats
    • Check stats changing after changing months/types of cases
  • Add Room backup
  • Change colors for recovered cases
  • Add alternative names for countries (to align name of the country from Covid API with Location API)
  • Add years to the top in Cases screen

For the last stable version checkout master branch