Hello, I have a multi-project kotlin setup and I w...
# gradle
t
Hello, I have a multi-project kotlin setup and I want to access test helper classes cross project. Basically I have this:
Copy code
// inside project A /src/tests/kotlin
package com.example.a
object TestHelper { ... }
And from project b I'd like to be able to do
Copy code
// inside project B /src/tests/kotlin
package com.example.b

import com.example.a.TestHelper

fun someTest() ...
I was checking out test fixtures gradle plugin for java but I couldn't get it to work. Wasnt sure if i was misconfigurating it, or otherwise?
1
j
I think once upon a time I wanted to reuse a test helper and I think you have to point the test sourcesets to it, maybe worth checking out
t
ahh yes I tried this yesterday but I wasn't quiet sure of the syntax ... will give it another go!