FreeBSD Ports

devel/p5-Test-Spec 0.54

Write tests in a declarative specification style

Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
38.7 KiB, 94.4 KiB installed

Description

Test::Spec is a declarative specification-style testing system for behavior-driven development (BDD) in Perl. The tests (a.k.a. examples) are named with strings instead of subroutine names, so your fingers will suffer less fatigue from underscore-itis, with the side benefit that the test reports are more legible.

This module is inspired by and borrows heavily from RSpec (http://rspec.info/documentation/), a BDD tool for the Ruby programming language.

Install

As a binary package — by origin, or by package name:

pkg install devel/p5-Test-Spec
pkg install p5-Test-Spec

From the ports tree:

cd /usr/ports/devel/p5-Test-Spec/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Test-Spec>0:devel/p5-Test-Spec

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.540.540.540.540.54
FreeBSD:14:quarterly0.540.54n/a0.540.54
FreeBSD:15:latest0.540.54n/a0.540.54
FreeBSD:15:quarterly0.540.54n/an/an/a
FreeBSD:16:latest0.540.54n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 4

Runtime 4

The full lists below include those, and their dependencies in turn.

All build dependencies 11
All run dependencies 11

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 8
  • %%SITE_PERL%%/Test/Spec.pm
  • %%SITE_PERL%%/Test/Spec/Context.pm
  • %%SITE_PERL%%/Test/Spec/Example.pm
  • %%SITE_PERL%%/Test/Spec/Mocks.pm
  • %%SITE_PERL%%/Test/Spec/SharedHash.pm
  • %%SITE_PERL%%/Test/Spec/TodoExample.pm
  • %%PERL5_MAN3%%/Test::Spec.3.gz
  • %%PERL5_MAN3%%/Test::Spec::Mocks.3.gz
distinfo 1
FileSizeSHA256
Test-Spec-0.54.tar.gz381090a31cf1265dcee90bbc42456ad60bb363afc7fac6697fffb0fd49bba92a165d2
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.