Skip to content

Commit

Permalink
Split environments into configs
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Apr 13, 2016
1 parent cc057fe commit cbe0f8a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 17 deletions.
18 changes: 18 additions & 0 deletions tests/_envs/testing.yml
Original file line number Diff line number Diff line change
@@ -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:https://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:https://localhost:8000'
browser: 'phantomjs'
24 changes: 7 additions & 17 deletions tests/acceptance.suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,12 @@
# (tip: test your ajax and javascript by one of Mink drivers).

# RUN `build` COMMAND AFTER ADDING/REMOVING MODULES.

class_name: AcceptanceTester
modules:
enabled:
- WebDriver:
url: https://snipe-it.dev:1337
browser: phantomjs

env:
testing-ci:
modules:
- WebDriver:
url: http:https://localhost:8000
browser: phantomjs
testing:
modules:
- WebDriver:
url: http:https://localhost:8000
browser: phantomjs
enabled:
- WebDriver
- \Helper\Acceptance
config:
WebDriver:
url: 'https://snipe-it.dev:1337'
browser: 'firefox'

0 comments on commit cbe0f8a

Please sign in to comment.