{"id":17770085,"url":"https://github.com/j3rn/elixir-test-mode","last_synced_at":"2026-05-01T14:33:45.851Z","repository":{"id":152156542,"uuid":"215456356","full_name":"J3RN/elixir-test-mode","owner":"J3RN","description":"An Emacs mode containing functions to easily test Elixir files","archived":false,"fork":false,"pushed_at":"2025-07-30T00:23:41.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-30T02:50:35.200Z","etag":null,"topics":["elixir","elixir-lang","elixir-test","emacs","emacs-lisp"],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/J3RN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-16T04:24:20.000Z","updated_at":"2025-07-30T00:23:45.000Z","dependencies_parsed_at":"2024-10-26T21:52:40.265Z","dependency_job_id":"be7f833f-6cfb-4220-a892-d7e8f5d2dd06","html_url":"https://github.com/J3RN/elixir-test-mode","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/J3RN/elixir-test-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J3RN%2Felixir-test-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J3RN%2Felixir-test-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J3RN%2Felixir-test-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J3RN%2Felixir-test-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/J3RN","download_url":"https://codeload.github.com/J3RN/elixir-test-mode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J3RN%2Felixir-test-mode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32501402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["elixir","elixir-lang","elixir-test","emacs","emacs-lisp"],"created_at":"2024-10-26T21:20:29.535Z","updated_at":"2026-05-01T14:33:45.824Z","avatar_url":"https://github.com/J3RN.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# elixir-test\n\nThis package gives you a set of incredibly handy functions to run Elixir tests:\n\n- `elixir-test-at-point`\n- `elixir-test-file`\n- `elixir-test-directory`\n- `elixir-test-all`\n- `elixir-test-rerun-last`\n\n## Installation\n\nIf you're using Emacs 30 or later, you can use the `:vc` option of `use-package`:\n\n``` elisp\n(use-package elixir-test\n  :vc (:url \"https://github.com/J3RN/elixir-test-mode\")\n  :hook\n  (elixir-ts-mode . elixir-test-mode)\n  (elixir-mode . elixir-test-mode))\n```\n\nIf you are using an older version of Emacs, you will need to clone this project to your machine and use the `:load-path` option instead:\n\n``` elisp\n(use-package elixir-test\n  :load-path \"wherever/you/cloned/the/repo\")\n  :hook\n  (elixir-ts-mode . elixir-test-mode)\n  (elixir-mode . elixir-test-mode))\n```\n\n## Usage\n\nWhile running the commands manually is fun, it's more fun when you set a prefix for the keymap:\n\n```\n(define-key elixir-test-mode-map (kbd \u003cyour keybind here\u003e) 'elixir-test-command-map)\n```\n\nFor instance, my prefix is `C-c e`, and setting that prefix looks like this:\n\n```\n(define-key elixir-test-mode-map (kbd \"C-c e\") 'elixir-test-command-map)\n```\n\n`use-package` has a nice syntax for this; you can update the definition above to contain this binding like so:\n\n``` elisp\n(use-package elixir-test\n  :vc (:url \"https://github.com/J3RN/elixir-test-mode\")\n  :bind (:map elixir-test-mode-map (\"C-c e\" . elixir-test-command-map))\n  :hook\n  (elixir-ts-mode . elixir-test-mode)\n  (elixir-mode . elixir-test-mode))\n```\n\n\nOnce you've done that, you have the following keybindings at your disposal:\n\n| Keybind      | Command                                                             |\n|--------------|---------------------------------------------------------------------|\n| `\u003cprefix\u003e s` | `elixir-test-at-point`                                              |\n| `\u003cprefix\u003e f` | `elixir-test-file`                                                  |\n| `\u003cprefix\u003e d` | `elixir-test-directory`                                             |\n| `\u003cprefix\u003e a` | `elixir-test-all`                                                   |\n| `\u003cprefix\u003e l` | `elixir-test-rerun-last`                                            |\n| `\u003cprefix\u003e u` | `elixir-test-up` (run tests at the next highest level)              |\n| `\u003cprefix\u003e .` | `elixir-test-failed` (rerun only tests that failed in the last run) |\n\n### Example configuration (using `use-package`)\n\n``` elisp\n(use-package elixir-test\n  :vc (:url \"https://github.com/J3RN/elixir-test-mode\")\n  :bind (:map elixir-test-mode-map (\"C-c e\" . elixir-test-command-map))\n  :hook\n  (elixir-ts-mode . elixir-test-mode)\n  (elixir-mode . elixir-test-mode))\n```\n\n## TODO\n\n- [ ] Have a feature you want to see? Open an issue! :smile:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj3rn%2Felixir-test-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj3rn%2Felixir-test-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj3rn%2Felixir-test-mode/lists"}