Last Updated: July 28, 2015

Android How to run Instrumentation testCases ?

Description: In this post I'm gonna show you how we can run the test case in android.I have posted snapshot of each step and how we can filter the testcase based on class -methods respectively.

So lets get started.




Step 1: Open Edit Configuration from Run menu of android studio.












Step 2: Create new Configuration by clicking icon + and select new Android Tests.



Step 3: Select module.You can also select different testType like class,package,method or module.






Step 4: Apply n save.Now you have saved the configuration.You testcase configuration is ready!!!

Note: You can now also right the particular testcase and run it direclty after configuration.


2 comments :

  1. Great Article
    android based projects





    Java Training in Chennai

    Project Center in Chennai

    Java Training in Chennai

    projects for cse



    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training Project Centers in Chennai

    ReplyDelete
  2. I know that is sometimes we all need help with easy or homework! So hello! You can as this guy's for help and be ready for help! Don be shy and text samedayessay login to them help for thesis writing and go for it! Good luck and have fun, my friend!

    ReplyDelete

Your comments are valuable for us !!!