blib/lib/Test/BDD/Cucumber.pm untested

filter: Statementstmt n/a Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a SCAR -
1 package Test::BDD::Cucumber 0.87;
2  
3 1;
4  
5 # CODE ENDS
6  
7 =head1 NAME
8  
9 Test::BDD::Cucumber - Feature-complete Cucumber-style testing in Perl
10  
11 =head1 VERSION
12  
13 version 0.87
14  
15 =head1 SYNOPSIS
16  
17  
18 # Driving tests using the 'pherkin' binary that comes with the distribution
19 $ pherkin -l -b t/
20  
21 # Or choose a subset of tests to be run by selecting all scenarios tagged 'slow'
22 $ pherkin -l -b --tags @slow t/
23  
24 # Or all those /not/ tagged 'slow'
25 $ pherkin -l -b --tags ~@slow
26  
27 # Fail on missing steps (by default prints as orange output and succeeds tests)
28 $ pherkin -l -b --strict t/
29  
30  
31 # Driving tests using 'prove' integration
32 $ prove --source Feature --ext=.feature examples/
33  
34 # Driving parallel tests using 'prove'
35 $ prove -r --source Feature -j 9 --ext=.feature t/
36  
37  
38 =head1 DESCRIPTION
39  
40 Cucumber for Perl, integrated with L<Test2>, L<Test::More> and L<prove>.
41  
42 The implementation supports the following Gherkin keywords in feature files:
43 C<Feature>, C<Scenario>, C<Scenario Outline>, C<Examples>, C<Given>, C<When>,
44 C<Then>, C<And> and C<But>. Additionally, C<Scenario> can be used as a synonym
45 for C<Scenario Outline> (with C<Examples>). This best maps to
46 L<Gherkin version 6.0.13|https://github.com/cucumber/cucumber/blob/master/gherkin/CHANGELOG.md#6013---2018-09-25>,
47 but without support for its new C<Rule> and C<Example> keywords.
48  
49 This implementation supports the same languages as Gherkin 15.0.0 - that is, it
50 supports exactly the same translated keywords.
51  
52 Behaviour of this module is similar to that, but sometimes different from
53 the I<real> Cucumber, the plan is to move use the same parser and behaviour.
54  
55  
56 =head1 GETTING STARTED
57  
58 This module comes with a few introductory tutorials.
59  
60 =over 4
61  
62 =item * L<A Cucumber feature writing tutorial|Test::BDD::Cucumber::Manual::Tutorial>
63  
64 for those new to Cucumber and BDD testing
65  
66 =item * L<A Step writing tutorial|Test::BDD::Cucumber::Manual::Steps>
67  
68 to get you started writing the code run for each C<Given>, C<Then>, C<When> step
69  
70 =item * L<A guide on integrating with your test suite|Test::BDD::Cucumber::Manual::Integration>
71  
72 =item * L<An architecture overview|Test::BDD::Cucumber::Manual::Architecture>
73  
74 for those who want to extend or hook into feature file execution
75  
76 =item * Documentation of the command-line tool L<App::pherkin>
77  
78 =back
79  
80 =begin html
81  
82 If you have problems getting started, you can talk to the author(s) here: <a
83 href="https://gitter.im/pjlsergeant/test-bdd-cucumber-perl"><img
84 src="https://badges.gitter.im/pjlsergeant/test-bdd-cucumber-perl.svg"
85 alt="Chat on Gitter"
86 ></a>
87  
88 =end html
89  
90 =head1 BUGS AND LIMITATIONS
91  
92 For current bugs, check the issue tracer at GitHub:
93 L<https://github.com/pherkin/test-bdd-cucumber-perl/issues>
94  
95 One thing need specific mentioning:
96  
97 =over 4
98  
99 =item * Due to the use of its own parser, differences probably exist
100 in the interpretation of feature files when comparing to Cucumber.
101  
102 Also L<see the issue|https://github.com/pherkin/test-bdd-cucumber-perl/issues/73> for
103 tracking this topic.
104  
105 =back
106  
107 =head1 PROJECT RESOURCES
108  
109 =over 4
110  
111 =item * Source code repository at L<https://github.com/pherkin/test-bdd-cucumber-perl>
112  
113 =item * Bug tracker at L<https://github.com/pherkin/test-bdd-cucumber-perl/issues>
114  
115 =item * Mailing list at L<mailto:perl-pherkin@googlegroups.com>
116  
117 =item * Chat (Gitter) at L<https://gitter.im/pjlsergeant/test-bdd-cucumber-perl>
118  
119 =item * Chat (IRC) at L<irc://irc.freenode.net/#perl>
120  
121 =item * Website at L<https://pherkin.pm>
122  
123 =back
124  
125 =head1 SEE ALSO
126  
127 L<Gherkin> - A Gherkin parser and compiler
128  
129 =head1 AUTHORS
130  
131 Peter Sergeant C<pete@clueball.com>
132  
133 Erik Huelsmann C<ehuels@gmail.com>
134  
135 Ben Rodgers C<ben@bdr.org>
136  
137 =head1 LICENSE
138  
139 Copyright 2019-2023, Erik Huelsmann
140 Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
141  
142 =cut