Cucumber:
* Profile * Browse code * Sceleton for main features * Wiki * Commits
This commit is contained in:
parent
6ff99fe945
commit
5bbf3ccf05
37 changed files with 560 additions and 62 deletions
8
config/cucumber.yml
Normal file
8
config/cucumber.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<%
|
||||
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
|
||||
rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
|
||||
std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip"
|
||||
%>
|
||||
default: <%= std_opts %> features
|
||||
wip: --tags @wip:3 --wip features
|
||||
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
|
|
@ -1,3 +1,21 @@
|
|||
#
|
||||
# PRODUCTION
|
||||
#
|
||||
production:
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
reconnect: false
|
||||
database: gitlabhq_production
|
||||
pool: 5
|
||||
username: root
|
||||
password: "secure password"
|
||||
# socket: /tmp/mysql.sock
|
||||
|
||||
|
||||
#
|
||||
# Development specific
|
||||
#
|
||||
#
|
||||
development:
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
|
@ -11,7 +29,7 @@ development:
|
|||
# Warning: The database defined as "test" will be erased and
|
||||
# re-generated from your development database when you run "rake".
|
||||
# Do not set this db to the same as development or production.
|
||||
test:
|
||||
test: &test
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
reconnect: false
|
||||
|
@ -21,12 +39,5 @@ test:
|
|||
password: "secure password"
|
||||
# socket: /tmp/mysql.sock
|
||||
|
||||
production:
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
reconnect: false
|
||||
database: gitlabhq_production
|
||||
pool: 5
|
||||
username: root
|
||||
password: "secure password"
|
||||
# socket: /tmp/mysql.sock
|
||||
cucumber:
|
||||
<<: *test
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
#
|
||||
# PRODUCTION
|
||||
#
|
||||
production:
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
reconnect: false
|
||||
database: gitlabhq_production
|
||||
pool: 5
|
||||
username: root
|
||||
password: "secure password"
|
||||
# socket: /tmp/mysql.sock
|
||||
|
||||
|
||||
#
|
||||
# Development specific
|
||||
#
|
||||
#
|
||||
development:
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
|
@ -11,7 +29,7 @@ development:
|
|||
# Warning: The database defined as "test" will be erased and
|
||||
# re-generated from your development database when you run "rake".
|
||||
# Do not set this db to the same as development or production.
|
||||
test:
|
||||
test: &test
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
reconnect: false
|
||||
|
@ -21,12 +39,5 @@ test:
|
|||
password:
|
||||
# socket: /tmp/mysql.sock
|
||||
|
||||
production:
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
reconnect: false
|
||||
database: gitlabhq_production
|
||||
pool: 5
|
||||
username: root
|
||||
password: "secure password"
|
||||
# socket: /tmp/mysql.sock
|
||||
cucumber:
|
||||
<<: *test
|
||||
|
|
|
@ -1,8 +1,23 @@
|
|||
#
|
||||
# PRODUCTION
|
||||
#
|
||||
# SQLite version 3.x
|
||||
# gem install sqlite3
|
||||
#
|
||||
# Ensure the SQLite 3 gem is defined in your Gemfile
|
||||
# gem 'sqlite3'
|
||||
production:
|
||||
adapter: sqlite3
|
||||
database: db/production.sqlite3
|
||||
pool: 5
|
||||
timeout: 5000
|
||||
|
||||
|
||||
#
|
||||
# Development specific
|
||||
#
|
||||
#
|
||||
#
|
||||
development:
|
||||
adapter: sqlite3
|
||||
database: db/development.sqlite3
|
||||
|
@ -12,14 +27,11 @@ development:
|
|||
# Warning: The database defined as "test" will be erased and
|
||||
# re-generated from your development database when you run "rake".
|
||||
# Do not set this db to the same as development or production.
|
||||
test:
|
||||
test: &test
|
||||
adapter: sqlite3
|
||||
database: db/test.sqlite3
|
||||
pool: 5
|
||||
timeout: 5000
|
||||
|
||||
production:
|
||||
adapter: sqlite3
|
||||
database: db/production.sqlite3
|
||||
pool: 5
|
||||
timeout: 5000
|
||||
cucumber:
|
||||
<<: *test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue