You can put a REQUIRE file in the test directory that should do what you want.
— Mike On Sunday, 4 January 2015 21:33:37 UTC+2, Andrei Zh wrote: > > I have a package A that has file-based integration with package B, i.e. A > writes files that B can read, but neither A depends on B, nor vise versa. I > want to write a test for this integration, but don't want to include B in > REQUIRE, since A may be used completely without it. > > I'm wondering if there's a way to specify requirement for test time only. > If not, what are general recommendations in this case? >
