testing#

class CanaryCommand(command_name: str)#

Bases: object

add_default_args(*args: str) None#
generate_random_jobs(root: Path, count: int = 10, max_params: int = 3, max_rows: int = 5) list[Job]#
generate_random_jobspecs(root: Path, count: int = 10, max_params: int = 3, max_rows: int = 5) list[JobSpec]#
generate_random_test_files(root: Path, count: int = 10, max_params: int = 3, max_rows: int = 5, with_deps: bool = True) None#

Generate a random Canary test suite for performance testing.

generate_spec_names(family: str, arg_names: str, values: list[tuple[Any, ...]]) list[str]#