Page MenuHomeWickedGov Phorge

PHPUnitCommandTest.php
No OneTemporary

Size
715 B
Referenced Files
None
Subscribers
None

PHPUnitCommandTest.php

<?php
namespace Eris;
class PHPUnitCommandTest extends \PHPUnit\Framework\TestCase
{
public static function commandExamples()
{
return [
[
'Foo::testBar',
'ERIS_SEED=42 vendor/bin/phpunit --filter \'Foo::testBar\''
],
[
'Foo\\Bar::testBaz',
'ERIS_SEED=42 vendor/bin/phpunit --filter \'Foo\\\\Bar::testBaz\''
]
];
}
/**
* @dataProvider commandExamples
*/
public function testItCanComposeFrom($name, $fullString)
{
$command = PHPUnitCommand::fromSeedAndName(42, $name);
$this->assertEquals($fullString, $command->__toString());
}
}

File Metadata

Mime Type
text/x-php
Expires
Aug 14 2026, 10:52 (14 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1e/ef/88573777f4cbfb275190c78d860d
Default Alt Text
PHPUnitCommandTest.php (715 B)

Event Timeline