Giter Club home page Giter Club logo

espressouitest-examples's Introduction

UI Testing for Beginners

Watch the video course here (FREE): UI Testing for Beginners

Espresso Samples:

  1. ActivityScenario vs ActivityScenarioRule
  2. Matching with text in view
  1. Basic activity navigation testing
  1. Creating test suites to run multiple test classes at once
  1. Simple use case testing the fragments and their behavior with no dependencies
  1. Testing kotlin final classes (making them open for testing)
  2. More complex tests and why dependency injection is recommended
  3. Providing dependencies with a FragmentFactory
  1. Ensuring correct fragment is in view after any particular action is taken.
  1. Selecting an image from android device gallery and confirming the correct one is received by onActivityResult
  2. IntentsTestRule
  3. Custom Image Matcher
  1. Taking a new image with camera and confirming the correct one is received by onActivityResult
  2. IntentsTestRule
  3. Custom Image Matcher
  1. Material Dialogs
  2. Showing a dialog and confirming it is in view
  3. Dismissing a dialog and confirming it is out of view
  1. Material Dialogs
  2. Capturing input from dialog and passing to fragment
  1. Confirming a toast is showing using a Custom Toast Matcher
  1. Confirming correct data in RecyclerView
  2. Clicking list items
  3. Navigating to different fragments when list item is clicked
  4. Back navigation testing

espressouitest-examples's People

Contributors

mitchtabian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

espressouitest-examples's Issues

View binding support

Any plans to also include an example of Espresso tests for an app using view binding?

could not find Fragment constructor

If super.instantiate() is actually triggered, an error will be generated
2020-04-04_231054
2020-04-04_230634
2020-04-04_230711

super.instantiate() may be redundant because it is basically not triggered

If you want to solve the error, maybe you can start with constructor
2020-04-04_231404

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.