mirror of
https://github.com/lukaszraczylo/graphql-monitoring-proxy.git
synced 2026-06-05 23:03:48 +00:00
61d7a45d00
Update cache library, Update logging library, use miniredis for testing, add additional benchmarks.
32 lines
547 B
Go
32 lines
547 B
Go
package libpack_logger
|
|
|
|
import (
|
|
"testing"
|
|
|
|
assertions "github.com/stretchr/testify/assert"
|
|
"github.com/stretchr/testify/suite"
|
|
)
|
|
|
|
type LoggerTestSuite struct {
|
|
suite.Suite
|
|
}
|
|
|
|
var (
|
|
assert *assertions.Assertions
|
|
)
|
|
|
|
func (suite *LoggerTestSuite) BeforeTest(suiteName, testName string) {
|
|
}
|
|
|
|
func (suite *LoggerTestSuite) SetupTest() {
|
|
assert = assertions.New(suite.T())
|
|
}
|
|
|
|
// TearDownTest is run after each test to clean up
|
|
func (suite *LoggerTestSuite) TearDownTest() {
|
|
}
|
|
|
|
func TestSuite(t *testing.T) {
|
|
suite.Run(t, new(LoggerTestSuite))
|
|
}
|