Documentation ¶
Overview ¶
5 type plugins:
runner : define how to run build and test
testDiscoverer : define how to detect tests
simulator: define sim_cmd, compile cmd ...
checker: define how to return result(pass, fail, warning, unknown)
reporter: define how to generate report
Index ¶
Constants ¶
View Source
const ( JVSRunnerPlugin = "runner" JVSTestDiscovererPlugin = "testDiscoverer" JVSSimulatorPlugin = "simulator" JVSCheckerPlugin = "checker" JVSReporterPlugin = "reporter" )
Variables ¶
This section is empty.
Functions ¶
func LoadPlugin ¶
func LoadPlugin(pluginType JVSPluginType, pluginName string) *jvsErrors.JVSAstError
func RegisterPlugin ¶
func RegisterPlugin(pluginType JVSPluginType, d func() Plugin)
func ValidPluginTypes ¶
func ValidPluginTypes() []string
func ValidPlugins ¶
func ValidPlugins(pluginType JVSPluginType) []string
Types ¶
type JVSPluginType ¶
type JVSPluginType string
Click to show internal directories.
Click to hide internal directories.