2023-05-03 21:02:11 +05:00
|
|
|
//go:build unit
|
|
|
|
// +build unit
|
|
|
|
|
2021-01-12 16:47:42 +05:30
|
|
|
package cmd
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
)
|
|
|
|
|
2021-01-22 20:25:50 +05:30
|
|
|
func TestIntegrationArtifactDeployCommand(t *testing.T) {
|
2021-01-12 16:47:42 +05:30
|
|
|
t.Parallel()
|
|
|
|
|
2021-01-22 20:25:50 +05:30
|
|
|
testCmd := IntegrationArtifactDeployCommand()
|
2021-01-12 16:47:42 +05:30
|
|
|
|
|
|
|
// only high level testing performed - details are tested in step generation procedure
|
2021-01-22 20:25:50 +05:30
|
|
|
assert.Equal(t, "integrationArtifactDeploy", testCmd.Use, "command name incorrect")
|
2021-01-12 16:47:42 +05:30
|
|
|
|
|
|
|
}
|