{"id":13503179,"url":"https://github.com/greyblake/cargo-testify","last_synced_at":"2025-09-21T20:32:22.512Z","repository":{"id":57539457,"uuid":"101583483","full_name":"greyblake/cargo-testify","owner":"greyblake","description":"Watches changes in a rust project, runs test and shows friendly notification","archived":false,"fork":false,"pushed_at":"2018-09-19T17:16:49.000Z","size":231,"stargazers_count":81,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-11T19:11:28.450Z","etag":null,"topics":["cargo","desktop","devtools","notification","rust","test"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/greyblake.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":"2017-08-27T22:12:45.000Z","updated_at":"2024-11-11T03:47:16.000Z","dependencies_parsed_at":"2022-08-30T15:00:37.954Z","dependency_job_id":null,"html_url":"https://github.com/greyblake/cargo-testify","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greyblake%2Fcargo-testify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greyblake%2Fcargo-testify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greyblake%2Fcargo-testify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greyblake%2Fcargo-testify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greyblake","download_url":"https://codeload.github.com/greyblake/cargo-testify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233794924,"owners_count":18731360,"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":["cargo","desktop","devtools","notification","rust","test"],"created_at":"2024-07-31T22:02:40.233Z","updated_at":"2025-09-21T20:32:17.223Z","avatar_url":"https://github.com/greyblake.png","language":"Rust","funding_links":[],"categories":["Rust","Development tools"],"sub_categories":["Build system"],"readme":"# Cargo testify\n\n[![Build Status](https://travis-ci.org/greyblake/cargo-testify.svg?branch=master)](https://travis-ci.org/greyblake/cargo-testify)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/greyblake/cargo-testify/master/LICENSE)\n\nAutomatically runs tests on your Rust project and notifies about the result.\n\n![rust test with notification](https://raw.githubusercontent.com/greyblake/cargo-testify/master/artifacts/demo.gif)\n\n\n## Install\n\n\n\nInstall prerequisites (for Debian/Ubuntu):\n\n```\napt-get install -y libdbus-1-dev\n```\n\nInstall the crate:\n\n```\ncargo install cargo-testify\n```\n\n## Usage\n\nRun within your Rust project:\n\n```\ncargo testify\n```\n\n## How does it work?\n\nIt watches changes in the project directory, and reacts by running `cargo test`.\nThe output result is parsed to identify one of the possible outcomes:\n* Tests passed\n* Tests failed\n* Compilation failed\n\nTo display notification in the Desktop environment `notify-send` (Linux) or `osascript` (MacOS) commands are used.\n\n## Watched files\n\n* `src/**/*.rs`\n* `tests/**/*.rs`\n* `Cargo.toml`\n* `Cargo.lock`\n* `build.rs`\n\n## Bypassing options to `cargo test`\n\nRun `cargo test --lib` on file change:\n\n```\ncargo testify -- --lib\n```\n\n## License\n\n[MIT](https://github.com/greyblake/cargo-testify/blob/master/LICENSE) © [Sergey Potapov](http://greyblake.com/)\n\n\n## Contributors\n\n- [greyblake](https://github.com/greyblake) Potapov Sergey - creator, maintainer.\n- [hoodie](https://github.com/hoodie) Hendrik Sollich - thanks for notify-rust crate\n- [waywardmonkeys](https://github.com/waywardmonkeys) Bruce Mitchener - fix typos\n- [Hugal31](https://github.com/Hugal31) - support of `--include` option\n- [barskern](https://github.com/barskern) Ole Martin Ruud - migrate from clap to structopt\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreyblake%2Fcargo-testify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreyblake%2Fcargo-testify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreyblake%2Fcargo-testify/lists"}