1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/cmd/credentialdiggerScan_generated_test.go
Marco Rosa 6b18448124
Add credentialdiggerScan step (#4141)
* Add credentialdiggerScan metadata

* Integrate new step into piper process

* Add credentialdiggerScan implementation and tests

* Remove duplicated code

* Add doc file for credentialdiggerScan step

* Regenerate metadata

* Fix return type in tests

* Add credentialdiggerScan to CommonStepsTest

* Fix typo

* Improve code style

* Add support for custom rules file in stash

* Regenerate metadata for credentialdiggerScan

---------

Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
Co-authored-by: Anil Keshav <anil.keshav@sap.com>
2023-04-04 16:57:15 +02:00

18 lines
357 B
Go

package cmd
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestCredentialdiggerScanCommand(t *testing.T) {
t.Parallel()
testCmd := CredentialdiggerScanCommand()
// only high level testing performed - details are tested in step generation procedure
assert.Equal(t, "credentialdiggerScan", testCmd.Use, "command name incorrect")
}