Skip Menu |

This queue is for tickets about the Test-Needs CPAN distribution.

Report information
The Basics
Id: 117034
Status: open
Priority: 0/
Queue: Test-Needs

People
Owner: Nobody in particular
Requestors: PERLANCAR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Test requires A *or* B?
Just want to hear your opinion about this. Suppose one wants to be able to say "skip tests unless module A or B (or C ...) is available". If Test::Needs were to support this, how would you prefer the interface to be like?
My best idea for an interface if I was to implement this is: test_needs -or => [ 'Module1', 'Module2' ]; test_needs -or => { 'Module1' => 1.5, 'Module2' => 2 };