watchlist/codeception.dist.yml
Daniel Siepmann 5170c5445b
Improve integration of acceptance tests (#7)
Do not handle necessary processes ourself.
Instead use codeception extension.

Wrap strings in yaml to ensure they are not interpreted as something
else.
2022-10-20 08:45:56 +02:00

32 lines
1 KiB
YAML

namespace: 'WerkraumMedia\Watchlist\Tests\Acceptance\Support'
paths:
tests: 'Tests/Acceptance'
data: 'Tests/Acceptance/Data'
output: '.Build/web/typo3temp/var/tests/AcceptanceReports'
support: 'Tests/Acceptance/Support'
suites:
acceptance:
actor: 'AcceptanceTester'
path: '.'
extensions:
enabled:
- 'Codeception\Extension\RunProcess':
- 'geckodriver > Tests/Acceptance/_output/geckodriver.log 2>&1'
- 'TYPO3_PATH_APP="$INSTANCE_PATH" TYPO3_PATH_ROOT="$INSTANCE_PATH" php -S 127.0.0.1:8080 -t "$INSTANCE_PATH" > Tests/Acceptance/_output/php.log 2>&1'
- WerkraumMedia\Watchlist\Tests\Acceptance\Support\Environment:
typo3DatabaseUsername: 'testing'
typo3DatabasePassword: 'testing'
modules:
enabled:
- WebDriver:
url: 'http://localhost:8080'
browser: 'firefox'
restart: true
path: ''
capabilities:
moz:firefoxOptions:
args:
- '-headless'