# Test::Class::Sugar 0.3, no, 0.4

Written by Piers Cawley on

tap tap… Is this thing on?

So, I recently noticed that Test::Class 0.33 got released, which means that Test::Class::Sugar no longer needs to depend on a development release, and I also noticed that it was embarrassingly easy to throw Test::Class::Sugar into an infinite loop by forgetting which way the >> goes when you want to specify the number of subtests in a test method.

So, I’ve done a quick fix of the infinite loop problem as well and uploaded version 0.3 to PAUSE, so now you can write your tests like:

 
testclass exercises ClassUnderTest {
test creation of the class under test {
lives\_and {
isa\_ok ClassUnderTest->new, \$test->subject;
}
}
...
}


Next up, fix the syntax to either allow both << and >> as test count specifiers, or come up with a more memorable way of separating the count from the test name.