{"id":13778502,"url":"https://github.com/sovetnik/vim-minispec","last_synced_at":"2026-05-18T06:10:32.031Z","repository":{"id":78364556,"uuid":"88556798","full_name":"sovetnik/vim-minispec","owner":"sovetnik","description":"The \"Vim Minispec\" plugin runs Minitest spec and displays the results in Vim quickfix window.","archived":false,"fork":false,"pushed_at":"2020-08-14T01:14:37.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-03T18:12:55.658Z","etag":null,"topics":["minitest","vim","vim-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sovetnik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-04-17T22:36:39.000Z","updated_at":"2020-08-14T01:14:40.000Z","dependencies_parsed_at":"2023-03-08T22:00:19.810Z","dependency_job_id":null,"html_url":"https://github.com/sovetnik/vim-minispec","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sovetnik%2Fvim-minispec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sovetnik%2Fvim-minispec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sovetnik%2Fvim-minispec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sovetnik%2Fvim-minispec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sovetnik","download_url":"https://codeload.github.com/sovetnik/vim-minispec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225048943,"owners_count":17412898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["minitest","vim","vim-plugin"],"created_at":"2024-08-03T18:00:54.300Z","updated_at":"2025-09-29T18:29:13.219Z","avatar_url":"https://github.com/sovetnik.png","language":"Vim script","funding_links":[],"categories":["Hanami Gem List"],"sub_categories":["Editors and IDE"],"readme":"# Vim Minispec\n\nThe **Vim Minispec** plugin runs your Gem or [Hanami](http://hanamirb.org/) [Minitest](https://github.com/seattlerb/minitest) specs and displays the results in Vim quickfix. If no any errors or warnings, it echoes output last line, like: '23 tests, 42 assertions, 0 failures, 0 errors, 0 skips'\n\n## Requirements\n\nIf you can run your minitest file like `ruby spec/awesome_spec.rb` or `rake test` you can use a plugin.\nIn your `spec/spec_helper.rb` must exist a line `require 'minitest/autorun'`or in `.hanamirc` must exist a line `test=minitest`.\n\n## Installation\n\nGet plugin and place `minispec.vim` in your Vim plugin directory.\nWhen you have Vundle or Plug, add to your `~/.vimrc` or `~/.config/nvim/init.vim` something like:\n```\nPlug 'sovetnik/vim-minispec'\n```\nFor Pathogen copy and paste:\n```\ncd ~/.vim/bundle\ngit clone 'git://github.com/sovetnik/vim-minispec.git'\n```\n## Usage\n\nThe plugin registers `\u003cLeader\u003er` and `\u003cLeader\u003et` in normal mode for triggering it easily. \n\nYou can use **Leader-r**(Run spec) to run some command in order:\n- Run current spec if filename match `*_spec.rb` or have a related spec.\n  Examples of supported files:\n  - `apps/web/controllers/fragments/show.rb`\n  - `apps/web/views/fragments/show.rb`\n  - `lib/project/entities/awesome.rb`\n  - `spec/project/entities/awesome_spec.rb`\n  - and so on.\n- Run last runned spec if exists one.\n- Run all tests by 'rake test'\n\nor **Leader-t**(run Total) anywhere in project to run all tests.\n\nAdditionally, if you have installed Tim Pope's [vim-unimpaired](https://github.com/tpope/vim-unimpaired), you can use **[q** and **]q** to navigate through list of errors. \nOtherwise use `:cprevious` and `:cnext`.\n\nIn the quickfix window, you can use:\n\n    o    to open (same as enter)\n    q    to close the quickfix window\n\n## Troubleshooting\nIf you press `\u003cLeader\u003er` or `\u003cLeader\u003et`and shit and/or nothing happens, try direct commands:\n- `:!ruby %`\n- `rake` or `rake test`\nThis show you unfiltered console output.\nRemember about rake  must be runned from project root.\nUsually, plugin cd in your project root before each run, but we in troubleshoot section, so try `:pwd`. Output must be looks like your root.\n\n## License\nThe Vim Minispec plugin is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsovetnik%2Fvim-minispec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsovetnik%2Fvim-minispec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsovetnik%2Fvim-minispec/lists"}