gorm/tests
Jinzhu dbaa6b0ec3 Fix Scan struct with primary key, close #3357 2020-09-02 16:14:26 +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 Handle Associations with pointer of pointer, close #3130 2020-07-10 22:53:03 +08:00
associations_has_many_test.go Test Association Mode with conditions 2020-08-20 10:39:01 +08:00
associations_has_one_test.go Support merge batch data some having primary values 2020-06-20 16:52:15 +08:00
associations_many2many_test.go Fix typo 2020-06-07 15:26:43 +08:00
associations_test.go Change unique_idnex to UniqueIndex 2020-07-04 00:36:27 +08:00
benchmark_test.go Refactor codebase and add benchmark test 2020-06-05 23:26:56 +08:00
callbacks_test.go Fix failed to guess relations for embedded types, close #3224 2020-08-04 12:25:34 +08:00
count_test.go Fix count with join and no model, close #3255 2020-08-13 12:18:36 +08:00
create_test.go Fix create from map 2020-08-17 17:41:36 +08:00
customize_field_test.go Auto creating/updating time with unix (milli) second (#3213) 2020-07-30 17:39:57 +08:00
default_value_test.go Add Golang v1.15 2020-08-24 20:24:25 +08:00
delete_test.go Fix panic when delet without pointer, close #3308 2020-08-25 17:27:28 +08:00
distinct_test.go Fix Select with specific symbol, close #3157 2020-07-17 11:24:24 +08:00
docker-compose.yml Fix tests with mysql, postgres 2020-03-12 13:05:22 +08:00
embedded_struct_test.go Fix nested embedded struct, close #3278 2020-08-18 11:21:40 +08:00
go.mod request ColumnTypes after new session method 2020-09-01 20:53:54 +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 Test failed to save association should rollback, close #3100 2020-07-01 21:28:19 +08:00
joins_table_test.go Refactor tests files 2020-06-02 10:50:38 +08:00
joins_test.go Fix unordered joins, close #3267 2020-08-23 10:45:10 +08:00
main_test.go Update test script 2020-06-24 19:09:19 +08:00
migrate_test.go Support smart migrate, close #3078 2020-08-23 18:16:12 +08:00
multi_primary_keys_test.go Fix ambiguous column when using same column name in join table, close #3120 2020-07-09 09:03:48 +08:00
named_argument_test.go Fix named argument with multiple line SQL, fix #3336 2020-08-31 15:45:56 +08:00
named_polymorphic_test.go Add index priority supports 2020-07-08 17:59:40 +08:00
non_std_test.go Refactor tests files 2020-06-02 10:50:38 +08:00
postgres_test.go Remove autoincrement tag for join table, close #3217 2020-07-31 18:19:25 +08:00
preload_suits_test.go Support merge batch data some having primary values 2020-06-20 16:52:15 +08:00
preload_test.go Clean up associations before Preload, close #3345 2020-09-01 13:48:37 +08:00
prepared_stmt_test.go Change default timeout interval to avoid test fail on CI 2020-09-01 14:01:59 +08:00
query_test.go Better support for scan into map, fix unfriendly data type for interface, close #3351 2020-09-01 17:45:14 +08:00
scan_test.go Fix Scan struct with primary key, close #3357 2020-09-02 16:14:26 +08:00
scanner_valuer_test.go Fix update attrs order 2020-08-27 19:52:01 +08:00
scopes_test.go Refactor tests files 2020-06-02 10:50:38 +08:00
soft_delete_test.go Add count soft deleted record test 2020-06-10 13:42:39 +08:00
sql_builder_test.go Fix alias keyword with Table, close #3104 2020-07-10 21:11:28 +08:00
table_test.go Use table expr when inserting table, close #3239 2020-08-06 17:12:31 +08:00
tests_all.sh Update test script 2020-06-24 19:09:19 +08:00
tests_test.go Add sql-cli 2020-08-06 15:37:36 +08:00
transaction_test.go Avoid panic for invalid transaction, close #3271 2020-08-17 12:16:42 +08:00
update_belongs_to_test.go Refactor tests files 2020-06-02 10:50:38 +08:00
update_has_many_test.go Refactor tests files 2020-06-02 10:50:38 +08:00
update_has_one_test.go Refactor tests files 2020-06-02 10:50:38 +08:00
update_many2many_test.go Refactor tests files 2020-06-02 10:50:38 +08:00
update_test.go Fix V2 Save compatibility, close #3332 2020-08-30 10:21:11 +08:00
upsert_test.go Upsert selected columns 2020-06-10 10:48:48 +08:00

README.md

Test Guide

cd tests
# prepare test databases
docker-compose up

# run all tests
./tests_all.sh