mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-16 09:16:32 +01:00
Updated to svn tags/tracks-1.6
This commit is contained in:
parent
103fcb8049
commit
02496f2d44
2274 changed files with 0 additions and 0 deletions
27
doc/README_DEVELOPERS
Normal file
27
doc/README_DEVELOPERS
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
1. Wiki
|
||||
|
||||
There are some pointers for setting up your Tracks copy for testing at http://dev.rousette.org.uk/wiki/Tracks/Testing
|
||||
|
||||
2. SQLITE3 FOR TESTING
|
||||
|
||||
By default, tests are configured to run using sqlite3 in memory mode to increase speed. You will need the sqlite3-ruby gem for this.
|
||||
|
||||
To avoid showing the migrations as tests are run, add the following to your database.yml below 'database: ":memory:"':
|
||||
|
||||
verbosity: quiet
|
||||
|
||||
If you want to run tests using another database, that's fine, too. Just change your database.yml accordingly.
|
||||
|
||||
3. SELENIUM TESTS
|
||||
|
||||
To run selenium tests, start Tracks in test mode using
|
||||
|
||||
script/server -e test
|
||||
|
||||
Then open a browser to
|
||||
|
||||
http://localhost:3000/selenium/
|
||||
|
||||
and interact with the test runner.
|
||||
|
||||
For more information about Selenium on Rails, see vendor/plugins/selenium-on-rails/README
|
||||
Loading…
Add table
Add a link
Reference in a new issue