[julia-users] Re: Test-scoped requirements

2015-01-05 Thread Andrei Zh
Thanks, works like a charm. 

On Sunday, January 4, 2015 10:39:27 PM UTC+3, Michael Hatherly wrote:

 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? 



[julia-users] Re: Test-scoped requirements

2015-01-04 Thread Michael Hatherly


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?