Akhil Bodhade
Akhil Bodhade

Reputation: 51

How to write unit test cases Volley API's?

I want to write unit test cases for the Volley API's. So can anyone help me out this?

Upvotes: 3

Views: 96

Answers (1)

Monu Rohilla
Monu Rohilla

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

Related Questions