perl-Aspect-Library-TestClass-1.00-alt1.noarch.rpm


Advertisement

Description

perl-Aspect-Library-TestClass - give Test::Class test methods an IUT

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Aspect-Library-TestClass
Package version 1.00
Package release alt1
Package architecture noarch
Package type rpm
Installed size 26.07 KB
Download size 26.07 KB
Official Mirror ftp.altlinux.org
Frequently my `Test::Class' test methods look like this:
sub some_test: Test {
my $self = shift;
my $subject = IUT->new;
...
}
After installing this aspect, they look like this:
sub some_test: Test {
my ($self, $subject) = @_;
...
}
In the test class you must add one *template method* to provide the
class of the IUT:
sub subject_class { 'MyApp::Person' }

Alternatives

Package Version Architecture Repository
perl-Aspect-Library-TestClass - - -

Requires

Name Value
/usr/share/perl5 -
perl(Aspect/Advice/Before.pm) -
perl(Aspect/Modular.pm) >= 1.0
perl(Aspect/Pointcut/And.pm) -
perl(Aspect/Pointcut/Call.pm) -
perl(Params/Util.pm) >= 1.0
perl(Test/Class.pm) >= 0.330
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Aspect/Library/TestClass.pm) = 1.0
perl-Aspect-Library-TestClass = 1.00-alt1

Download

Type URL
Binary Package perl-Aspect-Library-TestClass-1.00-alt1.noarch.rpm
Source Package perl-Aspect-Library-TestClass-1.00-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Aspect-Library-TestClass rpm package:
    # sudo apt-get install perl-Aspect-Library-TestClass

Files

Path
/usr/share/doc/perl-Aspect-Library-TestClass-1.00/Changes
/usr/share/doc/perl-Aspect-Library-TestClass-1.00/LICENSE
/usr/share/doc/perl-Aspect-Library-TestClass-1.00/README
/usr/share/perl5/Aspect/
/usr/share/perl5/Aspect/Library/TestClass.pm

See Also

Package Description
perl-Aspect-Library-Timer-1.10-alt1.noarch.rpm Prebuilt
perl-Aspect-Library-Trace-1.00-alt1.noarch.rpm Aspect-oriented function call tracing
perl-Aspect-Loader-0.03-alt1.noarch.rpm load aspect by configuration
perl-AsposeBarCodeCloud-BarcodeApi-1.05-alt1.noarch.rpm Aspose.BarCode Cloud SDK for Perl
perl-AsposeCellsCloud-CellsApi-1.06-alt1.noarch.rpm Aspose.Cells Cloud SDK for Perl
perl-AsposeEmailCloud-EmailApi-1.03-alt1.noarch.rpm Aspose.Email Cloud SDK for Perl
perl-AsposeImagingCloud-ImagingApi-1.01-alt1.noarch.rpm Aspose.Imaging Cloud SDK for Perl
perl-AsposeOcrCloud-OcrApi-1.03-alt1.noarch.rpm Aspose.OCR Cloud SDK for Perl
perl-AsposePdfCloud-PdfApi-1.03-alt1.noarch.rpm Aspose.Pdf Cloud SDK for Perl
perl-AsposeSlidesCloud-SlidesApi-1.03-alt1.noarch.rpm Aspose.Slides Cloud SDK for Perl
perl-AsposeStorageCloud-StorageApi-1.03-alt1.noarch.rpm Aspose.Storage Cloud SDK for Perl
perl-AsposeTasksCloud-TasksApi-1.03-alt1.noarch.rpm Aspose.Tasks Cloud SDK for Perl
perl-AsposeWordsCloud-WordsApi-1.03-alt1.noarch.rpm Aspose.Words Cloud SDK for Perl
perl-Assert-Conditional-0.009-alt1.noarch.rpm conditionally compile assertions
perl-Assert-Refute-0.14-alt2.noarch.rpm Unified testing and assertion tool
Advertisement
Advertisement