Skip to content

Instantly share code, notes, and snippets.

@Grummfy
Created April 29, 2016 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Grummfy/227c92cb811e1390962d681d8eefd469 to your computer and use it in GitHub Desktop.
Save Grummfy/227c92cb811e1390962d681d8eefd469 to your computer and use it in GitHub Desktop.
atoum overide cli args?
<?php
require_once 'vendor/autoload.php';
use mageekguy\atoum\visibility;
$runner->addTestsFromDirectory('test/units');
<?php
require_once __DIR__ . '/vendor/autoload.php';
../vendor/bin/atoum -d units/ -c ../.atoum.php -bf ../.bootstrap.atoum.php
@Grummfy
Copy link
Author

Grummfy commented Apr 29, 2016

dans le dossier test
je lance la commande
../vendor/bin/atoum -d units/ -c ../.atoum.php -bf ../.bootstrap.atoum.php
Error: Unable to read test directory 'test/units'

si je suis à la racine et fait
./vendor/bin/atoum -d test/units/ -c .atoum.php -bf .bootstrap.atoum.php
et cela tourne

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment