Reputation: 51
I want to write unit test cases for the Volley API's. So can anyone help me out this?
Upvotes: 3
Views: 96
Reputation: 665
you can JSONplaceHolder for generating fake/Temporary API's for your testing and if you want to setup android volley from scratch Android Volley and before using it in your app add dependencies for volley
implementation 'com.android.volley:volley:1.1.1'
google official docs for volley
Upvotes: 0