github.com/ouraigua/jenkins-library@v0.0.0-20231028010029-fbeaf2f3aa9b/pkg/generator/helper/testdata/TestProcessMetaFiles/test_code_generated.golden (about) 1 //go:build unit 2 // +build unit 3 4 package cmd 5 6 import ( 7 "testing" 8 9 "github.com/stretchr/testify/assert" 10 ) 11 12 func TestTestStepCommand(t *testing.T) { 13 t.Parallel() 14 15 testCmd := TestStepCommand() 16 17 // only high level testing performed - details are tested in step generation procedure 18 assert.Equal(t, "testStep", testCmd.Use, "command name incorrect") 19 20 }