"Yehuda Katz" <[email protected]> wrote:
One thing that would make me feel more comfortable would be if ruby-core
ran the Rails test suite against 1.9.2-head. I know they're not obligated
to do
so, but it would make the process significantly more robust. Rails core
(and specifically Carl and I) would happily invest whatever time needed to
help the Ruby core team get (and stay) up and running with the Rails suite.
That is actually a very good idea for both projects. But there are a couple
of caveats.
First of all, it would not be reasonable for a copy of the rails source to
be included in the ruby
code repository. Thus like the rspec test suite, it would be an external
test suite, but a couple of makefile
commands could be provided to fetch the suite and run the tests.
Second it would be unreasonable to expect ruby-core to spend time debugging
rails. Thus you should provide a branch for this purpose which is only
resynced with trunk preriodcally, at points where there are no failures
under 1.8.7, and no known failures under ruby-HEAD that are not caused by
bugs in ruby itself.
For reasons of reproducability, this branch should have all pure-ruby
depencies vendered in. Yes even though bundler can provide the
reproducability, this should still be the case, so as to keep the whole
thing as clean as possible from ruby-core's persective.
The branch should have no dependencies requiring C extentions. If that means
some tests can't be run, too bad. At least the vast majority will be run.
If you are willing to set up such a branch, I'd tend to suspect ruby-core
may be willing to use such a test suite.
The advantage to ruby-core is that they gain an additional test suite that
more closely matches real world code than either of the current test-suites
(the implementation test suite, and the rspec specification test suite). It
would help detect changes that unintentionally break backwards
compatibility, and in cases where segfaults occur, help in locating bugs in
ruby itself.
Just my thoughts on the subject.
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.