Sha256: cc2095f8fffb732417c65db66ef65a9f16d86a591d66b44feb18e544ee7b2ca4

Contents?: true

Size: 527 Bytes

Versions: 1

Compression:

Stored size: 527 Bytes

Contents

= Running tests

For testing this plugin I decided to adapt a the query cache tests' from ActiveRecord. 

First of all you have to know that there is a Rails 2.1 application in `test/testing_app`.

So you need a database as indicated in `config/database.yml`:

  user: root
  adapter: mysql
  database: 'activerecord_unittest'
  encoding: utf8
  
Then, load the schema from `db/schema.rb`, and launch a memcache server in standar port 11211.

Now, you can go to the plugin root directory and perform the test task:

  rake test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ferblape-query_memcached-2.2.2 RUNNING_TESTS