mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
75e696ad7b
* [wip] Add steps for cf spaces creation and deletion * Add tests * Add cf space creation groovy file * Fix shell script * Fix shell script * Add cloudFoundryCreateSpace command to command line controller * Fix format * Add cloudFoundryDeleteSpace command to command line controller * Refactor cloudFoundryDeleteSpace step * Add cloudFoundryDeleteSpace groovy file * Add missing test * Fix tests * Add docu for cloudFoundryCreateSpace step * Add docu for cloudFoundryDeleteSpace step * Code review changes Co-authored-by: Marcus Holl <marcus.holl@sap.com>
17 lines
352 B
Go
17 lines
352 B
Go
package cmd
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestCloudFoundryCreateSpaceCommand(t *testing.T) {
|
|
|
|
testCmd := CloudFoundryCreateSpaceCommand()
|
|
|
|
// only high level testing performed - details are tested in step generation procedure
|
|
assert.Equal(t, "cloudFoundryCreateSpace", testCmd.Use, "command name incorrect")
|
|
|
|
}
|