ptytest

Crates.ioptytest
lib.rsptytest
version0.1.0
sourcesrc
created_at2021-01-16 10:38:23.220025
updated_at2021-01-16 10:38:23.220025
descriptionEasy testing of terminal programs by terminal screen compare
homepagehttps://github.com/da-x/ptytest
repositoryhttps://github.com/da-x/ptytest
max_upload_size
id342747
size65,755
Dan Aloni (da-x)

documentation

README

The ptytest crate provides a convenient way to test programs that write to terminals, by matching over the state of the pseudo-terminal.

  • Under examples, see a simple tested program, and a test that uses ptytest's API in order to execute and test it.
  • See run-examples.sh file, which builds the example program and runs the example test.
Commit count: 1

cargo fmt