holyshared/robo-peridot

Robo task for peridot-php

Maintainers

👁 holyshared

Package info

github.com/holyshared/robo-peridot

pkg:composer/holyshared/robo-peridot

Statistics

Installs: 1 052

Dependents: 12

Suggesters: 0

Stars: 2

Open Issues: 0

2.0.5 2015-12-05 06:47 UTC

Requires

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 852d781193c5fb6263e7298799ab30befbc7652e

  • holyshared <holy.shared.design.woop@gmail.com>

BDDtaskroboperidot-php

This package is auto-updated.

Last update: 2026-06-15 19:20:04 UTC


README

robo-peridot is a library to run the test of peridot for robo.
Installation of Robo PHP Task Runner will be mandatory to use it.

👁 Latest Stable Version
👁 Latest Unstable Version
👁 Build Status
👁 HHVM Status
👁 Coverage Status
👁 Dependency Status

Basic Usage

To use a task, you must write code such as the following.
Options that can be used -grep, -no-colors, -reporter, --bail, --configuration.

class RoboFile extends Tasks
{
 use \holyshared\peridot\robo\loadTasks;

 public function coverallsUpload()
 {
 $result = $this->taskPeridot()
		 ->bail()
		 ->directoryPath('spec')
		 ->run();

	 return $result;
 }
}

Specify more than one file

If you specify more than one file, you can use the filePaths method.
The following code is equivalent to peridot spec/foo.php spec/bar.php.

class RoboFile extends Tasks
{
 use \holyshared\peridot\robo\loadTasks;

 public function coverallsUpload()
 {
 $result = $this->taskPeridot()
		 ->filePaths([
		 'spec/foo.php',
		 'spec/bar.php'
		 ])
		 ->run();

	 return $result;
 }
}

Testing robo-peridot

Please try the following command.

composer install
composer test