1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/cmd/mavenStaticCodeChecks_generated_test.go
Florian Geckeler de2909e64b
Add Maven static code checks
* add static code checks for maven based projects as:
  * pmd plugin
  * spotBugs plugin
* test modules as unit-tests and integration-tests will be ignored by default. Additional modules to ignore are configurable
* for pmd: rulesets and excludes are configurable
* for spotBugs: includeFilter and excludeFilter are configurable
2020-03-09 08:58:59 +01:00

17 lines
346 B
Go

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