24 lines
338 B
Go
24 lines
338 B
Go
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))
|
|
}
|