aboutsummaryrefslogtreecommitdiff
path: root/src/models/boil_suites_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/boil_suites_test.go')
-rw-r--r--src/models/boil_suites_test.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/models/boil_suites_test.go b/src/models/boil_suites_test.go
index a817084..d1e1758 100644
--- a/src/models/boil_suites_test.go
+++ b/src/models/boil_suites_test.go
@@ -12,70 +12,88 @@ import "testing"
// It does NOT run each operation group in parallel.
// Separating the tests thusly grants avoidance of Postgres deadlocks.
func TestParent(t *testing.T) {
+ t.Run("Posts", testPosts)
t.Run("Users", testUsers)
}
func TestDelete(t *testing.T) {
+ t.Run("Posts", testPostsDelete)
t.Run("Users", testUsersDelete)
}
func TestQueryDeleteAll(t *testing.T) {
+ t.Run("Posts", testPostsQueryDeleteAll)
t.Run("Users", testUsersQueryDeleteAll)
}
func TestSliceDeleteAll(t *testing.T) {
+ t.Run("Posts", testPostsSliceDeleteAll)
t.Run("Users", testUsersSliceDeleteAll)
}
func TestExists(t *testing.T) {
+ t.Run("Posts", testPostsExists)
t.Run("Users", testUsersExists)
}
func TestFind(t *testing.T) {
+ t.Run("Posts", testPostsFind)
t.Run("Users", testUsersFind)
}
func TestBind(t *testing.T) {
+ t.Run("Posts", testPostsBind)
t.Run("Users", testUsersBind)
}
func TestOne(t *testing.T) {
+ t.Run("Posts", testPostsOne)
t.Run("Users", testUsersOne)
}
func TestAll(t *testing.T) {
+ t.Run("Posts", testPostsAll)
t.Run("Users", testUsersAll)
}
func TestCount(t *testing.T) {
+ t.Run("Posts", testPostsCount)
t.Run("Users", testUsersCount)
}
func TestHooks(t *testing.T) {
+ t.Run("Posts", testPostsHooks)
t.Run("Users", testUsersHooks)
}
func TestInsert(t *testing.T) {
+ t.Run("Posts", testPostsInsert)
+ t.Run("Posts", testPostsInsertWhitelist)
t.Run("Users", testUsersInsert)
t.Run("Users", testUsersInsertWhitelist)
}
func TestReload(t *testing.T) {
+ t.Run("Posts", testPostsReload)
t.Run("Users", testUsersReload)
}
func TestReloadAll(t *testing.T) {
+ t.Run("Posts", testPostsReloadAll)
t.Run("Users", testUsersReloadAll)
}
func TestSelect(t *testing.T) {
+ t.Run("Posts", testPostsSelect)
t.Run("Users", testUsersSelect)
}
func TestUpdate(t *testing.T) {
+ t.Run("Posts", testPostsUpdate)
t.Run("Users", testUsersUpdate)
}
func TestSliceUpdateAll(t *testing.T) {
+ t.Run("Posts", testPostsSliceUpdateAll)
t.Run("Users", testUsersSliceUpdateAll)
}