Subject: | Pcuke is looking for step definitions in the wrong location |
Test::Pcuke.pm is looking for step definitions in the .features folder
which is inconsistent with Test::Pcuke::Manual
I suggest the following change.
sub load_step_definitions {
- my ($self) = @_;
- my $dir ||= 'features';
+ my ($self, $dir) = @_;
+ $dir ||= 'step_definitions';
my @step_definitions = ();