SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Test-Simple rpm build for : OpenSuSE. For other distributions click perl-Test-Simple.

Name : perl-Test-Simple
Version : 1.302203 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp156.1.1 Date : 2024-09-06 06:43:17
Group : Unspecified Source RPM : perl-Test-Simple-1.302203-lp156.1.1.src.rpm
Size : 1.75 MB
Packager : https://www_suse_com/
Summary : Basic utilities for writing tests
Description :
** If you are unfamiliar with testing *read Test::Tutorial first!* **

This is an extremely simple, extremely basic module for writing tests
suitable for CPAN modules and other pursuits. If you wish to do more
complicated testing, use the Test::More module (a drop-in replacement for
this one).

The basic unit of Perl testing is the ok. For each thing you want to test
your program will print out an \"ok\" or \"not ok\" to indicate pass or fail.
You do this with the \'ok()\' function (see below).

The only other constraint is you must pre-declare how many tests you plan
to run. This is in case something goes horribly wrong during the test and
your test program aborts, or skips a test or whatever. You do this like so:

use Test::Simple tests => 23;

You must have a plan.

* *ok*

ok( $foo eq $bar, $name );
ok( $foo eq $bar );

\'ok()\' is given an expression (in this case \'$foo eq $bar\'). If it\'s true,
the test passed. If it\'s false, it didn\'t. That\'s about it.

\'ok()\' prints out either \"ok\" or \"not ok\" along with a test number (it
keeps track of that for you).


