Categories: None [Edit]

lookout-rake

https://rubygems.org/gems/lookout-rake
Lookout-Rake Lookout-Rake provides Rake¹ tasks for testing using Lookout. ¹ See http://rake.rubyforge.org/ § Installation Install Lookout-Rake with % gem install lookout-rake § Usage Include the following code in your ‹Rakefile›: require 'lookout-rake-3.0' Lookout::Rake::Tasks::Test.new If the ‹:default› task hasn’t been defined it’ll be set to depend on the ‹:test› task. The ‹:check› task will also depend on the ‹:test› task. There’s also a ‹:test:coverage› task that gets defined that uses the coverage library that comes with Ruby 1.9 to check the test coverage when the tests are run. You can hook up your test task to use your Inventory¹: load File.expand_path('../lib/library-X.0/version.rb', __FILE__) Lookout::Rake::Tasks::Test.new :inventory => Library::Version Also, if you use the tasks that come with Inventory-Rake², the test task will hook into the inventory you tell them to use automatically, that is, the following will do: load File.expand_path('../lib/library-X.0/version.rb', __FILE__) Inventory::Rake::Tasks.define Library::Version Lookout::Rake::Tasks::Test.new For further usage information, see the {API documentation}³. ¹ Inventory: http://disu.se/software/inventory/ ² Inventory-Rake: http://disu.se/software/inventory-rake/ ³ API: http://disu.se/software/lookout-rake/api/Lookout/Rake/Tasks/Test/ § Integration To use Lookout together with Vim¹, place ‹contrib/rakelookout.vim› in ‹~/.vim/compiler› and add compiler rakelookout to ‹~/.vim/after/ftplugin/ruby.vim›. Executing ‹:make› from inside Vim will now run your tests and an errors and failures can be visited with ‹:cnext›. Execute ‹:help quickfix› for additional information. Another useful addition to your ‹~/.vim/after/ftplugin/ruby.vim› file may be nnoremap M

Total

Ranking: 62,282 of 186,898
Downloads: 15,907

Daily

Ranking: 41,606 of 186,883
Downloads: 10

Depended by

RankDownloadsName
23,32560,916inventory
34,20835,647lookout
35,24334,191inventory-rake
35,39534,000inventory-rake-tasks-yard
41,77527,312value
52,15520,203yard-heuristics
55,24018,674yard-value
68,76013,789ame
75,19112,057u
101,1967,536lookout-rack
133,7104,390value-yard

Depends on

RankDownloadsName
101,130,285,747rake
223192,073,902yard
23,32560,916inventory
34,20835,647lookout
35,24334,191inventory-rake
35,39534,000inventory-rake-tasks-yard
52,15520,203yard-heuristics

Owners

#GravatarHandle
1iconnow