gorm/tests
chenrui 9b9ae325bb fix: circular reference save, close #5140
commit 2ac099a37ac7bd74f0a98a6fdc42cc8527404144
Author: Jinzhu <wosmvp@gmail.com>
Date:   Thu Mar 17 23:49:21 2022 +0800

    Refactor #5140

commit 6e3ca2d1aa
Author: a631807682 <631807682@qq.com>
Date:   Sun Mar 13 12:52:08 2022 +0800

    test: add test for LoadOrStoreVisitMap

commit 9d5c68e410
Author: chenrui <chenrui@jingdaka.com>
Date:   Thu Mar 10 20:33:47 2022 +0800

    chore: add more comment

commit bfffefb179
Author: chenrui <chenrui@jingdaka.com>
Date:   Thu Mar 10 20:28:48 2022 +0800

    fix: should check values has been saved instead of rel.Name

commit e55cdfa4b3
Author: chenrui <chenrui@jingdaka.com>
Date:   Tue Mar 8 17:48:01 2022 +0800

    chore: go lint

commit fe4715c5bd
Author: chenrui <chenrui@jingdaka.com>
Date:   Tue Mar 8 17:27:24 2022 +0800

    chore: add test comment

commit 326862f3f8
Author: chenrui <chenrui@jingdaka.com>
Date:   Tue Mar 8 17:22:33 2022 +0800

    fix: circular reference save
2022-03-17 23:53:31 +08:00
..
.gitignore Refactor Prepared Statement 2020-07-28 14:46:48 +08:00
README.md Setup tests script 2020-02-23 09:38:51 +08:00
associations_belongs_to_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
associations_has_many_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
associations_has_one_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
associations_many2many_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
associations_test.go fix: circular reference save, close #5140 2022-03-17 23:53:31 +08:00
benchmark_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
callbacks_test.go Fix failed to guess relations for embedded types, close #3224 2020-08-04 12:25:34 +08:00
connection_test.go fix: omit not work when use join (#5034) 2022-01-28 22:16:42 +08:00
connpool_test.go Refactor Tx interface 2022-03-01 16:59:50 +08:00
count_test.go Refactor preload error check 2022-03-17 11:22:25 +08:00
create_test.go Add serializer support (#5078) 2022-02-19 17:02:53 +08:00
customize_field_test.go Fix use uint to for autoCreateTime, autoUpdateTime 2020-09-11 17:33:31 +08:00
default_value_test.go Support default tag for time.Time 2022-03-17 11:34:27 +08:00
delete_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
distinct_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
docker-compose.yml Fix docker-compose test env for Mac M1 2022-01-30 22:05:38 +08:00
embedded_struct_test.go Fix create database foreign keys for same type having has many/one & many2many relationships, close #3424 2020-09-08 18:25:29 +08:00
go.mod Added offset when scanning the result back to struct, close #5143 2022-03-17 22:52:40 +08:00
gorm_test.go Improve returning support 2021-10-26 22:40:14 +08:00
group_by_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
helper_test.go Clean up associations before Preload, close #3345 2020-09-01 13:48:37 +08:00
hooks_test.go Don't call AfterFind hooks if no record found, close #4048 2021-02-07 12:44:59 +08:00
joins_table_test.go Support delete associations with Select when deleting 2020-09-10 21:46:18 +08:00
joins_test.go fix: omit not work when use join (#5034) 2022-01-28 22:16:42 +08:00
main_test.go Update test script 2020-06-24 19:09:19 +08:00
migrate_test.go Improve support for AutoMigrate 2022-02-19 23:42:20 +08:00
multi_primary_keys_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
named_argument_test.go Fix: Where clauses with named arguments may cause generation of unintended queries (#4937) 2021-12-21 19:50:00 +08:00
named_polymorphic_test.go Add index priority supports 2020-07-08 17:59:40 +08:00
non_std_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
postgres_test.go Fix update with customized time type, close #5101 2022-02-23 17:48:26 +08:00
preload_suits_test.go Fix failed to parse relations when using goroutinue, close #3790 2020-11-27 14:32:20 +08:00
preload_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
prepared_stmt_test.go Fix prepared statement in transaction mode can't be shared in normal operations, close #3927 2021-01-10 16:46:06 +08:00
query_test.go fix: query scanner in single column 2022-02-25 22:38:48 +08:00
scan_test.go Added offset when scanning the result back to struct, close #5143 2022-03-17 22:52:40 +08:00
scanner_valuer_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
scopes_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
serializer_test.go feat: support gob serialize (#5108) 2022-02-24 10:21:27 +08:00
soft_delete_test.go fix: generate sql incorrect when use soft_delete and only one OR (#4969) 2021-12-30 11:47:14 +08:00
sql_builder_test.go strings.replace -> strings.replaceAll (#5095) 2022-02-20 19:55:04 +08:00
table_test.go fix: table couln't be reentrant (#4556) 2021-08-09 13:20:22 +08:00
tests_all.sh Fix github action 2022-01-30 22:46:41 +08:00
tests_test.go fix: circular reference save, close #5140 2022-03-17 23:53:31 +08:00
transaction_test.go Fix new session with Begin, close #4120 2021-02-26 16:43:43 +08:00
update_belongs_to_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
update_has_many_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
update_has_one_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
update_many2many_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
update_test.go Refactor check missing where condition 2022-02-27 08:40:15 +08:00
upsert_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00

README.md

Test Guide

cd tests
# prepare test databases
docker-compose up

# run all tests
./tests_all.sh