NAME
Test::Pcuke - Cucumber for Perl 5
VERSION
Version 0.0.1
SYNOPSIS
Provides functionality for the pcuke command which is an implementation of cucumber in Perl 5, and the command itself
If you are interested in pcuke command, please read Test::Pcuke::Manual
There are some bugs lurking around. Please report if you find any!
use Test::Pcuke;
my $conf = { ... };
my $runner = Test::Pcuke->new( $config );
$runner->run();
As to v. 0.0.1 only utf-8 encoding is supported!
To see the list of languages that pcuke supports use a command:
$ perl -MTest::Pcuke::Gherkin::I18n \
-e '$langs = Test::Pcuke::Gherkin::I18n->languages;'\
'@$langs = map { utf8::encode($_); $_ } @$langs;'\
'print join ("\n", @$langs),"\n"'
To see the information on a language, 'ru' for example, use:
$ perl -MTest::Pcuke::Gherkin::I18n -e \
'$info = Test::Pcuke::Gherkin::I18n->language_info( "ru" );'\
'@$info = map { utf8::encode($_); $_ } map { $_->[0] . "\t-> " . $_->[1] } @$info;'\
'print join( "\n", @$info ), "\n"'
METHODS
new %conf
Creates an instance of Test::Pcuke, a I<runner>.
run
Starts the process
AUTHOR
"Andrei V. Toutoukine", <"tut at isuct.ru">
BUGS
Please report any bugs or feature requests to bug-test-pcuke at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Pcuke. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Test::Pcuke
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
Copyright 2011 "Andrei V. Toutoukine".
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.