mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
54f2a0d471
* Added go-based influxWriteData step * Wrote tests & fixed issues * Fixed issues * Created go-based step tests. Fixed issues * Fixed issues * Integration test was added Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com> Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
18 lines
342 B
Go
18 lines
342 B
Go
package cmd
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestInfluxWriteDataCommand(t *testing.T) {
|
|
t.Parallel()
|
|
|
|
testCmd := InfluxWriteDataCommand()
|
|
|
|
// only high level testing performed - details are tested in step generation procedure
|
|
assert.Equal(t, "influxWriteData", testCmd.Use, "command name incorrect")
|
|
|
|
}
|