Command Line Interface

Top-Level CLI (Module Selection)

Simulation CLI

Testing CLI

class tests.cli.CLI(subparsers)[source]

Command line interface for running the simDRIFT test suite

Arguments

None

add_subparser_args()[source]

Adds subparser for the run_tests command.

Returns:

argparse object containing of subparsers for each input parameter

Return type:

argparse

run(args)[source]

Passes to the test suite file

Parameters:

args (str) – input arguments (Note, run_tests accepts no arguments)

validate_args(args)[source]

Function to validate input arguments for testing

Parameters:

args (str) – input arguments (Note, run_tests accepts no arguments)