ic-test 0.4.0

This tool helps to organize IC Rust canister testing as well as cross-testing between ICP and EVM.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::process::Command;

use super::arguments::IcpTestArgs;

// adding dependencies from the command line
pub fn _add_toml_dependencies(_args: &IcpTestArgs) -> anyhow::Result<()> {
    let _status = Command::new("cargo").arg("add").arg("candid").status()?;

    let _status = Command::new("cargo").arg("add").arg("ic-cdk").status()?;

    Ok(())
}