Re: rails edge now includes activerecord test adaptors for jdbc databases
- From: Thomas Enebo <Thomas.Enebo@Sun.COM>
- To: Stephen Bannasch <stephen.bannasch@deanbrook.org>
- Cc: dev@activerecord-jdbc.kenai.com, user@jruby.codehaus.org
- Subject: Re: rails edge now includes activerecord test adaptors for jdbc databases
- Date: Mon, 26 Jan 2009 10:03:30 -0600
Stephen Bannasch wrote:
Thanks for putting this patch together. Nick had already +1'd it and when I looked at it I was surprised it hadn't been plus-oned a second time yet.
The patch on this ticket for rails: Add AR test-connections for JDBC via JRuby
http://rails.lighthouseapp.com/projects/8994/tickets/1685-adding-ar-test-connections-for-jdbc-via-jruby
Was just applied to rails edge:
http://github.com/rails/rails/commit/4ef9845aa324679b88e19b8223dd90b774215bc6
This means with edge rails you can now run the full active-record suite of tests against the following databases connections (without patching rails):
jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb
There's still a bunch of work to do to get most of these databases and the connectors passing the activerecord test suite.
The jdbcmysql adapter/database is the only one close.
Here are my results from a couple of weeks ago:
test status with trunk JRuby (r8541) and activerecord-jdbc v0.9
jdbcmysql: 1807 tests, 6004 assertions, 20 failures, 1 errors
jdbcpostgresql: 1812 tests, 1310 assertions, 4 failures, 1675 errors
jdbcsqlite3: 1807 tests, 889 assertions, 15 failures, 1673 errors
jdbch2: 1807 tests, 1809 assertions, 41 failures, 1361 errors
jdbchsqldb: 1807 tests, 4181 assertions, 33 failures, 553 errors
jdbcderby: 1812 tests, 759 assertions, 20 failures, 1765 errors
There's some additional info about how to run the tests in the Lighthouse ticket link.
Hopefully, we can spend a little bit of time to correct most of these errors. Most early errors appear to be the cause of later errors, so the results are not as dire as they look in the results (at least I think so).
-Tom
|
rails edge now includes activerecord test adaptors for jdbc databases |
Stephen Bannasch | 01/26/2009 |
|
Re: rails edge now includes activerecord test adaptors for jdbc databases |
Thomas Enebo | 01/26/2009 |





