Function brane_cli::test::test_generic
source · pub async fn test_generic(
info: PackageInfo,
show_result: Option<PathBuf>,
docker_opts: DockerOptions,
keep_containers: bool,
) -> Result<FullValue, TestError>
Expand description
Tests the package in the given PackageInfo.
§Arguments
info
: The PackageInfo that describes the package to test.show_result
: Whether or not tocat
the 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
The value of the chosen function in that package (which may be Void this time).