Skip to content

Commit

Permalink
add test case in cmd package and benchmark testing for collector package
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Yuan <[email protected]>
  • Loading branch information
SamYuan1990 committed Jan 15, 2025
1 parent d3664a5 commit ce16f72
Show file tree
Hide file tree
Showing 7 changed files with 194 additions and 247 deletions.
74 changes: 0 additions & 74 deletions cmd/exporter/exporter0_test.go

This file was deleted.

36 changes: 0 additions & 36 deletions cmd/exporter/exporter1_test.go

This file was deleted.

73 changes: 0 additions & 73 deletions cmd/exporter/exporter2_test.go

This file was deleted.

64 changes: 0 additions & 64 deletions cmd/exporter/exporter3_test.go

This file was deleted.

13 changes: 13 additions & 0 deletions cmd/exporter/exporter_suite_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package main

import (
"testing"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

func TestExporter(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Exporter Suite")
}
Loading

0 comments on commit ce16f72

Please sign in to comment.