nebula-plugins / nebula-plugins/nebula-project-plugin

integTest source set folder should include the resources of main and test source set

Open
#29 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Groovy
Stars
98
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Hi,
my integration tests are failing as i have some yml file in my main source set under resources.
I don't want to duplicate them between the main and the integTest source set.

currently this fixes my issue:

dependencies {
    integTestCompile sourceSets.main.getOutput()
    integTestCompile sourceSets.test.getOutput()
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the integTest source set is configured and how the main and test source sets expose their resources. Compare that configuration with the dependencies workaround shown in the issue, then verify that integration tests can use those resources without duplicating them.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
build-system, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.