GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pgr0ss/vimux-ruby-test: vim plugin to run ruby tests using https://github.com/benmills/vimux

BranchesTags
Open more actions menu

Latest commit

 

History

56 Commits
56 Commits

Folders and files

NameName
Last commit message
Last commit date
plugin
plugin
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

Repository files navigation

WHAT?

  • Run the test/spec your cursor is currently on
  • Run the context your cursor is currently in
  • Run the entire test/spec you are working in
  • Streaming output to tmux via vimux

This plugin currently supports

  • test/unit
  • dust
  • rspec
  • shoulda

HOW?

Use any of the commands below. Map them to shortcuts in your .vimrc for easy access.

  • RunRubyFocusedTest - run focused test/spec
  • RunRailsFocusedTest - run focused test (no spec support) in a Rails app
  • RunRubyFocusedContext - run current context (rspec, shoulda)
  • RunAllRubyTests - run all the tests/specs in the current file

You can also use the following settings in .vimrc to configure the command used to run ruby tests:

let g:vimux_ruby_cmd_unit_test = "bundle exec ruby"
let g:vimux_ruby_cmd_all_tests = "testdrb"
let g:vimux_ruby_cmd_context = "FOO=bar ruby"

By default, vim-ruby-test clears the tmux pane in which the command is run. You can configure this behavior:

let g:vimux_ruby_clear_console_on_run = 0

By default, vim-ruby-test uses the absolute path for file arguments. You can configure it to instead use relative paths with:

let g:vimux_ruby_file_relative_paths = 1

INSTALL

Put the contents of this directory into your pathogen bundle. That's it!

REQUIREMENTS

  • vim with ruby support (compiled +ruby)
  • vimux >= 0.3.0

CONTRIBUTORS:

  • Drew Olson
  • Paul Gross
  • Kendall Buchanan
  • Thomas Mayfield

About

vim plugin to run ruby tests using https://github.com/benmills/vimux

Resources

Readme
Activity

Stars

40 stars

Watchers

2 watching

Forks

27 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.