[tap-l] Non-perl people?

Michael G Schwern schwern at pobox.com
Thu Mar 29 22:23:11 BST 2007


Chris Shiflett wrote:
> Geoffrey Young wrote:
>> Andy Armstrong wrote:
>>> As a matter of interest is anyone here not primarily from the
>>> Perl community?
>> we do now :)
> 
> I guess that would be me. :-)
> 
> Hi, I'm primarily a PHP guy and the author of test-more.php.

Awesome.  If I may make one suggestion.  I noticed this in the code...

  TODO:

  function eq_array()
  {
  }

  function eq_hash()
  {
  }

  function eq_set()
  {
  }

I might suggest you TODON'T those functions.  They've been deprecated from
Test::More as they're not really tests, produce no diagnostics and is_deeply()
covers all their functionality.

In fact, for deep comparisons I'd suggest using Test::Deep as your
inspiration.  Its done a far more thoughtful analysis of complex structure
comparison.


More information about the tap-l mailing list