mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-03-03 15:02:35 +02:00
* add step to create a GitHub comment * add docs * mandatory parameters * add command * Update githubCommentIssue.go * add groovy library step Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
17 lines
337 B
Go
17 lines
337 B
Go
package cmd
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestGithubCommentIssueCommand(t *testing.T) {
|
|
|
|
testCmd := GithubCommentIssueCommand()
|
|
|
|
// only high level testing performed - details are tested in step generation procedure
|
|
assert.Equal(t, "githubCommentIssue", testCmd.Use, "command name incorrect")
|
|
|
|
}
|