gradle / gradle/gradle-native

Unit test suite should depend on component under test

Open
#239 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
94
Forks
7
PR merge metrics
No merged PRs in 30d

Description

The wiring between a unit test suite and the component under test should use dependency resolution instead of ad hoc connections. This has some upsides:

- The implementation is consistent regardless of whether the test suite and component under test are in the same project or elsewhere.
- The connection is more visible to tooling and reporting.
- Variant aware goodness can be applied to select the target variant for the component under test.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating the unit-test-to-component wiring and the existing dependency-resolution path; done means the connection uses dependency resolution and supports cross-project components, tooling visibility, and variant selection.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, testing, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.