Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
rmpestano committed Sep 14, 2016
1 parent a8e2de7 commit e8440aa
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ This module is the basis for subsequent modules. It contains a JUnit rule (shown
<dependency>
<groupId>com.github.dbunit-rules</groupId>
<artifactId>core</artifactId>
<version>0.14.0</version>
<version>0.15.0</version>
<scope>test</scope>
</dependency>
----
Expand Down Expand Up @@ -657,7 +657,7 @@ If you use CDI in your tests then you should give a try in DBUnit rules https://
<dependency>
<groupId>com.github.dbunit-rules</groupId>
<artifactId>cdi</artifactId>
<version>0.14.0</version>
<version>0.15.0</version>
<scope>test</scope>
</dependency>
----
Expand Down Expand Up @@ -724,7 +724,7 @@ NOTE: If you don't use CDI you need to <<Programmatically creating datasets, cre
<dependency>
<groupId>com.github.dbunit-rules</groupId>
<artifactId>cucumber</artifactId>
<version>0.14.0</version>
<version>0.15.0</version>
<scope>test</scope>
</dependency>
----
Expand Down Expand Up @@ -927,7 +927,7 @@ http://junit.org/junit5/[JUnit 5] is the new version of JUnit and comes with a n
<dependency>
<groupId>com.github.dbunit-rules</groupId>
<artifactId>junit5</artifactId>
<version>0.14.0</version>
<version>0.15.0</version>
<scope>test</scope>
</dependency>
----
Expand Down Expand Up @@ -1002,7 +1002,7 @@ TIP: Complete source code of example above can be https://github.com/rmpestano/d

== Export DataSets

In order to export database state *after test* execution into datasets files one can use *@ExportDataSet* Annotation (class or method level)
Manual creation of datasets is a very error prone task. In order to export database state *after test* execution into datasets files one can use *@ExportDataSet* Annotation or use DataSetExporter component.

=== Example

Expand All @@ -1016,7 +1016,7 @@ In order to export database state *after test* execution into datasets files one
}
----

After execution of above test, all tables will be exported to a xml dataset.
After above test execution all tables will be exported to a xml dataset.


NOTE: *XML*, *YML*, *JSON*, *XLS* and *CSV* formats are supported.
Expand Down
2 changes: 1 addition & 1 deletion cdi/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A CDI interceptor to configure DBUnit datasets in your tests.
<dependency>
<groupId>com.github.dbunit-rules</groupId>
<artifactId>cdi</artifactId>
<version>0.13.2</version>
<version>0.15.0</version>
<scope>test</scope>
</dependency>
----
Expand Down
14 changes: 14 additions & 0 deletions examples/README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
= DBUnit Rules examples module
:tip-caption: :bulb:
:note-caption: :information_source:
:important-caption: :heavy_exclamation_mark:
:caution-caption: :fire:
:warning-caption: :warning:

Gathers some example applications that use DBUnit Rules dor testing the database layer.

* https://github.com/rmpestano/dbunit-rules/tree/master/examples/jpa-productivity-boosters[JPA productivity boosters^]
* https://github.com/rmpestano/dbunit-rules/tree/master/examples/dbunit-tomee-appcomposer-sample[DBUnit Rules Application Composer^]
* https://github.com/rmpestano/dbunit-rules/tree/master/examples/jOOQ-DBUnit-flyway-example/[jOOQ Flyway DBUnit^]
* https://github.com/rmpestano/dbunit-rules/tree/master/examples/spring-boot-dbunit-sample/[SpringBoot Data DBUnit^]
9 changes: 9 additions & 0 deletions examples/spring-boot-dbunit-sample/README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
= SpringBoot DBUnit Sample
:tip-caption: :bulb:
:note-caption: :information_source:
:important-caption: :heavy_exclamation_mark:
:caution-caption: :fire:
:warning-caption: :warning:

A simple SpringBoot (with JPA and Data modules) example application using DBUnit Rules for testing JPA repositories.

0 comments on commit e8440aa

Please sign in to comment.