Skip to content

Snapshots should be placed into src/{sourceSetName}/snapshots/ for MPP plugin #595

@JakeWharton

Description

@JakeWharton

Snapshots seem to be unconditionally placed in src/test/snapshots/. For Kotlin MPP, the name of the Android-specific source set is arbitrary and that name should be used as the source set folder so that the snapshots/ directly is placed relative to the tests which produced the snapshots.

You can see the undesired default behavior in action here: https://github.com/cashapp/redwood/tree/0f708ea3cdd950a427dde46547c4ce67ba01a60c/redwood-layout/src

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions