You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ We encourage you to use `virtualenv` for your testing environment.
20
20
21
21
##Usage
22
22
23
+
###Environment
24
+
23
25
>Note: by default testgres runs`initdb`,`pg_ctl`,`psql` provided by`PATH`.
24
26
25
27
There are several ways to specify a custom postgres installation:
@@ -35,6 +37,13 @@ python my_tests.py
35
37
```
36
38
37
39
40
+
###Logging
41
+
42
+
By default,`cleanup()` removes all temporary files (DB files, logs etc) that were created by testgres' API methods. If you'd like to keep logs, execute`configure_testgres(node_cleanup_full=False)` before running any tests.