Permalink
Switch branches/tags
Nothing to show
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…

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

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

    pdcawley committed Apr 6, 2009
    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 committed Apr 2, 2009
Commits on Apr 1, 2009
  1. Prepping for CPAN release

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

    pdcawley committed Mar 15, 2009
    … 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…

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

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

    pdcawley committed Mar 14, 2009
Commits on Mar 13, 2009
  1. So, it turns out that attempting to write a little language in which

    pdcawley committed Mar 13, 2009
      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!