gorm/tests
Jinzhu 35ebfe6874 Support group conditions with single OR condition 2021-01-20 18:24:05 +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
associations_has_many_test.go
associations_has_one_test.go Allow to omit fields in associations, close #3752 2020-11-17 21:49:40 +08:00
associations_many2many_test.go Allow to skip associations when creating join table for many2many, close #3605 2020-11-17 20:24:08 +08:00
associations_test.go Fix Association.Replace() error returning (#3766) 2020-11-19 19:24:34 +08:00
benchmark_test.go
callbacks_test.go
count_test.go Fix Count with complicated Select, close #3826 2020-12-06 14:30:42 +08:00
create_test.go Fix gorm.Expr with SubQuery, fix #3857 2020-12-15 15:50:35 +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 Compatible with tag notNull 2020-10-09 17:42:28 +08:00
delete_test.go populate the DeletedAt field when soft delete, fix #3855 2020-12-15 10:39:20 +08:00
distinct_test.go
docker-compose.yml
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 Add QueryFields mode when query many2many relations 2020-12-25 16:35:25 +08:00
group_by_test.go Test Order/GroupBy 2020-07-06 09:47:14 +08:00
helper_test.go Clean up associations before Preload, close #3345 2020-09-01 13:48:37 +08:00
hooks_test.go Use NewDB to replace WithConditions for Session 2020-11-17 16:28:37 +08:00
joins_table_test.go Support delete associations with Select when deleting 2020-09-10 21:46:18 +08:00
joins_test.go Support named Joins, close #3833 2020-12-07 10:31:06 +08:00
main_test.go Update test script 2020-06-24 19:09:19 +08:00
migrate_test.go Add smart auto migrate tests 2020-10-22 16:36:27 +08:00
multi_primary_keys_test.go Select all fields in SQL queries avoiding the SELECT * FROM (#3731) 2020-11-20 15:38:25 +08:00
named_argument_test.go
named_polymorphic_test.go
non_std_test.go Refactor tests files 2020-06-02 10:50:38 +08:00
postgres_test.go
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 Fix failed to parse relations when using goroutinue, close #3790 2020-11-27 14:32:20 +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 Support group conditions with single OR condition 2021-01-20 18:24:05 +08:00
scan_test.go Support scan into int, string data types 2020-09-11 15:01:02 +08:00
scanner_valuer_test.go
scopes_test.go Refactor tests files 2020-06-02 10:50:38 +08:00
soft_delete_test.go populate the DeletedAt field when soft delete, fix #3855 2020-12-15 10:39:20 +08:00
sql_builder_test.go Fix soft delete with OrCondition, close #3627 2020-10-19 14:50:11 +08:00
table_test.go Select all fields in SQL queries avoiding the SELECT * FROM (#3731) 2020-11-20 15:38:25 +08:00
tests_all.sh Fix tests_all.sh 2020-09-03 15:02:04 +08:00
tests_test.go Fix transaction on closed conn when using prepared statement, close #3380 2020-09-03 19:16:55 +08:00
transaction_test.go Add DisableNestedTransaction support 2020-12-16 19:33:35 +08:00
update_belongs_to_test.go Support FullSaveAssociations Mode, close #3487, #3506 2020-09-24 19:29:15 +08:00
update_has_many_test.go Support FullSaveAssociations Mode, close #3487, #3506 2020-09-24 19:29:15 +08:00
update_has_one_test.go Support FullSaveAssociations Mode, close #3487, #3506 2020-09-24 19:29:15 +08:00
update_many2many_test.go Support FullSaveAssociations Mode, close #3487, #3506 2020-09-24 19:29:15 +08:00
update_test.go Fix Change UpdatedAt to current time when doing OnConflict UpdateAll 2021-01-11 19:16:47 +08:00
upsert_test.go Add OnConflict UpdateAll support 2020-11-16 20:22:08 +08:00

README.md

Test Guide

cd tests
# prepare test databases
docker-compose up

# run all tests
./tests_all.sh