Skip to content

Fix 404 error for DataSet class link #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/docs/index.adoc
Original file line number Diff line number Diff line change
@@ -123,7 +123,7 @@ include::{testdir}/DatabaseRiderCoreTest.java[tags=declaration;sample]
----
<1> EntityManagerProvider is a JUnit rule that initializes a JPA entity manager before each *test class*. `riderDB` is the name of persistence unit;
<2> DBUnit rule reads *@DataSet* annotations and initializes database before each *test method*. This rule only needs a *JDBC* connection to be created.
<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.
<3> The dataSet configuration itself, https://github.com/database-rider/database-rider/blob/master/rider-core/src/main/java/com/github/database/rider/core/api/dataset/DataSet.java#L14[see here^] for all available configuration options. Note that you can provide a comma separated list of datasets names here.
<4> *em()* is a shortcut (`import static com.github.database.rider.core.util.EntityManagerProvider.em;`) for the EntityManager that was initialized by EntityManagerProvider rule.

TIP: There is a lot of https://github.com/database-rider/database-rider/tree/master/rider-core/src/test/java/com/github/database/rider/core[example tests here^].