Skip to content

Commit 4ca8180

Browse files
committed
fork the original otj-pg-embedded project
1 parent 0e9113b commit 4ca8180

22 files changed

+289
-220
lines changed

.oss-build

Whitespace-only changes.

.travis.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ no external dependencies. Excellent for allowing you to unit
66
test with a "real" Postgres without requiring end users to install
77
and set up a database cluster.
88

9-
[![Build Status](https://travis-ci.org/opentable/otj-pg-embedded.svg)](https://travis-ci.org/opentable/otj-pg-embedded)
10-
119
## Basic Usage
1210

1311
In your JUnit test just add:
@@ -19,7 +17,7 @@ public SingleInstancePostgresRule pg = EmbeddedPostgresRules.singleInstance();
1917

2018
This simply has JUnit manage an instance of EmbeddedPostgres (start, stop). You can then use this to get a DataSource with: `pg.getEmbeddedPostgres().getPostgresDatabase();`
2119

22-
Additionally you may use the [`EmbeddedPostgres`](src/main/java/com/opentable/db/postgres/embedded/EmbeddedPostgres.java) class directly by manually starting and stopping the instance; see [`EmbeddedPostgresTest`](src/test/java/com/opentable/db/postgres/embedded/EmbeddedPostgresTest.java) for an example.
20+
Additionally you may use the [`EmbeddedPostgres`](src/main/java/io/zonky/test/db/postgres/embedded/EmbeddedPostgres.java) class directly by manually starting and stopping the instance; see [`EmbeddedPostgresTest`](src/test/java/com/opentable/db/postgres/embedded/EmbeddedPostgresTest.java) for an example.
2321

2422
Default username/password is: postgres/postgres and the default database is 'postgres'
2523

@@ -40,7 +38,7 @@ independent databases gives you.
4038

4139
## Postgres version
4240

43-
The JAR file contains bundled version of Postgres. You can pass different Postgres version by implementing [`PgBinaryResolver`](src/main/java/com/opentable/db/postgres/embedded/PgBinaryResolver.java).
41+
The JAR file contains bundled version of Postgres. You can pass different Postgres version by implementing [`PgBinaryResolver`](src/main/java/io/zonky/test/db/postgres/embedded/PgBinaryResolver.java).
4442

4543
Example:
4644
```java

0 commit comments

Comments
 (0)