mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
Up to r881 * 'master' of /Users/jackie/Sites/tracks_svn: (22 commits) Added .gitconfig Added yaml_db plugin: http://opensource.heroku.com/ applied patch from Eric from #732 fixes #730 restores ability to delete user from user management page fixes #724 where editing todos truncates the project name of the todo when the project name contains quotes (") Applied patch from Eric Pallen whcih automatically converts url's to links. Thanks Eric! explain that yaml cannot yet be used for backup as importing is not implemented yet. from mailinglist. hopefully fixes #727.Changes the check on running animation to finished animation regenerate compressed js and cleanup whitespace turns out that getElementsByClassName is removed from prototype and it therfore falls back to the function of the browser which has different semantics. Found here http://www.prototypejs.org/api/utility/getElementsByClassName forgot to create a new compressed js from the previous js changes in the stats page you can downdrill to see the active todos in a certain week from the running time charts. This patch adds the option to see all active todos from the selected week and older. fix #727. Adds a check to prevent expand/collapse while a previous expand/collaps is still animating fixed small problem where updating a todo from mobile resulted in an error becase source_view was nil fixes #726. Thanks Eric Pallen for the fix. The mobile view showed active todos from completed projects while the home page does not. merges changes from tracks1.6 to trunk prepares trunk for 1.6 release fixes #713. Adds behavior for edit/star/delete/check buttons of todo even if there is no todo to show. This makes sure that the behaviors are present when you add a new todo through AJAX. fixes #718. The link included the number of actions which resulted from last commit removed some more whitespace to reduce the download of the mobile view. ...
27 lines
No EOL
850 B
Text
27 lines
No EOL
850 B
Text
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 |