in reply to Re: Writing code using Test::More -- how to fail within subs?
in thread Writing code using Test::More -- how to fail within subs?

Thanks, I'll read the docs on Test::Class. But what's an xUnit? The description explains “Easily create test classes in an xUnit style.” and that's not very enlightening since I've never heard of xUnit style.

  • Comment on Re: Re: Writing code using Test::More -- how to fail within subs?

Replies are listed 'Best First'.
Re^3: Writing code using Test::More -- how to fail within subs?
by adrianh (Chancellor) on Feb 09, 2003 at 10:06 UTC

    xUnit has become the "generic" name for OO test frameworks similar to Test::Class and Test::Unit.

    The "Unit" is from "unit testing" (although they're useful in other testing areas too) and the "x" refers to the language involved (JUnit == Java, PUnit == Python, etc.) This styles follows SUnit, Kent Beck's Smalltalk testing framework.

    If you're interested take a look at Kent Beck's original paper on SUnit and this list of other xUnit frameworks.