1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
use anyhow::Result;
use clap::{AppSettings, Clap};
use crate::error::CrateError;
/// Execute unit and integration tests
#[derive(Clap, Debug)]
#[clap(global_setting=AppSettings::DisableVersionFlag)]
pub(crate) struct TestCommand {
/// Build artifacts in release mode, with optimizations
#[clap(long)]
release: bool,
}
impl TestCommand {
pub fn run(&self) -> Result<()> {
Err(CrateError::UnimplementedCommand.into())
}
}