wire icon indicating copy to clipboard operation
wire copied to clipboard

wire: create injectors in _test files

Open zombiezen opened this issue 7 years ago • 5 comments

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 avatar Oct 09 '18 14:10 zombiezen

/cc @elegos

vangent avatar Jan 03 '19 16:01 vangent