This is an automated email from the git hooks/post-receive script. intrigeri pushed a commit to branch master in repository libtest-bdd-cucumber-perl.
commit c845bd541ae547409c542015de85cdb534a2fa19 Author: Tomas Pokorny <t...@verotel.cz> Date: Mon Apr 13 13:25:57 2015 +0000 Extract "_run_tests" into separate method App::pherkin::run so that it is possible simple extend App::pherkin and override "_run_tests" to run tests in parallel way. --- lib/App/pherkin.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/App/pherkin.pm b/lib/App/pherkin.pm index 98c4c92..a0dfcff 100644 --- a/lib/App/pherkin.pm +++ b/lib/App/pherkin.pm @@ -64,6 +64,12 @@ sub run { Test::BDD::Cucumber::Loader->load( $features_path, $self->tag_scheme ); die "No feature files found in $features_path" unless @features; + return $self->_run_tests($executor, @features); +} + +sub _run_tests { + my ( $self, $executor, @features ) = @_; + my $harness = $self->harness; $harness->startup(); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtest-bdd-cucumber-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits