Sha256: bbcfe6fc9acc63e6874c637d00f5a2f513b0b5b384b042334c90428e0c61249f

Contents?: true

Size: 1.8 KB

Versions: 2

Compression:

Stored size: 1.8 KB

Contents

# = JoinFix Tests
# JoinFix does not have an active test suite that can be run when installed via RubyGems,
# because as you may expect, running the tests for joinfix requires that ActiveRecord can 
# connect to a test database.  Additionally, the tests depend on the 'gemdev' gem.
#
# If you want to run the tests, you need to do the following:
# * install gemdev ('gem install gemdev')
# * create the database and grant permissions to a test user
# * modify config.yml to reflect the database and user
#  
# Execute these commands when logged into 'mysql' (assuming you're using mysql on localhost)
#
#   create database joinfix;
#   grant all on joinfix.* to 'ruby'@'localhost' identified by 'rubypass'
#
# Now you can run the test from the command line using:
# 
#   % rake test
#
# = Rails Tests
# JoinFix is intended to be used in Ruby on Rails.  I've set up a rails project for 
# testing, complete with models, migrations, fixtures, and the appropriate tests.
# 
# The rails tests require a '_development' and '_test' database to connect to.
#
# To setup the databases:
# * create the databases and grant permissions to a test user
# * modify rails/config/database.yml to reflect the databases and user
# * migrate the table schema into the development database
# 
# Execute these commands when logged into 'mysql' (assuming you're using mysql on localhost)
#
#   create database joinfix_development;
#   grant all on joinfix_development.* to 'ruby'@'localhost' identified by 'rubypass';
#
#   create database joinfix_test;
#   grant all on joinfix_test.* to 'ruby'@'localhost' identified by 'rubypass';
#
# Subsequently you need to migrate the database specification into these tables
# and run the tests.  From the command line, in the rails directory:
#
#   % rake db:migrate
#   % rake test
#

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
joinfix-0.1.0 TEST_README
joinfix-0.1.1 TEST_README