From 468fb14274a0c9a0da6764c79a16391a83ff459e Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 13 Apr 2016 01:23:47 -0700 Subject: [PATCH] Added ci config to _env --- .env.testing-ci | 2 +- tests/_envs/testing-ci.yml | 18 ++++++++++++++++++ tests/functional.suite.yml | 2 +- tests/unit.suite.yml | 2 +- 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 tests/_envs/testing-ci.yml diff --git a/.env.testing-ci b/.env.testing-ci index 2d7946b2e..2296ccb46 100644 --- a/.env.testing-ci +++ b/.env.testing-ci @@ -1,7 +1,7 @@ # -------------------------------------------- # REQUIRED: BASIC APP SETTINGS # -------------------------------------------- -APP_ENV=testing +APP_ENV=testing-ci APP_DEBUG=true APP_KEY=ChangeMe APP_URL=http://localhost:8000 diff --git a/tests/_envs/testing-ci.yml b/tests/_envs/testing-ci.yml new file mode 100644 index 000000000..29c36195e --- /dev/null +++ b/tests/_envs/testing-ci.yml @@ -0,0 +1,18 @@ +# 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. +class_name: AcceptanceTester +modules: + enabled: + - WebDriver + - \Helper\Acceptance + config: + WebDriver: + url: 'http://localhost:8000' + browser: 'phantomjs' diff --git a/tests/functional.suite.yml b/tests/functional.suite.yml index 84ca55326..b9b9f3a42 100644 --- a/tests/functional.suite.yml +++ b/tests/functional.suite.yml @@ -10,4 +10,4 @@ modules: # add framework module here - \Helper\Functional - Laravel5: - environment_file: .env.testing + environment_file: .env diff --git a/tests/unit.suite.yml b/tests/unit.suite.yml index d8b3ebb9c..a9b2b91e3 100644 --- a/tests/unit.suite.yml +++ b/tests/unit.suite.yml @@ -6,4 +6,4 @@ modules: enabled: - \Helper\Unit - Laravel5: - environment_file: .env.testing-ci + environment_file: .env