unit testing - How to use helper class from tests for one module in tests in other module? -


i have project like:

-module1 --test ---(many tests cases) ---somehelperclass -module2 --test ---(many tests cases) 

the class somehelperclass work tests in module1. , need use same work tests in module2.

but can't import tests in module2. i've tried add module2's gradle file:

testcompile project(':module1') 

but module2's test still not see somehelperclass.


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -