gorm/tests
Jinzhu ac8708b500 Add FirstOrInit support 2020-05-28 13:12:56 +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
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
tests.go Don't preload if foreign keys zero 2020-05-23 21:09:03 +08:00
tests_all.sh Explain SQL for dialects 2020-02-23 12:41:13 +08:00
update_test.go Refactor tests 2020-05-23 23:50:48 +08:00
upsert_test.go Add FirstOrInit support 2020-05-28 13:12:56 +08:00
utils.go Refactor tests 2020-05-23 23:50:48 +08:00

README.md

Test Guide

cd tests
# prepare test databases
docker-compose up

# run all tests
./tests_all.sh