{"id":13509821,"url":"https://github.com/moofish32/vim-ex_test","last_synced_at":"2026-03-03T08:50:42.852Z","repository":{"id":72801983,"uuid":"43727101","full_name":"moofish32/vim-ex_test","owner":"moofish32","description":"Run Elixir tests inside VIM","archived":false,"fork":false,"pushed_at":"2015-10-06T03:16:33.000Z","size":128,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-01T10:35:00.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"VimL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moofish32.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-06T03:03:30.000Z","updated_at":"2021-10-05T12:01:38.000Z","dependencies_parsed_at":"2023-02-25T13:30:32.558Z","dependency_job_id":null,"html_url":"https://github.com/moofish32/vim-ex_test","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/moofish32%2Fvim-ex_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moofish32%2Fvim-ex_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moofish32%2Fvim-ex_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moofish32%2Fvim-ex_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moofish32","download_url":"https://codeload.github.com/moofish32/vim-ex_test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246332222,"owners_count":20760442,"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":[],"created_at":"2024-08-01T02:01:13.770Z","updated_at":"2026-03-03T08:50:42.822Z","avatar_url":"https://github.com/moofish32.png","language":"VimL","funding_links":[],"categories":["Editors"],"sub_categories":[],"readme":"# ExTest.vim\n\nThis is a lightweight ExTest runner for Vim and MacVim.\n\n## Installation\n\nRecommended installation with [vundle](https://github.com/gmarik/vundle):\n\n```vim\nPlugin 'moofish32/vim-ex_test'\n```\n\nIf using zsh on OS X it may be necessary to move `/etc/zshenv` to `/etc/zshrc`.\n\n## Configuration\n\n### Key mappings\n\nAdd your preferred key mappings to your `.vimrc` file.\n\n```vim\n\" ExTest.vim mappings\nmap \u003cLeader\u003et :call RunCurrentTestFile()\u003cCR\u003e\nmap \u003cLeader\u003es :call RunNearestTest()\u003cCR\u003e\nmap \u003cLeader\u003el :call RunLastTest()\u003cCR\u003e\nmap \u003cLeader\u003ea :call RunAllTests()\u003cCR\u003e\n```\n\n### Custom command\n\nOverwrite the `g:ex_test_command` variable to execute a custom command.\n\nExample:\n\n```vim\nlet g:ex_test_command = \"mix test --cover /tmp/cover {test}\"\n```\n\nThis `g:ex_test_command` variable can be used to support any number of test\nrunners or pre-loaders. For example, to use\n[Dispatch](https://github.com/tpope/vim-dispatch):\n\n```vim\nlet g:ex_test_command = \"Dispatch mix test {test}\"\n```\n\n### Custom runners\n\nOverwrite the `g:ex_test_runner` variable to set a custom launch script. At the\nmoment there are two MacVim-specific runners, i.e. `os_x_terminal` and\n`os_x_iterm`. The default is `os_x_terminal`, but you can set this to anything\nyou want, provided you include the appropriate script inside the plugin's\n`bin/` directory.\n\n#### iTerm instead of Terminal\n\nIf you use iTerm, you can set `g:ex_test_runner` to use the included iterm\nlaunching script. This will run the specs in the last session of the current\nterminal.\n\n```vim\nlet g:ex_test_runner = \"os_x_iterm\"\n```\n\nIf you use the iTerm2 nightlies, the `os_x_iterm` runner will not work\n(due to AppleScript incompatibilities between the old and new versions of iTerm2).\n\nInstead use the `os_x_iterm2` runner, configure it like so:\n\n```vim\nlet g:ex_test_runner = \"os_x_iterm2\"\n```\n\n## Running tests\n\nTests are written using [`vim-vspec`](https://github.com/kana/vim-vspec)\nand run with [`vim-flavor`](https://github.com/kana/vim-flavor).\n\nInstall the `vim-flavor` gem, install the dependencies and run the tests:\n\n```\ngem install vim-flavor\nvim-flavor install\nrake\n```\n\nCredits\n-------\n\nThis is really just a name change on the great work by: \n\n![thoughtbot](http://thoughtbot.com/images/tm/logo.png)\n\nrspec.vim is maintained by [thoughtbot, inc](http://thoughtbot.com/community)\nand [contributors](https://github.com/thoughtbot/vim-rspec/graphs/contributors)\nlike you. Thank you!\n\nIt was strongly influenced by Gary Bernhardt's [Destroy All\nSoftware](https://www.destroyallsoftware.com/screencasts) screencasts.\n\nThe names and logos for thoughtbot are trademarks of thoughtbot, inc.\n\n## License\n\nExText.vim is free software, and may be\nredistributed under the terms specified in the `LICENSE` file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoofish32%2Fvim-ex_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoofish32%2Fvim-ex_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoofish32%2Fvim-ex_test/lists"}