provola-core 0.2.0

A tool for quick development/test cycle in any language
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::TestResult;

#[derive(thiserror::Error, Debug)]
pub enum Error {
    #[error("i/o error")]
    IoError(#[from] std::io::Error),
}

pub trait Reporter {
    fn report(&self, result: TestResult) -> Result<(), Error>;
}