Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Nov 9, 2009
Commits on Nov 7, 2009
Commits on Nov 6, 2009
Commits on Oct 31, 2009
  1. Eliminated a delightfully crap infinite loop when trying to parse a b…

    authored
    …adly formed test declaration
Commits on Jul 21, 2009
Commits on May 10, 2009
  1. Documentation tweaks

    authored
Commits on Apr 6, 2009
  1. Added a 'defaults' collector to T::C::S's use arguments

    authored
    Can now do
    
      use Test::Class::Sugar defaults => {prefix => TestSuite};
    
    and `testclass exercises Something' will generate a testclass named
    TestSuite::Something.
Commits on Apr 4, 2009
Commits on Apr 2, 2009
  1. minor typos/pod-os

    Hans Dieter Pearcey authored
Commits on Apr 1, 2009
  1. Prepping for CPAN release

    authored
Commits on Mar 28, 2009
Commits on Mar 15, 2009
  1. Reworked t/initial.t to use the new syntax throughout. Apart from the…

    authored
    … bit that tests that the old style still works.
Commits on Mar 14, 2009
  1. Made Test::Class::Sugar use Test::Class->add_testinfo, as in the patc…

    authored
    …h supplied and not Test::Class->add_test, as in the quick and dirty patch I had installed on my home box. ashb++ for the spot.
Commits on Mar 13, 2009
  1. So, it turns out that attempting to write a little language in which

    authored
      keyword => ...
    
    or
    
      keyword : ...
    
    want to be legal isn't ever going to fly in perl because, in the case of
    =>, the keyword is auto stringified before Devel::Declare attempts to do
    its thing, and 'keyword :' is interpreted as a label, before Devel::Declare
    gets a sniff at things.
    
    So... welcome one and all the new mechanism for setting your plan:
    
    setSo, it turns out that attempting to write a little language in which
    
      keyword => ...
    
    or
    
      keyword : ...
    
    want to be legal isn't ever going to fly in perl because, in the case of
    =>, the keyword is auto stringified before Devel::Declare attempts to do
    its thing, and 'keyword :' is interpreted as a label, before Devel::Declare
    gets a sniff at things.
    
    So... welcome one and all the new mechanism for setting your plan:
    
      setup >> 1 {
        ...
      }
    
    You'll note too that that 'setup' doesn't have a name. So Test::Class::Sugar
    invents one based on the name of the test class.
    
      setup  >> 1 {
        ...
      }
    
    You'll note too that that 'setup' doesn't have a name. So Test::Class::Sugar
    invents one based on the name of the test class. So,
    
      testclass Test::Foo {
        setup >> 1 {
          ...
        }
      }
    
    is equivalent to
    
      testclass Test::Foo {
        setup Test Foo >> 1 {
          ...
        }
      }
    
    Which is, in turn, equivalent to:
    
      testclass Test::Foo {
        sub setup_Test_Foo :Test(1) {
          ...
        }
      }
    
    And everyone's happy.
    
    Wow. Longest commit message ever!
Something went wrong with that request. Please try again.