It also adds a file I forgot to add with previous commit: 49072407d57cf11548eb7f9bf159e88284a27a38 which is simply
use thinp::report::*;
use std::sync::Arc;
// A structure to encapsulate related output options and output formattting.
pub struct Output {
pub report: Arc<Report>,
pub json: bool,
}
It also adds a test/test.py script for running some tests. Before I spend more time on extending this, I would like to make sure this direction is OK. I'm using python and the python unittest library instead of writing a bunch of bash script, but we could go that route or perhaps try to leverage the rust unit tests to do the same. The script leverages the following external binaries for testing in addition to blk-archive itself:
This PR add json output for
dump-stream
, e.g.It also adds a file I forgot to add with previous commit: 49072407d57cf11548eb7f9bf159e88284a27a38 which is simply
It also adds a
test/test.py
script for running some tests. Before I spend more time on extending this, I would like to make sure this direction is OK. I'm using python and the python unittest library instead of writing a bunch of bash script, but we could go that route or perhaps try to leverage the rust unit tests to do the same. The script leverages the following external binaries for testing in addition toblk-archive
itself:Thoughts?