probo/store/db/db_test.go

25 lines
338 B
Go
Raw Normal View History

2023-10-18 13:40:21 +02:00
package db
import (
"testing"
"github.com/remogatto/prettytest"
)
type dbTestSuite struct {
prettytest.Suite
}
func TestRunner(t *testing.T) {
prettytest.Run(
t,
new(dbTestSuite),
)
}
func (t *dbTestSuite) TestCreateExam() {
store, err := NewDBProboCollectorStore("testdata/test.sqlite")
t.Nil(err)
t.Not(t.Nil(store))
}