You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aya/test/integration-test/src/main.rs

19 lines
321 B
Rust

use log::info;
mod tests;
use tests::IntegrationTest;
fn main() -> anyhow::Result<()> {
env_logger::init();
// Run the tests
for t in inventory::iter::<IntegrationTest> {
info!("Running {}", t.name);
if let Err(e) = (t.test_fn)() {
panic!("{}", e)
}
}
Ok(())
}