ok( get_temperature($hell) > 0, \'Hell not yet frozen over\' );

If you provide a $name, that will be printed along with the \"ok/not ok\" to
make it easier to find your test when if fails (just search for the name).
It also makes it easier for the next guy to understand what your test is
for. It\'s highly recommended you use test names.

All tests are run in scalar context. So this:

ok( AATTstuff, \'I have some stuff\' );

will do what you mean (fail if stuff is empty)

Test::Simple will start by printing number of tests run in the form \"1..M\"
(so \"1..5\" means you\'re going to run 5 tests). This strange format lets
Test::Harness know how many tests you plan on running in case something
goes horribly wrong.

If all your tests passed, Test::Simple will exit with zero (which is
normal). If anything failed it will exit with how many failed. If you run
less (or more) tests than you planned, the missing (or extras) will be
considered failures. If no tests were ever run Test::Simple will throw a
warning and exit with 255. If the test died, even after having successfully
completed all its tests, it will still be considered a failure and will
exit with 255.

So the exit codes are...

0 all tests successful
255 test died or all passed but wrong # of tests run
any other number how many failed (including missing or extras)

If you fail more than 254 tests, it will be reported as 254.

This module is by no means trying to be a complete testing system. It\'s
just to get you started. Once you\'re off the ground its recommended you
look at Test::More.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.6/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Test-Simple-1.302203-lp156.1.1.noarch.rpm
     

Provides :
perl(Test2)
perl(Test2::API)
perl(Test2::API::Breakage)
perl(Test2::API::Context)
perl(Test2::API::Instance)
perl(Test2::API::InterceptResult)
perl(Test2::API::InterceptResult::Event)
perl(Test2::API::InterceptResult::Facet)
perl(Test2::API::InterceptResult::Hub)
perl(Test2::API::InterceptResult::Squasher)
perl(Test2::API::Stack)
perl(Test2::AsyncSubtest)
perl(Test2::AsyncSubtest::Event::Attach)
perl(Test2::AsyncSubtest::Event::Detach)
perl(Test2::AsyncSubtest::Formatter)
perl(Test2::AsyncSubtest::Hub)
perl(Test2::Bundle)
perl(Test2::Bundle::Extended)
perl(Test2::Bundle::More)
perl(Test2::Bundle::Simple)
perl(Test2::Compare)
perl(Test2::Compare::Array)
perl(Test2::Compare::Bag)
perl(Test2::Compare::Base)
perl(Test2::Compare::Bool)
perl(Test2::Compare::Custom)
perl(Test2::Compare::DeepRef)
perl(Test2::Compare::Delta)
perl(Test2::Compare::Event)
perl(Test2::Compare::EventMeta)
perl(Test2::Compare::Float)
perl(Test2::Compare::Hash)
perl(Test2::Compare::Isa)
perl(Test2::Compare::Meta)
perl(Test2::Compare::Negatable)
perl(Test2::Compare::Number)
perl(Test2::Compare::Object)
perl(Test2::Compare::OrderedSubset)
perl(Test2::Compare::Pattern)
perl(Test2::Compare::Ref)
perl(Test2::Compare::Regex)
perl(Test2::Compare::Scalar)
perl(Test2::Compare::Set)
perl(Test2::Compare::String)
perl(Test2::Compare::Undef)
perl(Test2::Compare::Wildcard)
perl(Test2::Event)
perl(Test2::Event::Bail)
perl(Test2::Event::Diag)
perl(Test2::Event::Encoding)
perl(Test2::Event::Exception)
perl(Test2::Event::Fail)
perl(Test2::Event::Generic)
perl(Test2::Event::Note)
perl(Test2::Event::Ok)
perl(Test2::Event::Pass)
perl(Test2::Event::Plan)
perl(Test2::Event::Skip)
perl(Test2::Event::Subtest)
perl(Test2::Event::TAP::Version)
perl(Test2::Event::V2)
perl(Test2::Event::Waiting)
perl(Test2::EventFacet)
perl(Test2::EventFacet::About)
perl(Test2::EventFacet::Amnesty)
perl(Test2::EventFacet::Assert)
perl(Test2::EventFacet::Control)
perl(Test2::EventFacet::Error)
perl(Test2::EventFacet::Hub)
perl(Test2::EventFacet::Info)
perl(Test2::EventFacet::Info::Table)
perl(Test2::EventFacet::Meta)
perl(Test2::EventFacet::Parent)
perl(Test2::EventFacet::Plan)
perl(Test2::EventFacet::Render)
perl(Test2::EventFacet::Trace)
perl(Test2::Formatter)
perl(Test2::Formatter::TAP)
perl(Test2::Hub)
perl(Test2::Hub::Interceptor)
perl(Test2::Hub::Interceptor::Terminator)
perl(Test2::Hub::Subtest)
perl(Test2::IPC)
perl(Test2::IPC::Driver)
perl(Test2::IPC::Driver::Files)
perl(Test2::Manual)
perl(Test2::Manual::Anatomy)
perl(Test2::Manual::Anatomy::API)
perl(Test2::Manual::Anatomy::Context)
perl(Test2::Manual::Anatomy::EndToEnd)
perl(Test2::Manual::Anatomy::Event)
perl(Test2::Manual::Anatomy::Hubs)
perl(Test2::Manual::Anatomy::IPC)
perl(Test2::Manual::Anatomy::Utilities)
perl(Test2::Manual::Concurrency)
perl(Test2::Manual::Contributing)
perl(Test2::Manual::Testing)
perl(Test2::Manual::Testing::Introduction)
perl(Test2::Manual::Testing::Migrating)
perl(Test2::Manual::Testing::Planning)
perl(Test2::Manual::Testing::Todo)
perl(Test2::Manual::Tooling)
perl(Test2::Manual::Tooling::FirstTool)
perl(Test2::Manual::Tooling::Formatter)
perl(Test2::Manual::Tooling::Nesting)
perl(Test2::Manual::Tooling::Plugin::TestExit)
perl(Test2::Manual::Tooling::Plugin::TestingDone)
perl(Test2::Manual::Tooling::Plugin::ToolCompletes)
perl(Test2::Manual::Tooling::Plugin::ToolStarts)
perl(Test2::Manual::Tooling::Subtest)
perl(Test2::Manual::Tooling::TestBuilder)
perl(Test2::Manual::Tooling::Testing)
perl(Test2::Mock)
perl(Test2::Plugin)
perl(Test2::Plugin::BailOnFail)
perl(Test2::Plugin::DieOnFail)
perl(Test2::Plugin::ExitSummary)
perl(Test2::Plugin::SRand)
perl(Test2::Plugin::Times)
perl(Test2::Plugin::UTF8)
perl(Test2::Require)
perl(Test2::Require::AuthorTesting)
perl(Test2::Require::AutomatedTesting)
perl(Test2::Require::EnvVar)
perl(Test2::Require::ExtendedTesting)
perl(Test2::Require::Fork)
perl(Test2::Require::Module)
perl(Test2::Require::NonInteractiveTesting)
perl(Test2::Require::Perl)
perl(Test2::Require::RealFork)
perl(Test2::Require::ReleaseTesting)
perl(Test2::Require::Threads)
perl(Test2::Suite)
perl(Test2::Todo)
perl(Test2::Tools)
perl(Test2::Tools::AsyncSubtest)
perl(Test2::Tools::Basic)
perl(Test2::Tools::Class)
perl(Test2::Tools::ClassicCompare)
perl(Test2::Tools::Compare)
perl(Test2::Tools::Defer)
perl(Test2::Tools::Encoding)
perl(Test2::Tools::Event)
perl(Test2::Tools::Exception)
perl(Test2::Tools::Exports)
perl(Test2::Tools::GenTemp)
perl(Test2::Tools::Grab)
perl(Test2::Tools::Mock)
perl(Test2::Tools::Ref)
perl(Test2::Tools::Refcount)
perl(Test2::Tools::Spec)
perl(Test2::Tools::Subtest)
perl(Test2::Tools::Target)
perl(Test2::Tools::Tester)
perl(Test2::Tools::Tiny)
perl(Test2::Tools::Warnings)
perl(Test2::Util)
perl(Test2::Util::ExternalMeta)
perl(Test2::Util::Facets2Legacy)
perl(Test2::Util::Grabber)
perl(Test2::Util::Guard)
perl(Test2::Util::HashBase)
perl(Test2::Util::Importer)
perl(Test2::Util::Ref)
perl(Test2::Util::Stash)
perl(Test2::Util::Sub)
perl(Test2::Util::Table)
perl(Test2::Util::Table::Cell)
perl(Test2::Util::Table::LineBreak)
perl(Test2::Util::Term)
perl(Test2::Util::Times)
perl(Test2::Util::Trace)
perl(Test2::V0)
perl(Test2::Workflow)
perl(Test2::Workflow::BlockBase)
perl(Test2::Workflow::Build)
perl(Test2::Workflow::Runner)
perl(Test2::Workflow::Task)
perl(Test2::Workflow::Task::Action)
perl(Test2::Workflow::Task::Group)
perl(Test::Builder)
perl(Test::Builder::Formatter)
perl(Test::Builder::IO::Scalar)
perl(Test::Builder::Module)
perl(Test::Builder::Tester)
perl(Test::Builder::Tester::Color)
perl(Test::Builder::Tester::Tie)
perl(Test::Builder::TodoDiag)
perl(Test::More)
perl(Test::Simple)
perl(Test::Tester)
perl(Test::Tester::Capture)
perl(Test::Tester::CaptureRunner)
perl(Test::Tester::Delegate)
perl(Test::use::ok)
perl(ok)
perl-Test-Simple

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(Term::Table) >= 0.013
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Test
/usr/lib/perl5/vendor_perl/5.26.1/Test/Builder
/usr/lib/perl5/vendor_perl/5.26.1/Test/Builder.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test/Builder/Formatter.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test/Builder/IO
/usr/lib/perl5/vendor_perl/5.26.1/Test/Builder/IO/Scalar.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test/Builder/Module.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test/Builder/Tester
/usr/lib/perl5/vendor_perl/5.26.1/Test/Builder/Tester.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test/Builder/Tester/Color.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test/Builder/TodoDiag.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test/More.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test/Simple.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test/Tester
/usr/lib/perl5/vendor_perl/5.26.1/Test/Tester.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test/Tester/Capture.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test/Tester/CaptureRunner.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test/Tester/Delegate.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test/Tutorial.pod
/usr/lib/perl5/vendor_perl/5.26.1/Test/use
/usr/lib/perl5/vendor_perl/5.26.1/Test/use/ok.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test2
/usr/lib/perl5/vendor_perl/5.26.1/Test2.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test2/API
/usr/lib/perl5/vendor_perl/5.26.1/Test2/API.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test2/API/Breakage.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test2/API/Context.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test2/API/Instance.pm
/usr/lib/perl5/vendor_perl/5.26.1/Test2/API/InterceptResult
/usr/lib/perl5/vendor_perl/5.26.1/Test2/API/InterceptResult.pm
There is 405 files more in these RPM.

 
ICM