Re: CPANifying our test framework - or parts of it

2016-09-10 Thread James E Keenan
On 09/09/2016 09:34 PM, Sam Kington wrote: Hi, At $WORK we have an extensive test suite that we’ve built up over the years, with loads of convenience methods for calling e.g. Dancer endpoints and checking returned data structures against what we expect. One of our dev team recently left for p

Re: CPANifying our test framework - or parts of it

2016-09-10 Thread Sam Kington
On 10 Sep 2016, at 04:17, Karen Etheridge wrote: > > You might find Test::Deep right up your alley! Thanks - I have looked at Test::Deep in the past, and I recall there being things we wanted that it didn’t do. But I’ll take another look. Sam -- Website: http://www.illuminated.co.uk/

Re: CPANifying our test framework - or parts of it

2016-09-10 Thread Sam Kington
Thanks for the detailed response! On 10 Sep 2016, at 15:42, James E Keenan wrote: > Let me state my overall impression at the output. It's apparent that many > (hundreds?) of hours of work have been put into the development of this > testing apparatus, but if it were put on CPAN I doubt I woul

Re: CPANifying our test framework - or parts of it

2016-09-10 Thread Andy Lester
> On Sep 9, 2016, at 8:34 PM, Sam Kington wrote: > > How should I best extract this functionality into a proper CPAN distribution > (ideally using Test2)? I'd start with making it use Test2. Test2 covers a lot of what I see yours doing. For instance, this code: structures => [

Re: CPANifying our test framework - or parts of it

2016-09-10 Thread Sam Kington
On 10 Sep 2016, at 21:00, Andy Lester wrote: > On Sep 9, 2016, at 8:34 PM, Sam Kington wrote: >> How should I best extract this functionality into a proper CPAN distribution >> (ideally using Test2)? > > I'd start with making it use Test2. Test2 covers a lot of what I see yours > doing. Aha

Re: CPANifying our test framework - or parts of it

2016-09-10 Thread Karen Etheridge
You might find Test::Deep right up your alley! On Fri, Sep 9, 2016 at 6:34 PM, Sam Kington wrote: > Hi, > > At $WORK we have an extensive test suite that we’ve built up over the > years, with loads of convenience methods for calling e.g. Dancer endpoints > and checking returned data structures a