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

wire: create injectors in _test files #48

Open
zombiezen opened this Issue Oct 9, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@zombiezen
Copy link
Member

zombiezen commented Oct 9, 2018

Currently, Wire only considers the non-test files for injectors. To enable creation of test-only injectors, it would be nice to have Wire evaluate test files as well, creating a separate wire_gen_test.go file for the generated code evaluated for the tests.

@zombiezen zombiezen added this to the Sprint 19 milestone Oct 31, 2018

@ijt ijt self-assigned this Nov 6, 2018

@vangent vangent modified the milestones: Sprint 19, Sprint 20 Nov 20, 2018

@zombiezen zombiezen transferred this issue from google/go-cloud Nov 28, 2018

@zombiezen zombiezen added this to the Sprint 21 milestone Dec 13, 2018

@vangent

This comment has been minimized.

Copy link
Contributor

vangent commented Jan 3, 2019

/cc @elegos

@zombiezen zombiezen modified the milestones: Sprint 21, Unplanned Jan 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment