New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test fixtures dependencies not possible in dependency block of test suite plugin #19066
Comments
any update on this? kind of a blocker for larger projects wanting to use the test suite API :( |
Also kinda curious... beyond the need for being able to import external fixtures, it seems weird that even for the fixtures in the same module, this still doesn't work. From the fixtures docs here
Shouldn't new test suites fall under the category of |
A quick test seems to indicate that this is a viable work around, but it feels... wrong testing {
suites {
val testIntegration by creating(JvmTestSuite::class) {
useJUnitJupiter()
dependencies {
// Project
implementation(project)
implementation(project.dependencies.testFixtures(project))
// ... |
Actually it is probably the same issue as #19065 and the same work-arounds should apply, just that the other ticket is about |
The same applies for |
I'm closing this issue, as it is covered by: #19472 |
@tresat what about |
No need, see: #20115 |
While testing the new test-suite plugin, I tried to add a dependency to the test-fixtures of another project in the new dependency block using kotlin dsl
Expected Behavior
Expecting the dependency below to compile
Current Behavior
testfixtures dependency does not compile in script plugin in buildSrc
Your Environment
The text was updated successfully, but these errors were encountered: