Coder Social home page Coder Social logo

test-bdd-cucumber-perl's Introduction

NAME

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

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


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

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

DESCRIPTION

A complete Cucumber implementation in Perl

The implementation supports the following Gherkin keywords in feature files: Feature, Scenario, Scenario Outline, Examples, Given, When, Then, And and But. Additionally, Scenario can be used as a synonym for Scenario Outline (with Examples). This best maps to Gherkin version 6.0.13, but without support for its new Rule and Example keywords.

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

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

GETTING STARTED

This module comes with a few introductory tutorials.

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

BUGS AND LIMITATIONS

For current bugs, check the issue tracer at GitHub: https://github.com/pherkin/test-bdd-cucumber-perl/issues

Two things need specific mentioning:

  • No support for Test2 in Step files at the moment

    While this support is planned, currently, there's only support for Test::Builder based test modules (e.g. Test::Exception, Test::Differences, Test::More, etc)

  • Due to the use of its own parser, differences probably exist in the intepretation of feature files when comparing to Cucumber.

    Also see the issue for tracking this topic.

SOURCE

On Github, of course: https://github.com/pherkin/test-bdd-cucumber-perl.

SEE ALSO

Gherkin - A Gherkin parser and compiler

AUTHORS

Peter Sergeant [email protected]

Erik Huelsmann [email protected]

Ben Rodgers [email protected]

LICENSE

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

test-bdd-cucumber-perl's People

Contributors

ehuelsmann avatar glauschwuffel avatar highflying avatar paultcochrane avatar rjp avatar benningm avatar drdub avatar lifus avatar chylli avatar gonzalobarco avatar grantm avatar jamessan avatar latk avatar magnusenger avatar ivanych avatar manwar avatar poum avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.