We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17fb170 commit 6d50c5bCopy full SHA for 6d50c5b
tests/README.md
@@ -0,0 +1,29 @@
1
+### How do I run tests?
2
+
3
+#### Simple
4
5
+```bash
6
+# Setup virtualenv
7
+virtualenv venv
8
+source venv/bin/activate
9
10
+# Install local version of testgres
11
+pip install -U .
12
13
+# Set path to PostgreSQL
14
+export PG_BIN=/path/to/pg/bin
15
16
+# Run tests
17
+./tests/test_simple.py
18
+```
19
20
+#### All configurations + coverage
21
22
23
+# Set path to PostgreSQL and python version
24
+export PATH=$PATH:/path/to/pg/bin
25
+export PYTHON=3 (or 2)
26
27
28
+./run_tests.sh
29
0 commit comments