Create a database cluster, start a server instance, and create a test database.
$ initdb -E UTF8 --locale=C -U hibernate_orm_test
$ pg_ctl -w start
$ createdb -U hibernate_orm_test hibernate_orm_test
Download Hibernate ORM. It includes the source code and test suites as well as the binaries.
Run various tests. I ran the following command in documentation, hibernate-core, hibernate-envers.
$ gradle clean test -Pdb=pgsql