pub async fn handle(
name: impl Into<String>,
version: Version,
show_result: Option<PathBuf>,
docker_opts: DockerOptions,
keep_containers: bool,
) -> Result<(), TestError>Expand description
Handles the brane test-command.
§Arguments
name: The name of the package to test.version: The version of the package to test.show_result: Whether or not tocatthe resulting file if any.docker_opts: The options we use to connect to the local Docker daemon.keep_containers: Whether to keep containers after execution or not.
§Returns
Nothing, but does do a whole dance of querying the user and executing a package based on that.
§Errors
This function errors if any part of that dance failed.