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

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -