# Rails ActionPack tests

**URL:** <https://www.ruby-forum.com/t/rails-actionpack-tests/166253>\
**Category:** IronRuby\
**Created:** [April 23, 2009, 7:51am UTC](https://www.ruby-forum.com/t/rails-actionpack-tests/166253 "2009-04-23T07:51:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shri\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/898d66/32.png) [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Post date:** [April 23, 2009, 7:51am UTC](https://www.ruby-forum.com/t/rails-actionpack-tests/166253/1 "2009-04-23T07:51:20Z")

</div>

It is now possible to run the Rails ActionPack tests to completion  
without any hangs or fatal crashes! The full instructions are at the  
bottom of [IronRuby.net /](http://www.ironruby.net/Documentation/Rails). Note that this is  
not the full test suite (have not tried to run that yet). The result  
summary for the ActionPack tests is:

2306 tests, 10539 assertions, 85 failures, 50 errors

[rails actionpack tests with ironruby · GitHub](http://gist.github.com/100329) has the full output if you want to browse  
the kinds of errors IronRuby is running into. The numbers look pretty  
good for now, but there is still work to be done to drive it to 0.

Actually the results with MRI are “2306 tests, 10823 assertions, 28  
failures, 3 errors”, which means that there are some configuration  
issues. If anyone has experience running Rails tests with MRI, it will  
be very useful to know how to get this MRI baseline to be clean (or to  
know if these issues are known issues in MRI or the Rails tests)

For folks who are working on fixing RubySpec bugs (and for others who  
are interested too), it will be great to have your help fixing Rails  
bugs. Jirapong, some of the failures are due to a missing  
OpenSSL::Random. This could be a good place to start with your OpenSSL  
work. Some of the bugs seem easy to spot from the output, like a missing  
File::stat. Other bugs might need more digging in. Let me know if there  
is

PS: Note that you will need to pull changes from my repo which are still  
not in the main repo (git pull git://github.com/shri/ironruby.git  
master)

Thanks,  
Shri

---

<div class="post-metadata">

**Author:** ![Shri\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/898d66/32.png) [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Post date:** [April 23, 2009, 8:29am UTC](https://www.ruby-forum.com/t/rails-actionpack-tests/166253/2 "2009-04-23T08:29:28Z")

</div>

Hello Shri,  
sounds good. I will start on OpenSSL implementation this weekend. The  
information will share to everyone here on Monday.

Thanks,  
-Jirapong

---

<div class="post-metadata">

**Author:** ![Shri\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/898d66/32.png) [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Post date:** [April 24, 2009, 7:12am UTC](https://www.ruby-forum.com/t/rails-actionpack-tests/166253/3 "2009-04-24T07:12:38Z")

</div>

The numbers look good. I’ve never used RoR before (well I’ve never  
ever installed it) and I don’t know almost anything about it, so I’m  
not sure if I can be of any help in this area but I’ll try digging a  
little into those failures.

PS: yeah, I might be one of the very few who doesn’t really care about  
Rails 🙂

On Thu, Apr 23, 2009 at 07:32, Shri B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> useful to know how to get this MRI baseline to be clean (or to know if these
> 
> * * *
> 
> Ironruby-core mailing list  
> removed\_email\_address@domain.invalid  
> [http://rubyforge.org/mailman/listinfo/ironruby-core](http://rubyforge.org/mailman/listinfo/ironruby-core)

–  
Daniele A.  
[http://www.clorophilla.net/blog/](http://www.clorophilla.net/blog/)  
[http://twitter.com/JoL1hAHN](http://twitter.com/JoL1hAHN)

---

<div class="post-metadata">

**Author:** ![Shri\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/898d66/32.png) [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Post date:** [May 4, 2009, 9:42am UTC](https://www.ruby-forum.com/t/rails-actionpack-tests/166253/4 "2009-05-04T09:42:33Z")

</div>

I tried running the ActiveSupport tests. The results tally is :

```
            1659 tests, 154 errors and failures

```

The log is at [ironruby\_activesupport\_test\_results.txt · GitHub](http://gist.github.com/106363) if you want to see the kinds  
of failures IronRuby runs into. Instructions for running the tests is at  
the bottom of [IronRuby.net /](http://www.ironruby.net/Documentation/Rails).

Shri

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Shri B.  
Sent: Wednesday, April 22, 2009 10:32 PM  
To: removed\_email\_address@domain.invalid  
Subject: [Ironruby-core] Rails ActionPack tests

It is now possible to run the Rails ActionPack tests to completion  
without any hangs or fatal crashes! The full instructions are at the  
bottom of [IronRuby.net /](http://www.ironruby.net/Documentation/Rails). Note that this is  
not the full test suite (have not tried to run that yet). The result  
summary for the ActionPack tests is:

2306 tests, 10539 assertions, 85 failures, 50 errors

[rails actionpack tests with ironruby · GitHub](http://gist.github.com/100329) has the full output if you want to browse  
the kinds of errors IronRuby is running into. The numbers look pretty  
good for now, but there is still work to be done to drive it to 0.

Actually the results with MRI are “2306 tests, 10823 assertions, 28  
failures, 3 errors”, which means that there are some configuration  
issues. If anyone has experience running Rails tests with MRI, it will  
be very useful to know how to get this MRI baseline to be clean (or to  
know if these issues are known issues in MRI or the Rails tests)

For folks who are working on fixing RubySpec bugs (and for others who  
are interested too), it will be great to have your help fixing Rails  
bugs. Jirapong, some of the failures are due to a missing  
OpenSSL::Random. This could be a good place to start with your OpenSSL  
work. Some of the bugs seem easy to spot from the output, like a missing  
File::stat. Other bugs might need more digging in. Let me know if there  
is

PS: Note that you will need to pull changes from my repo which are still  
not in the main repo (git pull git://github.com/shri/ironruby.git  
master)

Thanks,  
Shri
