Skip to content

Instantly share code, notes, and snippets.

@MahmoudMabrok
Created February 27, 2021 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MahmoudMabrok/ab05e190019d75c07070768b0de338ce to your computer and use it in GitHub Desktop.
Save MahmoudMabrok/ab05e190019d75c07070768b0de338ce to your computer and use it in GitHub Desktop.
espresso with kotlin


  // Unit testing with junit
  testImplementation 'junit:junit:4.13.2'

  // Core library
  androidTestImplementation 'androidx.test:core:1.3.0'

  // AndroidJUnitRunner and JUnit Rules,Runner
  androidTestImplementation 'androidx.test:runner:1.3.0'
  androidTestImplementation 'androidx.test:rules:1.3.0'

  //ext (extension  for ActivityScenarioRule and others )
  androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  androidTestImplementation 'androidx.test.ext:truth:1.3.0'
  androidTestImplementation 'com.google.truth:truth:1.0'

  // Espresso dependencies
  androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment