scaffold

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Example (Demo)
buildHashicorpPlugin()
defer removeHashicorpPlugin()

demoTestCase.Config.ToStruct().Path = "../../examples/debugtalk.bin"
err := hrp.NewRunner(nil).Run(demoTestCase) // hrp.Run(demoTestCase)
fmt.Println(err)
Output:

<nil>
Example (JsonDemo)
buildHashicorpPlugin()
defer removeHashicorpPlugin()

testCase := &hrp.TestCasePath{Path: demoTestCaseJSONPath}
err := hrp.NewRunner(nil).Run(testCase) // hrp.Run(testCase)
fmt.Println(err)
Output:

<nil>
Example (YamlDemo)
buildHashicorpPlugin()
defer removeHashicorpPlugin()

testCase := &hrp.TestCasePath{Path: demoTestCaseYAMLPath}
err := hrp.NewRunner(nil).Run(testCase) // hrp.Run(testCase)
fmt.Println(err)
Output:

<nil>

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateScaffold

func CreateScaffold(projectName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL