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
<1> EntityManagerProvider is a JUnit rule that initializes a JPA entity manager before each *test class*. `riderDB` is the name of persistence unit;
125
125
<2> DBUnit rule reads *@DataSet* annotations and initializes database before each *test method*. This rule only needs a *JDBC* connection to be created.
126
126
<3> The dataSet configuration itself, https://github.com/database-rider/database-rider/blob/master/core/src/main/java/com/github/database/riderapi/dataset/DataSet.java#L14[see here^] for all available configuration options. Note that you can provide a comma separated list of datasets names here.
127
-
<4> *em()* is a shortcut (`import static com.github.database.rider.util.EntityManagerProvider.em;`) for the EntityManager that was initialized by EntityManagerProvider rule.
127
+
<4> *em()* is a shortcut (`import static com.github.database.rider.core.util.EntityManagerProvider.em;`) for the EntityManager that was initialized by EntityManagerProvider rule.
128
128
129
129
TIP: There is a lot of https://github.com/database-rider/database-rider/tree/master/core/src/test/java/com/github/database/rider[example tests here^].
130
130
@@ -690,4 +690,4 @@ public class LeakHunterIt {
690
690
691
691
}
692
692
----
693
-
<1> If number of connections after test execution are greater than before then a *LeakHunterException* will be raised.
693
+
<1> If number of connections after test execution are greater than before then a *LeakHunterException* will be raised.
0 commit comments