title: Using Module to group tests in Test::Unit
body: <p>When I have many tests in one test class, I use Module to group the tests.  </p>
  
  <p>Since I'm very new to rails and my question is:  </p>
  
  <p><em>Is it correct way to group tests or I'm doing very stupid things without knowing other side-effects?</em></p>
  
  <p>Here is the code:</p>
  
  <pre><code>require 'test_helper'
  
  module AttributeValidationTest
    extend ActiveSupport::Testing::Declarative
  
    test "should not ...." do
      # .....
    end
  
    # other tests here....
  end
  
  module AnotherGroupTest
    extend ActiveSupport::Testing::Declarative
  
    # tests.....
  end
  
  # may be another modules..   
  
  class MyModelTest &lt; ActiveSupport::TestCase
    include AttributeValidationTest  
    include AnotherGroupTest
  
  end
  </code></pre>
  
  <p>Thanks.</p>