Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pherkin/test-bdd-cucumber-perl

Test::BDD::Cucumber - Cucumber in Perl
https://github.com/pherkin/test-bdd-cucumber-perl

bdd bdd-framework behavior-driven-development cucumber perl perl5 testing

Last synced: 25 days ago
JSON representation

Test::BDD::Cucumber - Cucumber in Perl

Awesome Lists containing this project

README

        

package Test::BDD::Cucumber;

1;

# CODE ENDS

=head1 NAME

Test::BDD::Cucumber - Feature-complete Cucumber-style testing in Perl

=head1 SYNOPSIS

# Driving tests using the 'pherkin' binary that comes with the distribution
$ pherkin -l -b t/

# Or choose a subset of tests to be run by selecting all scenarios tagged 'slow'
$ pherkin -l -b --tags @slow t/

# Or all those /not/ tagged 'slow'
$ pherkin -l -b --tags ~@slow

# Fail on missing steps (by default prints as orange output and succeeds tests)
$ pherkin -l -b --strict t/

# Driving tests using 'prove' integration
$ prove --source Feature --ext=.feature examples/

# Driving parallel tests using 'prove'
$ prove -r --source Feature -j 9 --ext=.feature t/

=head1 DESCRIPTION

Cucumber for Perl, integrated with L, L and L.

The implementation supports the following Gherkin keywords in feature files:
C, C, C, C, C, C,
C, C and C. Additionally, C can be used as a synonym
for C (with C). This best maps to
L,
but without support for its new C and C keywords.

This implementation supports the same languages as Gherkin 15.0.0 - that is, it
supports exactly the same translated keywords.

Behaviour of this module is similar to that, but sometimes different from
the I Cucumber, the plan is to move use the same parser and behaviour.

=head1 GETTING STARTED

This module comes with a few introductory tutorials.

=over 4

=item * L

for those new to Cucumber and BDD testing

=item * L

to get you started writing the code run for each C, C, C step

=item * L

=item * L

for those who want to extend or hook into feature file execution

=item * Documentation of the command-line tool L

=back

=begin html

If you have problems getting started, you can talk to the author(s) here: Chat on Gitter

=end html

=head1 BUGS AND LIMITATIONS

For current bugs, check the issue tracer at GitHub:
L

One thing need specific mentioning:

=over 4

=item * Due to the use of its own parser, differences probably exist
in the interpretation of feature files when comparing to Cucumber.

Also L for
tracking this topic.

=back

=head1 PROJECT RESOURCES

=over 4

=item * Source code repository at L

=item * Bug tracker at L

=item * Mailing list at L

=item * Chat (Gitter) at L

=item * Chat (IRC) at L

=item * Website at L

=back

=head1 SEE ALSO

L - A Gherkin parser and compiler

=head1 AUTHORS

Peter Sergeant C

Erik Huelsmann C

Ben Rodgers C

=head1 LICENSE

Copyright 2019-2023, Erik Huelsmann
Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl

=cut