Displaying 3 results from an estimated 3 matches for "running_unit_tests".
2008 Mar 20
5
How to unit test Rails itself (API)?
Hello,
I searched unit test for Rails on internet, but all the results are
for testing Rails APPLICATION generated by Rails.
But I think Rails itself needs unit test, too. I need to make sure
that all APIs/methods of Rails work fine in different scenarios.
I didn''t see any unit test files in the Rails package. Does anyone
know how to unit test Rails itself?
Thanks a lot.
2006 Jun 23
0
help... can''t run ActiveRecord unit tests to test bug fix
I found a bug in ActiveRecord. Being a good netizen, I thought I
would write a test to illustrate the bug, fix it, and then submit a
patch to the maintainers.
However, I can''t run the AR tests. I followed the instructions in
RUNNING_UNIT_TESTS but it generates an error immediately
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/test cremes$
ruby -I "connections/native_mysql" active_schema_mysql.rb
./../lib/active_record/base.rb:246: undefined method `cattr_accessor''
for ActiveRecord::Base:Class (NoMethodErro...
2005 Mar 10
24
(Online) documentation for 1.0
With the big One-Oh on it''s way, I''m thinking we should perhaps start
to work on the documentation some more.
The RDoc format is perfectly fine, and does its job beautifully, but I
think it doesn''t quite reflect the whizbang value that rails has,
especially for newcomers.
As one who has looked at the api docs almost daily for several months,
I feel quite comfortable