1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-16 11:09:33 +02:00
sap-jenkins-library/cmd/influxWriteData_generated_test.go
Siarhei Pazdniakou 54f2a0d471
Added go-based influxWriteData step (#2890)
* 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>
2021-06-30 11:18:49 +02:00

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")
}