Generate a new test case
This commit is contained in:
parent
b773e0f76f
commit
8a6b3c5e78
4 changed files with 60 additions and 16 deletions
4
app.php
4
app.php
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
use Opdavies\DrupalModuleGenerator\Command\GenerateDrupal7Command;
|
||||
use Opdavies\DrupalModuleGenerator\Service\TestNameConverter;
|
||||
use Symfony\Component\Console\Application;
|
||||
use Symfony\Component\Finder\Finder;
|
||||
|
||||
|
@ -9,9 +10,10 @@ require_once __DIR__.'/vendor/autoload.php';
|
|||
$app = new Application();
|
||||
|
||||
$finder = new Finder();
|
||||
$testNameConverter = new TestNameConverter();
|
||||
|
||||
$app->addCommands([
|
||||
new GenerateDrupal7Command($finder),
|
||||
new GenerateDrupal7Command($finder, $testNameConverter),
|
||||
]);
|
||||
|
||||
$app->run();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue