rust-shell-script / rust_cmd_lib

Common rust command-line macros and utilities, to write shell-script like tasks in a clean, natural and rusty way
https://docs.rs/cmd_lib/
Apache License 2.0
1.01k stars 33 forks source link

Possible examples of testing / mocking of outputs #62

Open Chaser opened 2 months ago

Chaser commented 2 months ago

Hello, love the library.

I am looking to see if there are examples available for testing / mocking the outputs. I have tried a number of methodologies to mock the output. I hope that I am able to test a number of scenarios.

gubasso commented 3 weeks ago

@Chaser , I am also interested on that topic!