Permalink
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…

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

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

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

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

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

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

    …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.
    committed Mar 14, 2009
  2. Removed some noisy diagnostics

    committed Mar 14, 2009
  3. Trimmed a slightly silly regex

    committed Mar 14, 2009
Commits on Mar 13, 2009
  1. So, 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:
    
    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!
    committed Mar 13, 2009