{"id":18286847,"url":"https://github.com/markatk/serial-unit-testing","last_synced_at":"2025-04-05T08:31:29.184Z","repository":{"id":34229713,"uuid":"148476982","full_name":"markatk/serial-unit-testing","owner":"markatk","description":"Serial unit testing program and library written in rust","archived":false,"fork":false,"pushed_at":"2022-06-17T06:14:45.000Z","size":325,"stargazers_count":7,"open_issues_count":13,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-21T00:51:08.051Z","etag":null,"topics":["rust","rust-library","serial","serial-port","testing"],"latest_commit_sha":null,"homepage":null,"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/markatk.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":"2018-09-12T12:29:02.000Z","updated_at":"2025-01-06T01:30:56.000Z","dependencies_parsed_at":"2022-07-24T18:02:33.400Z","dependency_job_id":null,"html_url":"https://github.com/markatk/serial-unit-testing","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markatk%2Fserial-unit-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markatk%2Fserial-unit-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markatk%2Fserial-unit-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markatk%2Fserial-unit-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markatk","download_url":"https://codeload.github.com/markatk/serial-unit-testing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247311604,"owners_count":20918336,"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":["rust","rust-library","serial","serial-port","testing"],"created_at":"2024-11-05T13:22:31.286Z","updated_at":"2025-04-05T08:31:28.747Z","avatar_url":"https://github.com/markatk.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serial Unit Testing\n\n[![Crates.io](https://img.shields.io/crates/v/serial-unit-testing.svg)](https://crates.io/crates/serial-unit-testing)\n[![Documentation](https://docs.rs/serial-unit-testing/badge.svg)](https://docs.rs/crate/serial-unit-testing)\n[![Linux](https://github.com/markatk/serial-unit-testing/actions/workflows/ubuntu.yml/badge.svg)](https://github.com/markatk/serial-unit-testing/actions/workflows/ubuntu.yml)\n[![macOS](https://github.com/markatk/serial-unit-testing/actions/workflows/macos.yml/badge.svg)](https://github.com/markatk/serial-unit-testing/actions/workflows/macos.yml)\n[![Windows](https://github.com/markatk/serial-unit-testing/actions/workflows/windows.yml/badge.svg)](https://github.com/markatk/serial-unit-testing/actions/workflows/windows.yml)\n\n# Description\n\nSerial unit testing is a cross-platform cli application and rust library. Using serial unit testing communication and testing with any serial port device can be done and most important automated.\n\n# Installation\n\nIf you have rust installed:\n\n```\ncargo install serial-unit-testing\n```\n\nIf you don't have rust installed:\n\nYou can download the compiled binaries from the [releases](https://github.com/markatk/serial-unit-testing/releases). Downloads are available for Windows, macOS and Linux.\n\n# Application\n\nThe application, called `sut` (which is short for **s**erial **u**nit **t**esting), is structured in the following sub commands:\n\n- `list`: List all available serial ports\n- `send`: Send data to a serial port\n- `check`: Send data to a serial port and check for correct response\n- `monitor`: Interactive serial communication monitor\n- `run`: Run a script on a serial port\n- `verify`: Verify a script can be parsed without failure\n- `help`: Print information about the application or a sub command\n- `version`: Print version information\n\n# Test script language\n\nThe `run` and `verify` commands are used to work with the test script language to automate testing easily. For a complete syntax of the language see [script](doc/script.md).\n\n```\n# Example script\n\n(Test One)              \"h\\n\"  :  \"Help\"\n(Test Two, repeat = 2) h\"00FF\" : h\"00\"\n                       h\"00af\" : h\"03\"\n\n[Group One]\n(Group Test One) \"gp\\n\" : \"yes\"\n(Group Test Two) \"gq\\n\" : \"no\"\n```\n\n# License\n\nMIT License\n\nCopyright (c) 2020 MarkAtk\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkatk%2Fserial-unit-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkatk%2Fserial-unit-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkatk%2Fserial-unit-testing/lists"}