{"id":2555,"date":"2020-03-30T21:47:21","date_gmt":"2020-03-30T11:47:21","guid":{"rendered":"https:\/\/learntodroid.com\/?p=2555"},"modified":"2020-03-30T21:47:28","modified_gmt":"2020-03-30T11:47:28","slug":"android-testing-tools","status":"publish","type":"post","link":"http:\/\/10.0.0.14:32769\/android-testing-tools\/","title":{"rendered":"11 Useful Testing Tools, Libraries and Frameworks for Android"},"content":{"rendered":"\n
There is a large selection of different testing tools, libraries and frameworks available for Android. It is hard to understand which tool to use for what type of tests whether that is unit testing, mocking, user interface testing or integration testing.<\/p>\n\n\n\n
I have put together an article covering 11 useful testing tools, libraries and frameworks to use for Android which includes the following:<\/p>\n\n\n\n
For each tool I will cover some information about where it is best used for testing an Android app, how to get started retrieving any dependencies along with any test class code samples where applicable.<\/p>\n\n\n\n
JUnit 4 is a popular Java based open source framework used for writing and running unit tests.<\/p>\n\n\n\n
JUnit 4 has a feature called assertions<\/a> which allows for testing the result of actual behaviour of an application against expected behaviour. <\/p>\n\n\n\n Some common assertions supported by JUnit 4 are:<\/p>\n\n\n\n