Skip to content

Commit e957399

Browse files
committed
#1355 - Implement Codeception Acceptance configs
1 parent a4cdca1 commit e957399

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

codeception.yml

+3
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ coverage:
1818
enabled: true
1919
include:
2020
- src/*
21+
# Get params from .env file
22+
params:
23+
- tests/.env.test

tests/.env.test

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CODECEPTION_URL=127.0.0.1
2+
CODECEPTION_PORT=8888

tests/acceptance.suite.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Codeception Test Suite Configuration
2+
#
3+
# Suite for acceptance tests.
4+
# Perform tests in browser using the WebDriver or PhpBrowser.
5+
# If you need both WebDriver and PHPBrowser tests - create a separate suite.
6+
7+
actor: AcceptanceTester
8+
modules:
9+
enabled:
10+
- PhpBrowser:
11+
url: 'http://%CODECEPTION_URL%:%CODECEPTION_PORT%'
12+
curl:
13+
CURLOPT_RETURNTRANSFER: true
14+
# - \Helper\Acceptance
15+
step_decorators: ~

0 commit comments

Comments
 (0)