pub enum TestingCommand {
Run {
project: String,
discover: bool,
module: Option<String>,
package: Option<String>,
format: TestingFormatArg,
},
}Variants§
Run
Run the gateway-side Jython test suite and return the machine verdict (exit 0 green, exit 6 red with the FULL results still in the envelope)
Fields
§
project: StringThe project whose testing bundle runs. REQUIRED — the
bundle deploys per project and running a suite executes
that project’s gateway-side code, so there is
deliberately no ign-cli default here
§
module: Option<String>Run ONE dotted module (proj.foo_test); mutually
exclusive with –package and –discover
§
package: Option<String>Run every module under a package prefix (proj.);
mutually exclusive with –module and –discover
§
format: TestingFormatArgReport rendered into data.report. The verdict and exit
code are IDENTICAL in every format — the structured
results always ride under data.results
Trait Implementations§
Source§impl Debug for TestingCommand
impl Debug for TestingCommand
Source§impl FromArgMatches for TestingCommand
impl FromArgMatches for TestingCommand
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 TestingCommand
impl Subcommand for TestingCommand
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 Forget for TestingCommand
impl Freeze for TestingCommand
impl Move for TestingCommand
impl RefUnwindSafe for TestingCommand
impl Send for TestingCommand
impl Sync for TestingCommand
impl Unpin for TestingCommand
impl UnsafeUnpin for TestingCommand
impl UnwindSafe for TestingCommand
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