pub struct TestSpec {
pub inputs: HashMap<String, String>,
pub expected_outputs: Vec<String>,
pub extra_args: Vec<String>,
pub timeout_seconds: u64,
pub slow: bool,
}Expand description
Canonical inputs and expected outputs used by the conformance test runner.
Fields§
§inputs: HashMap<String, String>Map of port name to a test:// URI identifying the canonical input.
expected_outputs: Vec<String>Port names whose output files must exist and pass type-level checks.
extra_args: Vec<String>Additional CLI args appended to the entrypoint during test runs.
timeout_seconds: u64Seconds before the conformance run is killed.
slow: boolWhen true, skipped in fast CI and run only on a separate slow schedule.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TestSpec
impl<'de> Deserialize<'de> for TestSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TestSpec
impl RefUnwindSafe for TestSpec
impl Send for TestSpec
impl Sync for TestSpec
impl Unpin for TestSpec
impl UnsafeUnpin for TestSpec
impl UnwindSafe for TestSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more