| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 25 Dec 2025 02:17:32 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100112003239
location: https://web.archive.org/web/20100112003239/https://github.com/janx/vim-rubytest
server-timing: captures_list;dur=1.759251, exclusion.robots;dur=0.054826, exclusion.robots.policy;dur=0.043069, esindex;dur=0.008470, cdx.remote;dur=107.980270, LoadShardBlock;dur=295.104942, PetaboxLoader3.datanode;dur=68.370582, PetaboxLoader3.resolve;dur=73.806484
x-app-server: wwwb-app245-dc8
x-ts: 302
x-tr: 468
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app245; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 25 Dec 2025 02:17:33 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Tue, 12 Jan 2010 00:32:39 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "c742ac98a79bdba48ac0903f44982560"
x-archive-orig-x-runtime: 2892ms
x-archive-orig-content-length: 19565
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Tue, 12 Jan 2010 00:32:39 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_13_20100111183123_crawl101-c/52_13_20100112003151_crawl101.arc.gz
server-timing: captures_list;dur=0.607471, exclusion.robots;dur=0.017485, exclusion.robots.policy;dur=0.007168, esindex;dur=0.010310, cdx.remote;dur=36.830729, LoadShardBlock;dur=213.969564, PetaboxLoader3.datanode;dur=216.105439, PetaboxLoader3.resolve;dur=79.958198, load_resource;dur=135.896572
x-app-server: wwwb-app245-dc8
x-ts: 200
x-tr: 452
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
janx's vim-rubytest at master - GitHub
This service is courtesy of Pledgie.
janx / vim-rubytest
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
-
Branches (1)
- master ✓
- Tags (0)
Sending Request…
Enable Donations
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Run ruby test in vim — Read more
| name | age | message | |
|---|---|---|---|
| |
README | Tue May 12 20:38:30 -0700 2009 | better doc for quickfix; smart quickfix window [janx] |
| |
plugin/ | Wed Sep 23 20:19:45 -0700 2009 | support spec drb mode [janx] |
README
Rubytest.vim ============ Rubytest.vim is a vim (https://www.vim.org) plugin, which helps you to run ruby test (including vanilla test, rspec, shoulda etc.) in vim. Installation ------------ Copy all files to your ~/.vim directory. Usage ----- After installation, press <Leader>t will run the test under your cursor if you are editing a ruby test file. example: $ cd <your rails/merb root> $ vim test/unit/user_test.rb (move cursor into a test case, press <Leader>t) (<Leader> is mapping to '\' by default in vim) By default, only test errors will be shown to you. If some of your tests failed, the errors will be displayed in vim's quickfix window, and you can quick jump to the place where the error raise in source file by moving cursor onto the error message and press return (or ctrl-w return to open a new window and jump). If you don't want quickfix, just want to run tests and get results you can set g:rubytest_in_quickfix to 0 in your .vimrc file: let g:rubytest_in_quickfix = 0 You can customize the command which will be used to run the test case by settting these options in your vimrc file: let g:rubytest_cmd_test = "ruby %p" let g:rubytest_cmd_testcase = "ruby %p -n '/%c/'" let g:rubytest_cmd_spec = "spec -f specdoc %p" let g:rubytest_cmd_example = "spec -f specdoc %p -e '%c'" (%p will be replaced by the path of test file, %c will be replaced by the name of test case under cursor) Default Key Bindings -------------------- <Leader>t: run test case under cursor <Leader>T: run all tests in file You can change default key bindings: map <Leader>\ <Plug>RubyTestRun " change from <Leader>t to <Leader>\ map <Leader>] <Plug>RubyFileRun " change from <Leader>T to <Leader>]
This feature is coming soon. Sit tight!
