mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-16 11:09:33 +02:00
3f4b32f7ba
* Implement cnbBuild step Co-authored-by: Benjamin Haegenlaeuer <benjamin.haegenlaeuer@sap.com> * Add cnbBuild groovy test Co-authored-by: Benjamin Haegenlaeuer <benjamin.haegenlaeuer@sap.com> * Add basic documentation template Co-authored-by: Philipp Stehle <philipp.stehle@sap.com> * Support specifiying name, tag and registry Co-authored-by: Pavel Busko <pbusko@users.noreply.github.com> Co-authored-by: Johannes Dillmann <j.dillmann@sap.com> Co-authored-by: Philipp Stehle <philipp.stehle@sap.com> Co-authored-by: Pavel Busko <pbusko@users.noreply.github.com>
18 lines
321 B
Go
18 lines
321 B
Go
package cmd
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestCnbBuildCommand(t *testing.T) {
|
|
t.Parallel()
|
|
|
|
testCmd := CnbBuildCommand()
|
|
|
|
// only high level testing performed - details are tested in step generation procedure
|
|
assert.Equal(t, "cnbBuild", testCmd.Use, "command name incorrect")
|
|
|
|
}
|