{"id":29861135,"url":"https://github.com/coryodaniel/mtx","last_synced_at":"2025-07-30T04:12:45.667Z","repository":{"id":295137172,"uuid":"989284075","full_name":"coryodaniel/mtx","owner":"coryodaniel","description":"mtx is a wrapper around mix test and mix test.watch. That’s it.  It passes all your flags and args straight through, swaps in mix test.watch when you use -w, and updates your terminal tab with test results so you can see your TDD cycle at a glance.","archived":false,"fork":false,"pushed_at":"2025-05-23T20:02:01.000Z","size":3049,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-29T23:55:22.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/coryodaniel.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,"zenodo":null}},"created_at":"2025-05-23T19:59:38.000Z","updated_at":"2025-05-23T20:02:04.000Z","dependencies_parsed_at":"2025-05-23T21:19:14.290Z","dependency_job_id":"5a9af2e0-d955-4b3a-8ec6-d3612e1092ed","html_url":"https://github.com/coryodaniel/mtx","commit_stats":null,"previous_names":["coryodaniel/mtx"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coryodaniel/mtx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryodaniel%2Fmtx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryodaniel%2Fmtx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryodaniel%2Fmtx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryodaniel%2Fmtx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coryodaniel","download_url":"https://codeload.github.com/coryodaniel/mtx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryodaniel%2Fmtx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267808400,"owners_count":24147391,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"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":[],"created_at":"2025-07-30T04:12:45.109Z","updated_at":"2025-07-30T04:12:45.654Z","avatar_url":"https://github.com/coryodaniel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mtx\n\n**mtx** is a wrapper around `mix test` and `mix test.watch`. That’s it.\n\nIt passes all your flags and args straight through, swaps in `mix test.watch` when you use `-w`, and updates your terminal tab with test results so you can see your TDD cycle at a glance.\n\nI built this because switching between one-off test runs and watch mode shouldn’t suck. You tweak some args, run a test batch once, then want to go back to watching—except now you’re arrowing back to the start of the line just to replace `test` with `test.watch`. I got arthritis. Ain’t nobody got time for that.\n\n## Features\n\n* 🔁 **Watch mode**: Automatically re-runs tests with `mix test.watch` on file changes.\n* 🔍 **Trace mode**: Adds `--trace` for detailed output.\n* 🎯 **Pass-through flags**: Everything else goes straight to `mix test` or `mix test.watch`.\n* 🪧 **Tab/window title updates**: Shows the latest test result in your terminal tab (works in iTerm2 and some others).\n\n## Usage\n\n```sh\nmtx [flags] [mix test args...]\n```\n\n### Flags\n\n* `-w`, `--watch` – Use `mix test.watch`\n* `-t`, `--trace` – Adds `--trace`\n* `-h`, `--help` – Show help\n\n### Examples\n\n```sh\n# Regular test run\nmtx\n\n# Watch mode\nmtx -w\n\n# Trace output\nmtx -t\n\n# Run a specific directory with custom filters\nmtx ./test --only wip\n\n# Combine flags\nmtx -w -t ./test --only wip\n```\n\n## Install\n\n```sh\ngit clone \u003cyour-repo-url\u003e\ncd mtx\ngo build -o mtx\nmv mtx /usr/local/bin/ # optional\n```\n\n## Requirements\n\n* Go 1.18+\n* Elixir with `mix`\n\n## Notes\n\n* Tab title updates are tested on iTerm2. VS Code and others may not play nice.\n* Any extra flags or args are passed directly to `mix test`.\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoryodaniel%2Fmtx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoryodaniel%2Fmtx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoryodaniel%2Fmtx/lists"}