default_connection: <%= defined?(JRUBY_VERSION) ? 'jdbcsqlite3' : 'sqlite3' %> connections: jdbcderby: arunit: activerecord_unittest arunit2: activerecord_unittest2 jdbch2: arunit: activerecord_unittest arunit2: activerecord_unittest2 jdbchsqldb: arunit: activerecord_unittest arunit2: activerecord_unittest2 jdbcmysql: arunit: username: rails encoding: utf8 arunit2: username: rails encoding: utf8 jdbcpostgresql: arunit: username: <%= ENV['user'] || 'rails' %> arunit2: username: <%= ENV['user'] || 'rails' %> jdbcsqlite3: arunit: database: <%= FIXTURES_ROOT %>/fixture_database.sqlite3 timeout: 5000 arunit2: database: <%= FIXTURES_ROOT %>/fixture_database_2.sqlite3 timeout: 5000 db2: arunit: host: localhost username: arunit password: arunit database: arunit arunit2: host: localhost username: arunit password: arunit database: arunit2 ibm_db: <% env_not_set = false %> arunit: <% if ENV['DB2_USER1'] %> username: <%= ENV['DB2_USER1'] %> <% else %> <% puts "Warning: Environment variable DB2_USER1 is not set." %> <% env_not_set = true %> <% end %> <% if ENV['DB2_PASSWD1'] %> password: <%= ENV['DB2_PASSWD1'] %> <% else %> <% puts "Warning: Environment variable DB2_PASSWD1 is not set." %> <% env_not_set = true %> <% end %> <% if ENV['DB2_DATABASE1'] %> database: <%= ENV['DB2_DATABASE1'] %> <% else %> <% puts "Warning: Environment variable DB2_DATABASE1 is not set." %> <% env_not_set = true %> <% end %> <% if ENV['DB2_HOST1'] %> host: <%= ENV['DB2_HOST1'] %> <% else %> <% puts "Warning: Environment variable DB2_HOST1 is not set." %> <% env_not_set = true %> <% end %> <% if ENV['DB2_PORT1'] %> port: <%= ENV['DB2_PORT1'] %> <% else %> <% puts "Warning: Environment variable DB2_PORT1 is not set." %> <% env_not_set = true %> <% end %> start_id: 1000 parameterized: true statement_limit: 1000 # debug: true arunit2: <% if ENV['DB2_USER2'] %> username: <%= ENV['DB2_USER2'] %> <% else %> <% puts "Warning: Environment variable DB2_USER2 is not set." %> <% env_not_set = true %> <% end %> <% if ENV['DB2_PASSWD2'] %> password: <%= ENV['DB2_PASSWD2'] %> <% else %> <% puts "Warning: Environment variable DB2_PASSWD2 is not set." %> <% env_not_set = true %> <% end %> <% if ENV['DB2_DATABASE2'] %> database: <%= ENV['DB2_DATABASE2'] %> <% else %> <% puts "Warning: Environment variable DB2_DATABASE2 is not set." %> <% env_not_set = true %> <% end %> <% if ENV['DB2_HOST2'] %> host: <%= ENV['DB2_HOST2'] %> <% else %> <% puts "Warning: Environment variable DB2_HOST2 is not set." %> <% env_not_set = true %> <% end %> <% if ENV['DB2_PORT2'] %> port: <%= ENV['DB2_PORT2'] %> <% else %> <% puts "Warning: Environment variable DB2_PORT2 is not set." %> <% env_not_set = true %> <% end %> start_id: 1000 parameterized: true statement_limit: 1000 # debug: true <% if env_not_set == true %> <% puts "Please set it before running test file and avoid" %> <% puts "hardcoded password in confi.yml file." %> <% exit(1) %> <% end %> firebird: arunit: host: localhost username: rails password: rails charset: UTF8 arunit2: host: localhost username: rails password: rails charset: UTF8 frontbase: arunit: host: localhost username: rails session_name: unittest-<%= $$ %> arunit2: host: localhost username: rails session_name: unittest-<%= $$ %> mysql: arunit: username: root password: rootpass port: 3306 database: railsdb encoding: utf8 arunit2: username: root password: rootpass port: 3306 database: railsdb encoding: utf8 mysql2: arunit: username: rails encoding: utf8 arunit2: username: rails encoding: utf8 openbase: arunit: username: admin arunit2: username: admin oracle: arunit: adapter: oracle_enhanced database: <%= ENV['ARUNIT_DB_NAME'] || 'orcl' %> username: <%= ENV['ARUNIT_USER_NAME'] || 'arunit' %> password: <%= ENV['ARUNIT_PASSWORD'] || 'arunit' %> emulate_oracle_adapter: true arunit2: adapter: oracle_enhanced database: <%= ENV['ARUNIT_DB_NAME'] || 'orcl' %> username: <%= ENV['ARUNIT2_USER_NAME'] || 'arunit2' %> password: <%= ENV['ARUNIT2_PASSWORD'] || 'arunit2' %> emulate_oracle_adapter: true postgresql: arunit: min_messages: warning arunit2: min_messages: warning sqlite3: arunit: database: <%= FIXTURES_ROOT %>/fixture_database.sqlite3 timeout: 5000 arunit2: database: <%= FIXTURES_ROOT %>/fixture_database_2.sqlite3 timeout: 5000 sqlite3_mem: arunit: adapter: sqlite3 database: ':memory:' arunit2: adapter: sqlite3 database: ':memory:' sybase: arunit: host: database_ASE username: sa arunit2: host: database_ASE username: sa