Skip to content

Instantly share code, notes, and snippets.

@mageekguy
Created August 9, 2012 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 mageekguy/3305279 to your computer and use it in GitHub Desktop.
Save mageekguy/3305279 to your computer and use it in GitHub Desktop.
Fichier de configuration de atoum pour utiliser le moteur FastCGI
<?php
/*
Sample fcgi configuration file.
Do "php path/to/test/file -c path/to/this/file" or "php path/to/atoum/scripts/runner.php -c path/to/this/file -f path/to/test/file" to use it.
*/
use
mageekguy\atoum,
mageekguy\atoum\test\engines\fcgi
;
$stream = new fcgi\stream('tcp://192.168.26.58:9000');
$stream->mapRemoteDirectory(__DIR__, '/path/to/project/on/remote/host');
$runner->setFastCgiStream($stream);
atoum\test::setDefaultEngine('fcgi');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment