#19 new
James Herdman

Improve Testing Set Up

Reported by James Herdman | April 11th, 2009 @ 04:47 PM

I didn't really like how testing set up was with ARE. Configurations were highly similar, and predefined as zdennis. This is okay if you're him, but I'm not.

This patch cleans up testing configuration a lot. Configurations for all connections can be found in tests/database.yml.sample. A tests/database.yml file will need to be created. You mostly likely just need to do the following and change the default username:


cp tests/database.yml.sample tests/database.yml

You'll also notice that many supporting files, such as tests/boot.rb, and tests/run.rb have been refactored. This should hopefully make them a little more clear in the future for new contributors.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

ActiveRecord::Extension (aka ar-extensions) is a plugin to extend and
enhance the functionality of ActiveRecord. It starts by adding better
find support for ActiveRecord. It then adds mass data import
capabilities which are highly efficient and lastly it supports to_csv
functionality.

It also introduces a cool concept of creating easily extendable pieces
of ActiveRecord functionality, so developers don't have to understand
ActiveRecord internals or have the fear of breaking ActiveRecord
itself.

People watching this ticket

Attachments

Tags

Pages