edge/pkg/storage/share/testsuite/store.go

16 lines
294 B
Go

package testsuite
import (
"testing"
"forge.cadoles.com/arcad/edge/pkg/storage/share"
)
type NewTestStoreFunc func(testname string) (share.Store, error)
func TestStore(t *testing.T, newStore NewTestStoreFunc) {
t.Run("Cases", func(t *testing.T) {
runRepositoryTests(t, newStore)
})
}