android - Unit testing using Eclipse - JUNIT -


i wrote android application uses gps mainly, using eclipse.

i want junit test application.

what best way specifying multiple values unit tests?

in each test should use 1 of many available asserts http://junit.org/apidocs/org/junit/assert.html check whether value returned tested method correct one. while testing method can pass parameters need it.

for instance

 assertequals("ok",myobj.methodundertest(param1,param2,param3)); 

Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -