Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

Test-Class-Sugar-0.0200.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:Perl-CPAN
Filename:Test-Class-Sugar-0.0200.tar.gz

/Test-Class-Sugar-0.0200/README.textile

h1. Test::Class::Sugar

h2. Synopsis

@Test::Class::Sugar@ is a declarative wrapper around Adrian Howard's
"@Test::Class@":http://search.cpan.org/dist/Test-Class xUnit style Perl
testing library.

The idea is that, instead of writing:

<pre><code>
package Test::Something;
use base qw/Test::Class/;

use Test::Most;

sub subject {
  'Something'
}

sub test_something : Test(3) {
  my $test = shift;
 
more»

/Test-Class-Sugar-0.0200/TODO.pod

=over 4

=item Freer test naming

  test $thing->method should do something {
    ..
  }

should simply add a test called 'thing_method_should_do_something' to the test
class.

Meanwhile

  foreach my $method (qw/subject body/) {
    test "responds to $method" {
      ok $self->{instance}->$method();
    }
  }

should generate a couple of tests in the obvious way. Variables should be
interpolated 
more»

/Test-Class-Sugar-0.0200/LICENSE

This software is copyright (c) 2009 by Piers Cawley.

This is free software; you can redistribute it and/or modify it under
the same terms as perl itself.

Terms of Perl itself

a) the GNU General Public License as published by the Free
   Software Foundation; either version 1, or (at your option) any
   later version, or
b) the "Artistic License"

--- The GNU General Public License, Version 1, Fe
more»

Browse inside Test-Class-Sugar-0.0200.tar.gz

         [DIR]Test-Class-Sugar-0.0200/ (9)

Download Test-Class-Sugar-0.0200.tar.gz

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com