Skip to content

Instantly share code, notes, and snippets.

@MahmoudMabrok
Created Feb 27, 2021
Embed
What would you like to do?
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