develooper Front page | perl.qa | Postings from June 2016

Re: Writing our own modules in Test2

Thread Previous
From:
Chad Granum
Date:
June 24, 2016 14:43
Subject:
Re: Writing our own modules in Test2
Message ID:
CAJFr3kt0qNbQEkALzHv4qUOo=xJ7fCOD0cMqgGU9-najeMtJHg@mail.gmail.com
The pod for Test2.pm explains the namespaces. They are intended for all new
tools/plugins/events/etc. Test2::Xxx should be for extentions to the
framework. Test2::Tools::* and test2::Plugins etc are open to anyone.
On Jun 24, 2016 7:39 AM, "Andy Lester" <andy@petdance.com> wrote:

>
> On Jun 24, 2016, at 12:46 AM, Chad Granum <exodist7@gmail.com> wrote:
>
> Is the intent that when people will create them as
> Test2::Tools::Whatever?  Sort of like Perl::Critic::Policy::* is done?  Or
> are we still staying as Test::Whatever?
>
>
> What about naming?  Test2::Tools::Whatever?  Or do we see the Test2::Tools
> namespace being only for “official” tools?
>
> I see three options for third parties:
>
> * Test2::Tools::Whatever
> * Test2::Whatever
> * Test::Whatever
>
> My ultimate goal here is to create a batch of convenience test methods and
> also have them stand as an example of a standalone third party module.
>
>
> --
> Andy Lester => www.petdance.com
>
>

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About