simdriver 0.2.0

Native iOS simulator frames, input, device controls, and accessibility for macOS
1
2
3
4
5
6
7
8
9
10
11
12
13
#[test]
fn both_helpers_exist_and_print_usage() {
    for name in ["sdframe", "sdhid"] {
        let bin = simdriver::baked_helper_dir().join(name);
        assert!(bin.exists(), "{bin:?} missing");
        let out = std::process::Command::new(&bin).output().unwrap();
        assert_eq!(
            out.status.code(),
            Some(2),
            "{name} with no args must exit 2 (usage)"
        );
    }
}