1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/cmd/gradleExecuteBuild_generated_test.go
Eugene Kortelyov 4d787ded6d
gradleExecuteBuild initial commit (#3337)
* gradleExecuteBuild initial commit

* fmt fixes for metadata_generated

* flow updates, some tests were added

* add gradle path alias, add stage scope to task parameter

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-12-22 15:34:36 +01:00

18 lines
351 B
Go

package cmd
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestGradleExecuteBuildCommand(t *testing.T) {
t.Parallel()
testCmd := GradleExecuteBuildCommand()
// only high level testing performed - details are tested in step generation procedure
assert.Equal(t, "gradleExecuteBuild", testCmd.Use, "command name incorrect")
}