Skip to content

Commit 2351886

Browse files
committed
update readme
1 parent d1b9dfc commit 2351886

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ The first is that the creation of the second and any subsequent empty database i
3434
as the library can reuse the existing container instead of wasting time by starting another one.
3535

3636
The second is that storing all databases in a single container makes it possible to efficiently transfer or share data across databases.
37-
This is a prerequisite for the [refresh mode](#refreshing-the-database-during-tests),
38-
which can make a fast binary copy of the database (using a [template database](https://www.postgresql.org/docs/current/manage-ag-templatedbs.html) if possible) before the test is started to isolate it from other tests.
37+
This is the main prerequisite for the [refresh mode](#refreshing-the-database-during-tests),
38+
which can make a fast binary copy of the database (using a [template database](https://www.postgresql.org/docs/current/manage-ag-templatedbs.html) if possible)
39+
before the test is started to make the test completely isolated from other tests, even if changes have been committed to the database.
3940
This approach effectively rolls back any changes made by the test and ensures that even refreshing larger databases takes only a few milliseconds.
4041

4142
In addition, there are some other optimization techniques to increase overall performance,

0 commit comments

Comments
 (0)