quint-connect 0.1.0

A model-based testing framework that connects Quint specifications with Rust applications
Documentation
1
2
3
4
5
6
7
8
9
10
use std::{ffi::OsStr, process::Command};

pub fn opt_arg<A>(cmd: &mut Command, name: &str, arg: Option<A>)
where
    A: AsRef<OsStr>,
{
    if let Some(arg) = arg {
        cmd.arg(name).arg(arg);
    }
}