Files
windows_exporter/internal/collector/service/service_test.go
2024-11-13 19:26:47 +01:00

17 lines
395 B
Go

package service_test
import (
"testing"
"github.com/prometheus-community/windows_exporter/internal/collector/service"
"github.com/prometheus-community/windows_exporter/internal/testutils"
)
func BenchmarkCollector(b *testing.B) {
testutils.FuncBenchmarkCollector(b, service.Name, service.NewWithFlags)
}
func TestCollector(t *testing.T) {
testutils.TestCollector(t, service.New, nil)
}