for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/* this file is part of pipelines */
namespace Ktomk\Pipelines;
/**
* @covers \Ktomk\Pipelines\Composer
*/
class ComposerTest extends TestCase
{
* in test the command is phpunit
*
* @return void
public function testWhichScript()
$this->expectOutputRegex('~/phpunit$~');
Composer::which();
$this->addToAssertionCount(1);
}
public function testWhichPhp()
$this->expectOutputRegex('~/php~');
Composer::whichPhp();