pub enum TestingFormatArg {
Json,
Junit,
Text,
}Expand description
The CLI-side --format enum (QUICK-p0g) — the clap ValueEnum
mirror of core’s plain TestingFormat, the TransferFormat
precedent (core keeps framework-free enums; the From impl lives
beside this one). get_possible_values() is what feeds the MCP
tool schema a real enum instead of a free string.
EVERY value produces the SAME verdict and exit code: the route is always asked for json and the junit/text reports are rendered client-side, because the route’s own junit/text answers stay HTTP 200 and carry no counts — a passthrough would exit 0 on a red suite.
Variants§
Json
Structured results only (default) — data.report stays empty
Junit
JUnit XML in data.report, for a CI test reporter
Text
Console-style text in data.report, for a human reading logs
Trait Implementations§
Source§impl Clone for TestingFormatArg
impl Clone for TestingFormatArg
impl Copy for TestingFormatArg
Source§impl Debug for TestingFormatArg
impl Debug for TestingFormatArg
Source§impl Default for TestingFormatArg
impl Default for TestingFormatArg
impl Eq for TestingFormatArg
Source§impl From<TestingFormatArg> for TestingFormat
impl From<TestingFormatArg> for TestingFormat
Source§fn from(value: TestingFormatArg) -> Self
fn from(value: TestingFormatArg) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TestingFormatArg
impl PartialEq for TestingFormatArg
impl StructuralPartialEq for TestingFormatArg
Source§impl ValueEnum for TestingFormatArg
impl ValueEnum for TestingFormatArg
Auto Trait Implementations§
impl Forget for TestingFormatArg
impl Freeze for TestingFormatArg
impl Move for TestingFormatArg
impl RefUnwindSafe for TestingFormatArg
impl Send for TestingFormatArg
impl Sync for TestingFormatArg
impl Unpin for TestingFormatArg
impl UnsafeUnpin for TestingFormatArg
impl UnwindSafe for TestingFormatArg
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.