diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-03-31 16:34:07 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-03-31 16:34:07 +0530 |
commit | 4c76f6894889e8e3f5cc3722d928954c79422542 (patch) | |
tree | dd1d4b630eaea7a74faabcf0cea41bf740ce8330 /railties/guides/source/testing.textile | |
parent | 910a8d22460a8b8e67a16441dadb87cc12ab7a4a (diff) | |
parent | f44d85a030f6e22421b26f0d5a0c869fae3efe5f (diff) | |
download | rails-4c76f6894889e8e3f5cc3722d928954c79422542.tar.gz rails-4c76f6894889e8e3f5cc3722d928954c79422542.tar.bz2 rails-4c76f6894889e8e3f5cc3722d928954c79422542.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source/testing.textile')
-rw-r--r-- | railties/guides/source/testing.textile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/guides/source/testing.textile b/railties/guides/source/testing.textile index d3f72509c6..d937f30609 100644 --- a/railties/guides/source/testing.textile +++ b/railties/guides/source/testing.textile @@ -748,7 +748,8 @@ You don't need to set up and run your tests by hand on a test-by-test basis. Rai h3. Brief Note About +Test::Unit+ -Ruby ships with a boat load of libraries. One little gem of a library is +Test::Unit+, a framework for unit testing in Ruby. All the basic assertions discussed above are actually defined in +Test::Unit::Assertions+. The class +ActiveSupport::TestCase+ which we have been using in our unit and functional tests extends +Test::Unit::TestCase+ that it is how we can use all the basic assertions in our tests. +Ruby ships with a boat load of libraries. One little gem of a library is +Test::Unit+, a framework for unit testing in Ruby. All the basic assertions discussed above are actually defined in +Test::Unit::Assertions+. The class +ActiveSupport::TestCase+ which we have been using in our unit and functional tests extends +Test::Unit::TestCase+, allowing +us to use all of the basic assertions in our tests. NOTE: For more information on +Test::Unit+, refer to "test/unit Documentation":http://ruby-doc.org/stdlib/libdoc/test/unit/rdoc/ |