Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cucumber(1) [debian man page]

cucumber(1)							     cucumber							       cucumber(1)

NAME
cucumber - acceptance test runner USAGE
cucumber [options] [ [FILE|DIR|URL][:LINE[:LINE]*] ]+ OPTIONS
See cucumber --help for a list of available options. ABOUT
This manpage was written for the Debian system by Antonio Terceiro <terceiro@debian.orb> because the original package does not have one. This manual is licensed under the same terms as cucumber itself. cucumber 1.0.2-2 2011-12-02 cucumber(1)

Check Out this Related Man Page

Test::BDD::Cucumber::Model::TagSpec(3pm)		User Contributed Perl Documentation		  Test::BDD::Cucumber::Model::TagSpec(3pm)

NAME
Test::BDD::Cucumber::Model::TagSpec - Encapsulates tag selectors VERSION
version 0.11 DESCRIPTION
Try and deal with the crazy-sauce tagging mechanism in a sane way. OVERVIEW
Cucumber tags are all sortsa crazy. This appears to be a direct result of trying to shoe-horn the syntax in to something you can use on the command line. Because 'Cucumber' is the name of a gem, application, language, methodology etc etc etc look of disapproval. Here is some further reading on how it's meant to work: <https://github.com/cucumber/cucumber/wiki/Tags>. This is obviously a little insane. Here's how they work here, on a code level: You pass in a list of lists that look like Lisp expressions, with a function: "and", "or", or "not". You can nest these to infinite complexity, but the parser is pretty inefficient, so don't do that. The "not" function accepts only one argument. eg: @important AND @billing: "[and =" 'important', 'billing']> (@billing OR @WIP) AND @important: "[ and =" [ or => 'billing', 'wip' ], 'important' ]> Skipping both @todo and @wip tags: "[ and =" [ not => 'todo' ], [ not => 'wip' ] ]> ATTRIBUTES
tags An arrayref representing a structure like the above. TagSet->new({ tags => [ and => 'green', 'blue', [ or => 'red', 'yellow' ], [ not => 'white' ] ] }) METHODS
filter Filter a list of Scenarios by the value of "tags" my @matched = $tagset->filter( @scenarios ); If "tags" is empty, no filtering is done. perl v5.14.2 2012-05-20 Test::BDD::Cucumber::Model::TagSpec(3pm)
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

To filter a certain pattern depending on neighbour

Hi, As I am new to filtering section of Unix I am facing a problem I have following lines in text file : Created RELEASE in dist/Apple_release_1_0_.zip Created RELEASE in dist/Banana_release_1_0_.zip Created RELEASE in dist/Mango_release_1_0_.zip Created RELEASE in... (2 Replies)
Discussion started by: bhaskar_m
2 Replies

2. Shell Programming and Scripting

Parsing complicated CSV file with sed

Yes, there is a great doc out there that discusses parsing csv files with sed, and this topic has been covered before but not enough to answer my question (unix.com forums). I'm trying to parse a CSV file that has optional quotes like the following: "Apple","Apples, are fun",3.60,4.4,"I... (3 Replies)
Discussion started by: analog999
3 Replies

3. Shell Programming and Scripting

Creating Hashes of Hashes of Array

Hi folks, I have a structure as mentioned below in a configuration file. <Component> Comp1: { item1:data,someUniqueAttribute; item2:data,someUniqueAttribute, } Comp2: { item3:data,someUniqueAttribute; ... (1 Reply)
Discussion started by: ckv84
1 Replies

4. UNIX for Beginners Questions & Answers

Issues with sorting in reverse order

I have a unix script that outputs a summary file to the mac desktop. The file is called summary.txt I am trying to configure such so that the summary.txt file lists the content contained within such in reverse sort order. I have used sort -r but it does not seem to work. I would be... (8 Replies)
Discussion started by: Braveheart
8 Replies