mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-16 11:09:33 +02:00
b82ecb0ff7
* convert batsExecuteTests to go implementation * added additional test cases, added container definition to batsExecuteTests.yaml * added influx, for junit added container definition * added parameter envVars Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
18 lines
345 B
Go
18 lines
345 B
Go
package cmd
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestBatsExecuteTestsCommand(t *testing.T) {
|
|
t.Parallel()
|
|
|
|
testCmd := BatsExecuteTestsCommand()
|
|
|
|
// only high level testing performed - details are tested in step generation procedure
|
|
assert.Equal(t, "batsExecuteTests", testCmd.Use, "command name incorrect")
|
|
|
|
}
|