gorm/tests
Jinzhu 135d9f8b03 Test HasMany Association for Slice 2020-05-25 11:57:58 +08:00
..
README.md Setup tests script 2020-02-23 09:38:51 +08:00
associations_test.go Test HasMany Association for Slice 2020-05-25 11:57:58 +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
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
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