Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-Test-Object-0.08-bp156.3.1 RPM for noarch

From OpenSuSE Leap 15.6 for noarch

Name: perl-Test-Object Distribution: SUSE Linux Enterprise 15 SP6
Version: 0.08 Vendor: openSUSE
Release: bp156.3.1 Build date: Sat Jul 22 11:25:47 2023
Group: Development/Libraries/Perl Build host: lamb06
Size: 30879 Source RPM: perl-Test-Object-0.08-bp156.3.1.src.rpm
Packager: https://bugs.opensuse.org
Url: http://search.cpan.org/dist/Test-Object/
Summary: Thoroughly testing objects via registered handlers
In situations where you have deep trees of classes, there is a common
situation in which you test a module 4 or 5 subclasses down, which should
follow the correct behaviour of not just the subclass, but of all the
parent classes.

This should be done to ensure that the implementation of a subclass has not
somehow "broken" the object's behaviour in a more general sense.

'Test::Object' is a testing package designed to allow you to easily test
what you believe is a valid object against the expected behaviour of *all*
of the classes in its inheritance tree in one single call.

To do this, you "register" tests (in the form of CODE or function
references) with 'Test::Object', with each test associated with a
particular class.

When you call 'object_ok' in your test script, 'Test::Object' will check
the object against all registered tests. For each class that your object
responds to '$object->isa($class)' for, the appropriate testing function
will be called.

Doing it this way allows adapter objects and other things that respond to
'isa' differently that the default to still be tested against the classes
that it is advertising itself as correctly.

This also means that more than one test might be "counted" for each call to
'object_ok'. You should account for this correctly in your expected test
count.

Provides

Requires

License

Artistic-1.0 or GPL-1.0+

Changelog

* Sun Dec 24 2017 coolo@suse.com
  - updated to 0.08
    see /usr/share/doc/packages/perl-Test-Object/Changes
* Tue Oct 03 2017 coolo@suse.com
  - patch the Makefile to build with perl 5.26
* Fri Nov 18 2011 coolo@suse.com
  - use original .tar.gz
* Tue Nov 30 2010 coolo@novell.com
  - switch to perl_requires macro
* Mon Nov 22 2010 chris@computersalat.de
  - recreated by cpanspec 1.78
    o fix deps
  - changelog to changes file
* Tue Oct 19 2010 coolo@novell.com
  - add perl as explicit buildrequire
* Wed Oct 21 2009 rschweikert@novell.com
  - Add changes file
  - Add %dir directive for directories in %files
  - Changelog clean up to only contain initial creation
* Wed Oct 14 2009 rschweikert@novell.com
  - Initial build 0.07

Files

/usr/lib/perl5/vendor_perl/5.26.1/Test
/usr/lib/perl5/vendor_perl/5.26.1/Test/Object
/usr/lib/perl5/vendor_perl/5.26.1/Test/Object.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test/Object/Test.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Test-Object
/usr/share/doc/packages/perl-Test-Object/CONTRIBUTING
/usr/share/doc/packages/perl-Test-Object/Changes
/usr/share/doc/packages/perl-Test-Object/README
/usr/share/licenses/perl-Test-Object
/usr/share/licenses/perl-Test-Object/LICENSE
/usr/share/man/man3/Test::Object.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Fri Apr 26 23:30:45 2024