[Ironruby-core] Code Review: rails2

Shri Borde Shri.Borde at microsoft.com
Thu Jan 21 19:36:33 EST 2010

To enable active record tests, we need to check in the ironruby-sqlserver gem (not hard), and implement ensure_test_databases (a bit more work to figure out).

disable_unstable_tests should be called. Good catch.

Removed line 82 of active_record_tests.rb

-----Original Message-----
From: Jim Deville 
Sent: Thursday, January 21, 2010 2:19 PM
To: Shri Borde; IronRuby External Code Reviewers
Cc: ironruby-core at rubyforge.org
Subject: RE: Code Review: rails2

* irtests.rb: Reminder for me: why is active record commented out?
* utr.rb: Disable_unstable_tests doesn't appear to get called, is that intentional?
* active_record_tests.rb, line 82: I would get rid of the empty method, it's already defined

Otherwise looks good.

-----Original Message-----
From: Shri Borde 
Sent: Thursday, January 21, 2010 2:01 PM
To: IronRuby External Code Reviewers
Cc: ironruby-core at rubyforge.org
Subject: Code Review: rails2

  tfpt review "/shelveset:rails2;REDMOND\sborde"
  Comment  : 
  Added active_resource and action_mailer tests to irtests.rb
  Added a category (disable_unstable_tests) of unstable tests to utr.rb so that we can track non-deterministic failures. Also a category (exclude_critical_files) for critical test files that cause an exception when loaded (even if no tests are run from the file).
  Disabled a TestMultiTask test in rake_tests. MultiTaskTest uses monitor.rb which uses Thread.critical= in a way that is not friendly with native threads. Ideally, we will implement our own version of monitor.rb that does not uses Thread.critical= Also, I think I left out active_support_tests.rb out of my previous update to 2.3.5. So it might be broken in irtests. This change should fix it.

More information about the Ironruby-core mailing list