avocado_golang package¶
Module contents¶
Plugin to run Golang tests in Avocado
-
class
avocado_golang.GolangCLI¶ Bases:
avocado.core.plugin_interfaces.CLIRun Golang tests
-
configure(parser)¶
-
description= "Golang options for 'run' subcommand"¶
-
name= 'golang'¶
-
run(args)¶
-
-
class
avocado_golang.GolangLoader(args, extra_params)¶ Bases:
avocado.core.loader.TestLoaderGolang loader class
-
discover(url, which_tests=False)¶
-
static
get_decorator_mapping()¶
-
static
get_type_label_mapping()¶
-
name= 'golang'¶
-
-
class
avocado_golang.GolangTest(name, params=None, base_logdir=None, job=None, subtest=None)¶ Bases:
avocado.core.test.SimpleTestRun a Golang Test command as a SIMPLE test.
-
filename¶ Returns the path of the golang test suite.
-
test()¶ Create the Golang command and execute it.
-
-
class
avocado_golang.NotGolangTest¶ Bases:
objectNot a golang test (for reporting purposes)