A small project that collects various nice things to get started with Go Web Development.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
239 B

package tests
import (
"testing"
// "github.com/stretchr/testify/require"
"MY/webapp/data"
"os"
)
func TestMain(m *testing.M) {
data.Setup("sqlite3", "./db.sqlite3")
defer data.Shutdown()
code := m.Run()
os.Exit(code)
}