Module test_data_generation::configs[][src]

Expand description

The configs module provides functionality for the library to read configuration settings that the user can set in their implementation.

Examples

Generate some demo test data …

extern crate test_data_generation;

use test_data_generation::configs::Configs;

fn main() {
	// initalize a new Configs
	let mut cfg = Configs::new(&String::from("./tests/config/tdg.yaml"));
	cfg.load_config_file();

	// verify the configuration file has been loaded
	println!("{:?}", cfg);
}

Structs