wire: create injectors in _test files
Author: zombiezenCreated Oct 9, 2018Updated Apr 10, 2025
Labelsenhancement
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.
Source: google/wire