mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
4d787ded6d
* 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>
18 lines
351 B
Go
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")
|
|
|
|
}
|