mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
e41e43611b
Provide cloudFoundryDeploy step in GO layer. Groovy part untouched. Groovy-Stub needs to be provided later (with a feature toggle in order to be able to switch back) Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
17 lines
337 B
Go
17 lines
337 B
Go
package cmd
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestCloudFoundryDeployCommand(t *testing.T) {
|
|
|
|
testCmd := CloudFoundryDeployCommand()
|
|
|
|
// only high level testing performed - details are tested in step generation procudure
|
|
assert.Equal(t, "cloudFoundryDeploy", testCmd.Use, "command name incorrect")
|
|
|
|
}
|