File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -32,3 +32,16 @@ TLS support for postgres and tokio-postgres via native-tls.
32
32
[ Documentation] ( https://docs.rs/postgres-openssl )
33
33
34
34
TLS support for postgres and tokio-postgres via openssl.
35
+
36
+ # Running test suite
37
+
38
+ The test suite requires postgres to be running in the correct configuration. The easiest way to do this is with docker:
39
+
40
+ 1 . Install ` docker ` and ` docker-compose ` .
41
+ 1 . On ubuntu: ` sudo apt install docker.io docker-compose ` .
42
+ 1 . Make sure your user has permissions for docker.
43
+ 1 . On ubuntu: `` sudo usermod -aG docker $USER ``
44
+ 1 . Change to top-level directory of ` rust-postgres ` repo.
45
+ 1 . Run ` docker-compose up -d ` .
46
+ 1 . Run ` cargo test ` .
47
+ 1 . Run ` docker-compose stop ` .
You can’t perform that action at this time.
0 commit comments