devel/p5-Test-Class 0.52_1 MidnightBSD
Easily create test classes in an xUnit style
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl+
- Categories
- devel, perl5
Description
Test::Class provides a simple way of creating classes and objects to test your code in an xUnit style.
Built using Test::Builder it is designing to work with other Test::Builder based modules (Test::More, Test::Differences, Test::Exception, etc.)
Note: This module will make more sense if you are already familiar with the "standard" mechanisms for testing perl code. Those unfamiliar with Test::Harness, Test::Simple, Test::More and friends should go take a look at them now.
Note: This is an early release. Things may change. Be warned.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/p5-Test-Class | 0.52_1 |
| FreeBSD | devel/p5-Test-Class | 0.52_1 |
| OpenBSD | devel/p5-Test-Class | 0.52 |
| NetBSD | devel/p5-Test-Class | 0.52nb5 |
| DragonFly | devel/p5-Test-Class | 0.52_1 |
| HardenedBSD | devel/p5-Test-Class | 0.52_1 |
| GhostBSD | devel/p5-Test-Class | 0.52_1 |
Install
Binary package:
mport install p5-Test-Class
From mports:
cd /usr/mports/devel/p5-Test-Class && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Test-Class>0:devel/p5-Test-Class
Dependencies
As this port's Makefile names them.
Build 3
p5-MRO-Compat>=0.11: devel/p5-MRO-Compatp5-Module-Runtime>=0: devel/p5-Module-Runtimep5-Try-Tiny>=0: lang/p5-Try-Tiny
Runtime 3
p5-MRO-Compat>=0.11: devel/p5-MRO-Compatp5-Module-Runtime>=0: devel/p5-Module-Runtimep5-Try-Tiny>=0: lang/p5-Try-Tiny
Test 2
p5-Contextual-Return>=0: devel/p5-Contextual-Returnp5-Test-Exception>=0.25: devel/p5-Test-Exception
Build dependencies 3
Run dependencies 3
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 6
- %%SITE_PERL%%/Test/Class.pm
- %%SITE_PERL%%/Test/Class/Load.pm
- %%SITE_PERL%%/Test/Class/MethodInfo.pm
- %%PERL5_MAN3%%/Test::Class.3.gz
- %%PERL5_MAN3%%/Test::Class::Load.3.gz
- %%PERL5_MAN3%%/Test::Class::MethodInfo.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Test-Class-0.52.tar.gz | 61103 | 40c1b1d388f0a8674769c27529f0cc3634ca0fd9d8f72b196c0531611934bc82 |
Master sites 1
- CPAN