Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5ae79a commit 55dddc5Copy full SHA for 55dddc5
README.md
@@ -32,3 +32,16 @@ TLS support for postgres and tokio-postgres via native-tls.
32
[Documentation](https://docs.rs/postgres-openssl)
33
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`.
0 commit comments