cebe/yii-app-testrunner — Issue #9: example config
Author: cebe
Created: 2012-01-17 20:04:18+00:00
State: open

take this to complete docs:

```php
'tests' => array(
'class' => 'application.commands.testRunner.TestrunnerCommand',

'testRunner' => array(
'behaviors' => array(
'TestDefaultOutputBehavior',
'junit' => array(
'class' => 'testRunner.extensions.loggerJUnit.TestLoggerJUnitBehavior',
'logPath' => dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'build/logs',
),
/*	'todos' => array(
'class' => 'testRunner.extensions.todoDetector.TestTodoDetectorBehavior'
),*/
'dependencies' => array(
'class' => 'testRunner.extensions.testDependencies.TestDependencyBehavior',
),
'codeCoverage' => array(
'class' => 'testRunner.extensions.codeCoverage.TestCodeCoverageBehavior',
'cloverXml' => true,
'cloverXmlPath' => dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'build/logs',
'cloverXmlFile' => 'clover.xml',
'coverageHtml' => true,
'coverageHtmlPath' => dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'build/coverage',
'coverageHtmlConfig' => array(
'title' => 'Unit Test Code Coverage HTML',
'charset' => 'UTF-8',
'yui' => true,
'highlight' => false,
'lowUpperBound' => 35,
'highLowerBound' => 70,
),
),
),
),
'testCollector' => array(
'behaviors' => array(
'phpunit' => array(
'class' => 'testRunner.extensions.phpunit.TestCollectorPHPUnit',
'seleniumBaseUrl' => 'http://localhost/~cbrandt/web/',
'seleniumBrowsers' => array(
array(
'name' => 'Firefox',
'browser' => '*firefox',
'host' => 'localhost',
'port' => 4444,
'timeout' => 30,
),
/*array(
'name' => 'Safari',
'browser' => '*safari',
'host' => 'localhost',
'port' => 4444,
'timeout' => 30,
),*/
),
),
),
),
),
```