gorm/tests
Jinzhu c291c2f42c Add Scanner, Valuer tests 2020-05-30 21:05:27 +08:00
..
README.md Setup tests script 2020-02-23 09:38:51 +08:00
associations_belongs_to_test.go Refactor association 2020-05-26 11:19:01 +08:00
associations_has_many_test.go Refactor association 2020-05-26 11:19:01 +08:00
associations_has_one_test.go Refactor association 2020-05-26 11:19:01 +08:00
associations_many2many_test.go Refactor association 2020-05-26 11:19:01 +08:00
associations_test.go Refactor association 2020-05-26 11:19:01 +08:00
callbacks_test.go Add callbacks 2020-02-02 20:05:10 +08:00
count_test.go Test Association For BelongsTo 2020-05-24 18:33:15 +08:00
create_test.go Refactor create tests 2020-05-23 22:32:16 +08:00
delete_test.go Refactor tests 2020-05-23 23:50:48 +08:00
docker-compose.yml Fix tests with mysql, postgres 2020-03-12 13:05:22 +08:00
dummy_dialecter.go AddVar accept writer 2020-03-09 17:59:54 +08:00
group_by_test.go Refactor tests 2020-05-23 23:50:48 +08:00
joins_test.go Refactor tests 2020-05-23 23:50:48 +08:00
migrate_test.go Refactor tests 2020-05-23 23:50:48 +08:00
model.go Test create polymorphic has one 2020-04-17 08:40:11 +08:00
non_std_test.go Test non std primary key and default value 2020-05-30 16:03:27 +08:00
preload_test.go Test preload with conds 2020-05-24 01:16:08 +08:00
query_test.go Refactor tests 2020-05-23 23:50:48 +08:00
scan_test.go Add ScanRows support 2020-05-26 23:13:05 +08:00
scanner_valuer_test.go Add Scanner, Valuer tests 2020-05-30 21:05:27 +08:00
scopes_test.go Add Scopes tests 2020-05-30 19:43:29 +08:00
soft_delete_test.go Add SoftDelete support 2020-05-29 07:35:45 +08:00
tests.go Don't preload if foreign keys zero 2020-05-23 21:09:03 +08:00
tests_all.sh Test Updates 2020-05-30 17:01:28 +08:00
update_belongs_to_test.go Test non std primary key and default value 2020-05-30 16:03:27 +08:00
update_has_many_test.go Test non std primary key and default value 2020-05-30 16:03:27 +08:00
update_has_one_test.go Test non std primary key and default value 2020-05-30 16:03:27 +08:00
update_many2many_test.go Test non std primary key and default value 2020-05-30 16:03:27 +08:00
update_test.go Test UpdateColumn 2020-05-30 17:34:22 +08:00
upsert_test.go Test Upsert 2020-05-30 14:28:42 +08:00
utils.go Add Scanner, Valuer tests 2020-05-30 21:05:27 +08:00

README.md

Test Guide

cd tests
# prepare test databases
docker-compose up

# run all tests
./tests_all.sh