Autogenerate unit test stubs on Android studio -


i creating unit test legacy android codes.

currently need manually create unit test each class/method in test/java.

is there automated way auto generate test stubs? ideally android studio ide? (similar how parasoft can autogenerate empty test stubs c++ classes , methods).

i using robolectric on android studio 1.2.1

like this: right-click class name. go -> test. select function, done.

enter image description here


Comments