testwriter

Crates.iotestwriter
lib.rstestwriter
version0.1.3
sourcesrc
created_at2021-03-31 04:32:49.067958
updated_at2021-05-12 22:15:35.388636
descriptionA 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.
homepagehttps://housedillon.com
repositoryhttps://gitlab.com/hpux735/dbus-testwriter
max_upload_size
id376020
size7,344
William Dillon (hpux735)

documentation

README

DBus TestWriter

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 ;)

Commit count: 15

cargo fmt