nice-park-16693
03/16/2023, 5:36 PMhamcrest
. I get that the dependency won't be packaged when I wrap up my production code, but it feels like it's very easy for me to accidentally introduce dependencies on the "wrong" things in prod code. The obvious idiom seems to be that I would create a second resolve and move the test stuff there, but then I suddenly have to parametrise lots and lots of things because I need production code to be usable in both resolves and test-only dependencies need to become more verbose too. Is there perhaps a way to "layer" resolves so that my test one "extends from" my production one, and pick different resolves by default for prod vs test?curved-television-6568
03/16/2023, 5:47 PMnice-park-16693
03/16/2023, 5:53 PMnice-park-16693
03/16/2023, 5:53 PMnice-park-16693
03/16/2023, 5:54 PMbusy-vase-39202
03/16/2023, 6:26 PM