Test::BDD::Cucumber::Model::Result - Encapsulates a result state
version 0.34
Encapsulation of result state - whether that's for a step, scenario, or feature
Enum of: passing, failing, pending or undefined. pending is used if there was any TODO output from a test, and undefined for a test that wasn't run, either due to no matching step, or because a previous step failed.
passing
failing
pending
undefined
The underlying test-output that contributed to a result.
Collates the Result objects you pass in, and returns one that encompasses all of them.
As they may be varied, it runs through them in order of failing, undefined, pending and passing - the first it finds is the overall result. The empty set passes.
To install Test::BDD::Cucumber, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::BDD::Cucumber
CPAN shell
perl -MCPAN -e shell install Test::BDD::Cucumber
For more information on module installation, please visit the detailed CPAN module installation guide.