Skip to content
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

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

Open
JakeWharton opened this issue Oct 5, 2022 · 0 comments · May be fixed by #1649
Open

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

JakeWharton opened this issue Oct 5, 2022 · 0 comments · May be fixed by #1649
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@JakeWharton
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants