2013-12-17 07:27:33 +08:00
|
|
|
# Codeception Test Suite Configuration
|
|
|
|
|
|
|
|
# suite for acceptance tests.
|
|
|
|
# perform tests in browser using the Selenium-like tools.
|
|
|
|
# powered by Mink (http://mink.behat.org).
|
|
|
|
# (tip: that's what your customer will see).
|
|
|
|
# (tip: test your ajax and javascript by one of Mink drivers).
|
|
|
|
|
|
|
|
# RUN `build` COMMAND AFTER ADDING/REMOVING MODULES.
|
|
|
|
|
2014-08-16 22:15:41 +08:00
|
|
|
class_name: AcceptanceTester
|
2013-12-17 07:27:33 +08:00
|
|
|
modules:
|
|
|
|
enabled:
|
|
|
|
- PhpBrowser
|
2016-07-15 00:20:28 +08:00
|
|
|
# - Yii2:
|
|
|
|
# configFile: '/codeception/config/acceptance.php'
|
2013-12-17 07:27:33 +08:00
|
|
|
# you can use WebDriver instead of PhpBrowser to test javascript and ajax.
|
2016-05-24 18:14:58 +08:00
|
|
|
# This will require you to install selenium. See http://codeception.com/docs/03-AcceptanceTests#selenium-webdriver
|
2014-03-16 12:46:16 +08:00
|
|
|
# "restart" option is used by the WebDriver to start each time per test-file new session and cookies,
|
2014-02-07 08:24:58 +08:00
|
|
|
# it is useful if you want to login in your app in each test.
|
2013-12-17 07:27:33 +08:00
|
|
|
# - WebDriver
|
|
|
|
config:
|
|
|
|
PhpBrowser:
|
2014-11-19 19:37:13 +08:00
|
|
|
# PLEASE ADJUST IT TO THE ACTUAL ENTRY POINT WITHOUT PATH INFO
|
|
|
|
url: http://localhost:8080
|
2013-12-17 07:27:33 +08:00
|
|
|
# WebDriver:
|
2014-11-19 19:37:13 +08:00
|
|
|
# url: http://localhost:8080
|
2013-12-17 07:27:33 +08:00
|
|
|
# browser: firefox
|
2014-02-07 08:24:58 +08:00
|
|
|
# restart: true
|