Sha256: 0b16b70b48c1431c2ebbc7c2074e102eaf148c22b5aa00d3be85ee7a74d5d3c2

Contents?: true

Size: 915 Bytes

Versions: 17

Compression:

Stored size: 915 Bytes

Contents

= Composite Primary Keys - Testing Readme

== Testing an adapter

There are tests available for the following adapters:

* ibmdb
* mysql
* oracle
* oracle_enhanced
* postgresql
* sqlite

To run the tests for one of the adapters follow these steps (using mysql in the example):

* rake -T mysql

    rake mysql:build_databases         # Build the MySQL test databases
    rake mysql:drop_databases          # Drop the MySQL test databases
    rake mysql:rebuild_databases       # Rebuild the MySQL test databases
    rake mysql:test                    # Run tests using the mysql adapter

* rake mysql:build_databases
* rake mysql:test

== Running tests individually

You can specify which test you'd like to run on the command line:

* rake mysql:test TEST=test/test_equal.rb

If you want to run closer to the metal you can cd into the test/
directory and run the tests like so:

* ADAPTER=mysql ruby test_equal.rb

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
composite_primary_keys-3.1.11 test/README_tests.txt
composite_primary_keys-4.0.0.beta7 test/README_tests.txt
composite_primary_keys-4.0.0.beta6 test/README_tests.txt
composite_primary_keys-4.0.0.beta5 test/README_tests.txt
composite_primary_keys-4.0.0.beta4 test/README_tests.txt
composite_primary_keys-4.0.0.beta3 test/README_tests.txt
composite_primary_keys-3.1.10 test/README_tests.txt
composite_primary_keys-4.0.0.beta2 test/README_tests.txt
composite_primary_keys-4.0.0.beta1 test/README_tests.txt
composite_primary_keys-3.1.9 test/README_tests.txt
composite_primary_keys-3.1.8 test/README_tests.txt
composite_primary_keys-3.1.7 test/README_tests.txt
composite_primary_keys-3.1.6 test/README_tests.txt
composite_primary_keys-3.1.5 test/README_tests.txt
composite_primary_keys-3.1.4 test/README_tests.txt
composite_primary_keys-3.1.2 test/README_tests.txt
composite_primary_keys-3.1.1 test/README_tests.txt