PHP code example of atoum / autoloop-extension
1. Go to this page and download the library: Download atoum/autoloop-extension library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
atoum / autoloop-extension example snippets
// .atoum.php
$runner
->getExtension(atoum\atoum\autoloop\extension::class)
->setWatchedFiles(array(__DIR__ . '/src'))
;
//.atoum.php
$report = $script->addDefaultReport();
$notifier = new atoum\report\fields\runner\result\notifier\image\libnotify();
$notifier
->setSuccessImage(__DIR__ . '/vendor/atoum/atoum/resources/images/logo/success.png')
->setFailureImage(__DIR__ . '/vendor/atoum/atoum/resources/images/logo/failure.png')
;
$report
->addField($notifier)
;