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

request: Generate goldens files with same structure as test files #108

Open
1 task done
xVemu opened this issue Feb 22, 2024 · 0 comments
Open
1 task done

request: Generate goldens files with same structure as test files #108

xVemu opened this issue Feb 22, 2024 · 0 comments

Comments

@xVemu
Copy link

xVemu commented Feb 22, 2024

Is there an existing feature request for this?

  • I have searched the existing issues.

Command

Generate goldens files with same structure as test files

Description

I have a test file with path like test/widgets/helpers/simple_html_test.dart.
I want to generate golden test image in test/goldens/widgets/helpers/simple_html_test.dart.
Is it possible to achieve this without creating separate configuration for every directory or setting filename with path as goldenTest argument?

Reasoning

Many packages that use build_runner allows you to configure this, so
I would like to stay consistent with generated files in my project and don't mix test files with images.

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

No branches or pull requests

1 participant