Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #9884 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

[PATCH] [TEST] SQL Server tests should run from SQL Server plugin instead of rails core

Reported by: lawrence Assigned to: core
Priority: normal Milestone: 2.x
Component: ActiveRecord Version: edge
Severity: normal Keywords: patch test sqlserver
Cc:

Description

To test the SQL Server plugin, you should run e.g. "rake test_sqlserver" from the plugin directory. Not from the core AR directory.

Part one of the patch (file sqlserver_db_definitions.patch) :

- Adds all the activerecord/test/fixtures/db_definitions/sqlserver*.sql files to the plugin dir

- Adds activerecord/test/connections/native_sqlserver* files to the plugin dir

- Adds tasks to the rakefile of the plugin, so you can run the create the databases, and tests from there.

- Adds a readme file with info on how to test the plugin

Attachments

edge_sqlserver_db_definitions.patch (13.7 kB) - added by lawrence on 10/16/07 02:38:15.
sqlserver_db_definitions.patch (27.7 kB) - added by lawrence on 10/16/07 02:50:12.

Change History

10/16/07 02:30:22 changed by lawrence

Part two of the patch (edge_sqlserver_db_definitions.patch) :

- Removes all the activerecord/test/fixtures/db_definitions/sqlserver*.sql files from AR core.

- Removes activerecord/test/connections/native_sqlserver* files

- Removes test_sqlserver and test_sqlserver_odbc as rake tasks from AR core.

10/16/07 02:38:15 changed by lawrence

  • attachment edge_sqlserver_db_definitions.patch added.

10/16/07 02:50:12 changed by lawrence

  • attachment sqlserver_db_definitions.patch added.

10/16/07 05:05:25 changed by bitsweat

(In [7930]) Moving SQL Server tests to the extracted adapter. References #9884.

10/16/07 05:20:17 changed by lawrence

  • status changed from new to closed.
  • resolution set to fixed.

(In [7939]) Moving SQL Server tests from AR core to plugin sqlserver adapter. Closes #9884 [lawrence]