Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # vimcov
- Vimcov runs a Ruby script and opens Vim marking the lines that were actually run.
- This could be useful when debugging long methods with lots of branching -- instead of abusing `puts`, you can just use Vimcov and you're good to go.
- It runs only in Ruby 1.9.x.
- Future versions will include more tight integration with test runs or Rails or whatever.
- ## Usage
- ./vimcov my_script.rb
- It will open vim and mark the lines that were actually run :D
Add Comment
Please, Sign In to add comment