d4rken-org/reddit-android-appstore

Wanted: InstrumentationTests of all sorts

Open

#59 ouverte le 19 sept. 2016

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Java (54 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (377 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

To test:

  • Screen interaction (e.g. clicking a list entry opens that apps details page)
  • Screen rotation
  • Using the navigation drawer to move about

The tools of choice:

  • Mockito
  • Espresso

Style:

  • Instrumentationt tests belong in src/androidTest/...
  • Test classes should follow the package structure as the classes they want to test.
  • Test classes should have the same name as their test target, just postfixed with "Test".
  • Method names testMethodToTest for basic behavior and testMethodToTest_forSpecificCases

Guide contributeur