Class::PObject::Test::Basic - Class::PObject's basic test suit
# inside t/*.t files: use Class::PObject::Test::Basic; $t = new Class::PObject::Test::Basic($drivername, $datasource); $t->run() # running the tests
This library is particularly useful for Class::PObject driver authors. It provides a convenient way of testing your newly created PObject driver to see if it functions properly, as well as helps you to write test scripts with literally couple of lines of code.
This same class is also used by Class::PObject's standard test scripts
Class::PObject::Test::Basic is a subclass of Class::PObject::Test.
This test suite tests the driver's ability to perform most of the functionality as discussed in Class::PObject's manual.
Class::PObject::Test::Types, Class::PObject::Test::HAS_A
For author and copyright information refer to Class::PObject's online manual.
To install Class::PObject, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::PObject
CPAN shell
perl -MCPAN -e shell install Class::PObject
For more information on module installation, please visit the detailed CPAN module installation guide.