In this post, we will start to create our first Android Test Project, which we will use for Robotiumautomation.
In this post we will also discuss about
Referencing android project with AUT
This class provides functional testing of a single activity. The activity under test will be created using the system infrastructure (by calling InstrumentationTestCase.launchActivity()) and you will then be able to manipulate your Activity directly.
Other options supported by this test case include:
You can run any test method on the UI thread (see UiThreadTest).
This class replaces ActivityInstrumentationTestCase, which is deprecated. New tests should be written using this base class.
You can watch the complete discuss in the video below
Thanks for reading the post and watching the video !!!
Please leave your comments and let me know if there is anything I should update in this post.