| Crates.io | testwriter |
| lib.rs | testwriter |
| version | 0.1.3 |
| created_at | 2021-03-31 04:32:49.067958+00 |
| updated_at | 2021-05-12 22:15:35.388636+00 |
| description | A simple library and tool to generate a function that seeks to reproduce a received dbus signal message. This may be useful in writing unit tests in a TDD workflow. |
| homepage | https://housedillon.com |
| repository | https://gitlab.com/hpux735/dbus-testwriter |
| max_upload_size | |
| id | 376020 |
| size | 7,344 |
This is a very simple little library that just prints out a function that tries to replicate a received dbus message.
This can be useful when you want to write a unit test against some DBus signal.
If this doesn't work with some signal you're seeing, please print out the message with println!("{:?}", message) and let me know so I might be able to fix it.
This is my first Rust crate, so be kind ;)