This crate is meant to be used as a dev dependency. Its purpose is to provides the testing support to help reduce boilerplate, duplication, and provides standardization.

The following macros are provided: - optestsmod - provides support to configure logging for tests - logs test execution time - optests - used to generate test functions that leverage the tests module generated by optests_mod!()

Example

```rust

[cfg(test)]

[macro_use]

extern crate oysterpack_testing;

[cfg(test)]

optestsmod!();

[cfg(test)]

mod footest { optest!(foo, { info!("SUCCESS"); }); } ```

Example - configuring target log levels

```rust

[cfg(test)]

[macro_use]

extern crate oysterpack_testing;

[cfg(test)]

optestsmod! { "foo" => Info, "bar" => Error }

[cfg(test)]

mod footest { optest!(foo, { info!("testsoptest passed !!!"); info!(target: "foo", "foo info"); info!(target: "bar", "* bar info should not be logged *"); error!(target: "bar", "bar error"); }); }

```