use crate::cli;
use clap::Parser;
#[derive(Debug, Parser)]
pub struct Command {
#[clap(flatten)]
pub build: cli::shared::Build,
#[clap(long)]
pub unstable: bool,
pub filter: Option<String>,
}
pub(crate) fn exec(_cmd: Command) -> anyhow::Result<()> {
anyhow::bail!(
r#"
Sway unit testing is not yet implemented. Track progress at the following link:
https://github.com/FuelLabs/sway/issues/1832
NOTE: Previously this command was used to support Rust integration testing,
however the provided behaviour served no benefit over running `cargo test`
directly. The proposal to change the behaviour to support unit testing can be
found at the following link:
https://github.com/FuelLabs/sway/issues/1833
"#
);
}