Hi Benjamin, On Mon, 31 Mar 2014 11:34:26 +0700 Sebastien Feugere <seb.feug...@gmail.com> wrote:
> Hi, > > You can start here : > > http://modernperlbooks.com/books/modern_perl/chapter_09.html > > Then, you can take a look at the Test Anything Protocol (TAP) concept. > After that, you can check the Test::SImple and Test::More. > > http://testanything.org/ > https://metacpan.org/pod/Test::Simple > https://metacpan.org/pod/Test::More > In addition to Sebastien's links, you can find more information here: * http://perl-begin.org/uses/qa/ (*Note* : perl-begin.org is a site I created and maintain.) * http://cpants.cpanauthors.org/ One thing to note is that it is easier to test Perl modules ( ".pm" files) and especially those written in a CPAN-like manner than it is to test scripts. For information about those, see: * http://perl-begin.org/topics/modules-and-packages/ * http://perl-begin.org/topics/cpan/ Regarding cucumber, chromatic (who wrote the book Modern Perl) criticised it here: http://modernperlbooks.com/mt/2012/04/what-testing-dsls-get-wrong.html I continued that with some of my own thoughts about testing here: * http://blogs.perl.org/users/shlomi_fish/2013/02/essay-just-write-the-god-damn-tests-motherfucker.html Also of possible interest is Curtis “Ovid” Poe’s https://github.com/Ovid/zen-of-test-suites (“Serious testing for serious software” ) which focuses on large-scale test suites. Regards, Shlomi Fish > > > ~$&bast1 > > > On Mon, Mar 31, 2014 at 9:51 AM, Benjamin Fernandis > <benjo11...@gmail.com> wrote: > > Hi, > > > > I am new with perl and using it for my sys admin jobs. I want to use TDD / > > BDD with my perl scripts to make it more robust. > > > > Can you please suggest me that how to integrate TDD/BDD with perl scripts.? > > > > In my company , developer uses rspec and cucumber with ruby based code. > > > > I am from sys admin background. Suggest me something simple and easiest way > > to catch it. > > > > Regards > > Ben > -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Why I Love Perl - http://shlom.in/joy-of-perl Your next job after one in @NSACareers, will be as a dead corpse in a coffin, 6 feet underground, or as a patient in a psychiatric ward. — http://www.shlomifish.org/humour/bits/facts/NSA Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/