On Mon Feb 15 12:37:34 2016, ESTRABD wrote:
Show quoted text> I suggest that this ticket is a non-issue.
The can(...) function is returning false on the module even though the POD documentation indicates that the method tested with can() is supposed to be valid.
If the method being queried is delegated or not is not a concern of whatever is calling can().
Show quoted text> For starters, none of the tests use Test::More; in fact they use their
> own test harness - however it can be argued that this is another issue
> altogether.
This does not have anything to do with the testing harness used.
Show quoted text> Secondly - and more importantly, t/state.t thoroughly tests the
> functionality of AppConfig::State. Testing to make sure that
> delegation works as advertised doesn't mean that delegation should be
> done in a way that would make Test::More::can_ok happy.
I never said that it should. All I stated was that a can() call against one of these methods returns false, even though, per documentation, the response should be true.
Show quoted text> If one were to fix this, it would be more prudent to create delegate
> wrappers in AppConfig rather than rely on AUTOLOAD. But, again, this
> sort of addition would be pointless and create more surface area for
> future bugs and incompatibilities. I do not suggest this is a
> reasonable solution either.
That would also handle the issue, but as I stated, delegation is an implementation concern, and does not matter to this ticket.
Show quoted text> My recommendation would be to close this ticket as not adding any
> value.