Files
ent/entc/integration
Risky Feryansyah 65938ccdd3 entc/integration: change Save to Exec in create operation when model is not needed (#1896)
* refactor(entc/integration): change Save to Exec in create operation

* fix: should not change to exec if we need return of the data
2021-09-01 10:05:30 +03:00
..
2021-08-21 00:14:22 +03:00

entc integration tests

Regenerating new templates

If you edited one of the files in entc/gen/template or entc/load/template, run the following command to from entc directory:

go generate ./...

Running the integration tests

docker-compose -f compose/docker-compose.yaml up -d --scale gremlin=0
go test 

Use the -run flag for running specific test or set of tests. For example:

go test -run=MySQL

go test -run=SQLite/Sanity