gorm/tests
Jinzhu 590f622674 Refactor create tests 2020-05-23 22:32:16 +08:00
..
README.md Setup tests script 2020-02-23 09:38:51 +08:00
associations.go Fix associations find 2020-05-23 11:57:28 +08:00
callbacks_test.go Add callbacks 2020-02-02 20:05:10 +08:00
create.go Refactor create tests 2020-05-23 22:32:16 +08:00
create_test.go Refactor create tests 2020-05-23 22:32:16 +08:00
delete.go Refactor test files 2020-04-15 19:13:36 +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.go Add GroupBy test 2020-03-08 18:05:22 +08:00
joins.go Test inner joins 2020-04-29 23:47:18 +08:00
migrate.go Handle constraint dependencies smartly 2020-02-23 00:18:12 +08:00
model.go Test create polymorphic has one 2020-04-17 08:40:11 +08:00
query.go Refactor test files 2020-04-15 19:13:36 +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.go Test update associations 2020-04-29 22:15:05 +08:00
utils.go Add helper methods to check user, pet 2020-05-23 18:05:26 +08:00

README.md

Test Guide

cd tests
# prepare test databases
docker-compose up

# run all tests
./tests_all.sh