Skip to content

RedHai/rake-stats-for-Objective-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Rake stats for objective C (0.0.1-Alpha)

Getting Started

1. Open the stats.rb file, and do some configuration

   STATS_DIRECTORIES lists the directories which must be analysed

   example:
    
    STATS_DIRECTORIES = [
      ["Controllers", "/home/workspace/project/app/controllers"],
      ["Models", "/home/workspace/project/app/models"],
      ["Controllers test", "/home/workspace/project/spec/controllers"],
      ["Models test", "/home/workspace/project/spec/models"]
    ].select { |name, dir| File.directory?(dir) }

    TEST_TYPES lists the directories which contain test codes

    example:
      
      TEST_TYPES = ["Controllers test", "Models test"]

2. Run the stats

  $ ruby stats.rb

About

rake stats for Objective C. A tool to calculate Code to Test ratio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published