help wanted
仓库指标
- 星标
- (21,417 个星标)
- PR 合并指标
- (平均合并 10天 19小时) (30 天内合并 69 个 PR)
描述
We have some tests defined using shell scripts, and most of these only run on CI. Change them to be run as part of cargo test.
To aid with this we could rejig the entrypoint code so we could run CLI commands from within the Rust code, passing the working directory as an argument.
let cd = Utf8PathBuf::from("tests/some_project")
let result = cli::main(cd, ["export", "escript"]);
snapshot!(result);