File: README.md

package info (click to toggle)
libtest-spec-perl 0.54-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 312 kB
  • sloc: perl: 2,502; makefile: 2
file content (56 lines) | stat: -rw-r--r-- 1,613 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Test::Spec ![Travis CI Build Status](https://travis-ci.org/kingpong/perl-Test-Spec.svg?branch=master)
==========

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.

See `perldoc Test::Spec` for syntax examples and usage information.

Installation
------------
To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

Dependencies
------------
This module requires these other modules and libraries:

 * constant
 * Devel::GlobalPhase (for tests)
 * List::Util
 * Package::Stash (>= 0.23)
 * Scalar::Util (XS version)
 * TAP::Parser (for tests)
 * Test::Deep (>= 0.103)
 * Test::More (>= 0.88)
 * Test::Trap
 * Tie::IxHash

Author
------
Philip Garrett <philip.garrett@icainformatics.com>

Source Code
-----------
The source code for Test::Spec lives at github:
  https://github.com/kingpong/perl-Test-Spec

Copyright and License
---------------------
Copyright (c) 2011 by Informatics Corporation of America.
Copyright (c) 2015 by Philip Garrett.

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.