junit - Android Studio test for libraries -


i'm new on testing, read pages on testing android. can't find pages testing libraries on android studio.

my problem test class without activity , private methods.

someone know how test libraries on android studio 1.1?

thanks

it's pretty broad question if you're new testing on android take at: http://www.vogella.com/tutorials/androidtesting/article.html on how test elements in android, activities , such.

testing encapsulated methods , classes can pain, if it's stuff libraries, take @ (option 4): http://blog.octo.com/en/android-testing-testing-private-methods/

hope helps.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -