klinker41 / article-android

Android library for displaying web articles in a readable format
Other
153 stars 26 forks source link

Add testing #19

Closed klinker41 closed 7 years ago

klinker41 commented 7 years ago

Now that this is being used, there needs to be some simple Robolectric unit tests in place.

klinker41 commented 7 years ago

Added testing infrastructure with https://github.com/klinker41/article-android/commit/72ac872998ccd487758f420ba02c4684902b7351 Added sample ArticleUtilsTest with https://github.com/klinker41/article-android/commit/4a4d41651bab6065d15088f6145dac3dfa1e90d8

klinker41 commented 7 years ago

Added mocked datastore tests with https://github.com/klinker41/article-android/commit/4c0c2431d410b6c5da61f9e31162bd755261b253 Added real datastore tests with https://github.com/klinker41/article-android/commit/0ae8ca813c81f23a8ab0a9e2fa92f1dac1fd7ca7

klinker41 commented 7 years ago

Mostly just UI stuff and retrofit left, so going to close this and just write more as I need them.