pub enum ReportCommand {
Tests {
suite: PathBuf,
crate_output: Option<PathBuf>,
},
Benchmarks {
from: PathBuf,
},
Ui {
from: PathBuf,
},
UiSnapshot {
limit: usize,
budget_seconds: u64,
},
CockpitSnapshot {
limit: usize,
budget_seconds: u64,
},
}Expand description
The reports this executable can render. Each reads evidence a run already produced and writes a surface; none of them runs anything or decides what passed.
Variants§
Tests
The test run: the behavioural cases’ report, and the crate’s own totals
Fields
Benchmarks
The benchmark run: a results document, or the accepted baseline
Ui
The UI conformance audit, rendered as a section of the test surface (/tests/ui)
UiSnapshot
The UI itself, read once at this commit and written as static pages a publication carries at /ui (ADR 0141)
Fields
CockpitSnapshot
The Cockpit itself, read once at this commit and written as static pages a publication carries at /cockpit (ADR 0147)
Trait Implementations§
Source§impl Debug for ReportCommand
impl Debug for ReportCommand
Source§impl FromArgMatches for ReportCommand
impl FromArgMatches for ReportCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for ReportCommand
impl Subcommand for ReportCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for ReportCommand
impl RefUnwindSafe for ReportCommand
impl Send for ReportCommand
impl Sync for ReportCommand
impl Unpin for ReportCommand
impl UnsafeUnpin for ReportCommand
impl UnwindSafe for ReportCommand
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