Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Dec 9, 2012
  1. @georgeclaghorn

    Make code statistics rake task handle new test locations properly

    georgeclaghorn authored
    As of 2a68f68:
    - Unit tests are now in test/models, instead of test/units
    - Functional tests are now in test/controllers, instead of
    - Helper tests are now in test/helpers, instead of test/units/helpers
    - Mailer tests are now in test/mailers, instead of test/functional
    Update the rake task for code statistics (`rake stats`) so that it
    recognizes files in the above locations as tests, and accurately
    calculates statistics such as "Test LOC" and "Code to Test Ratio."
    Safely handle Rails apps that still have tests in the old locations.
Something went wrong with that request. Please try again.