gorm/tests
Jinzhu af632199cf Test set string field's default value to blank string 2020-07-01 19:49:04 +08:00
..
README.md Setup tests script 2020-02-23 09:38:51 +08:00
associations_belongs_to_test.go Fix typo 2020-06-07 15:26:43 +08:00
associations_has_many_test.go Fix typo 2020-06-07 15:26:43 +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 Test ForeignKeyConstraints 2020-06-20 01:20:18 +08:00
benchmark_test.go Refactor codebase and add benchmark test 2020-06-05 23:26:56 +08:00
callbacks_test.go Rename package name 2020-06-02 09:18:01 +08:00
count_test.go Fix Count after Session 2020-06-23 22:41:41 +08:00
create_test.go Create supports Array / ArrayPtr (#3076) 2020-06-23 14:38:36 +08:00
customize_field_test.go Add field permission test 2020-06-05 19:18:22 +08:00
default_value_test.go Test set string field's default value to blank string 2020-07-01 19:49:04 +08:00
delete_test.go Remove RecordNotFound method 2020-06-07 22:03:45 +08:00
distinct_test.go Fix Pluck with Table only 2020-06-09 15:36:10 +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 field with pointer, close #3071 2020-06-23 09:12:57 +08:00
go.mod Fix go.mod 2020-07-01 19:49:04 +08:00
group_by_test.go Refactor tests files 2020-06-02 10:50:38 +08:00
helper_test.go Support merge batch data some having primary values 2020-06-20 16:52:15 +08:00
hooks_test.go Test Hooks 2020-06-05 20:24:15 +08:00
joins_table_test.go Refactor tests files 2020-06-02 10:50:38 +08:00
joins_test.go Refactor tests files 2020-06-02 10:50:38 +08:00
main_test.go Update test script 2020-07-01 19:49:04 +08:00
migrate_test.go Fix create unique index when creating table, close #3081 2020-06-23 22:14:41 +08:00
multi_primary_keys_test.go Create join table with ReorderModels 2020-07-01 19:49:04 +08:00
named_polymorphic_test.go Refactor merge where exprs 2020-06-08 09:13:34 +08:00
non_std_test.go Refactor tests files 2020-06-02 10:50:38 +08:00
postgres_test.go Fix few cases with postgres 2020-06-18 08:40:41 +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 Select, Omit, Preload supports clause.Associations 2020-06-20 17:21:01 +08:00
query_test.go Add FindInBatches support 2020-06-10 15:36:34 +08:00
scan_test.go Refactor tests files 2020-06-02 10:50:38 +08:00
scanner_valuer_test.go Fix []byte support 2020-06-18 11:24:08 +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 Test GroupConditions 2020-06-20 01:55:30 +08:00
tests_all.sh Update test script 2020-07-01 19:49:04 +08:00
tests_test.go Support merge batch data some having primary values 2020-06-20 16:52:15 +08:00
transaction_test.go Add SavePoint/RollbackTo/NestedTransaction 2020-06-19 18:30:04 +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 Remove RecordNotFound method 2020-06-07 22:03:45 +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