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
Post a Comment