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

c# SetCompatibleTextRenderingDefault must be called before the first -

c++ - Fill runtime data at compile time with templates -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -