File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,20 @@ or you can [open it in your editor](https://github.com/jbangdev/jbang#editing) (
125
125
jbang edit --open=idea testcase@hibernate/hibernate-reactive
126
126
```
127
127
128
+ You can also generate and run a db-specific test. See available temp
9210
lates using: ` jbang template list `
129
+
130
+ ```
131
+ cockroachdb-reproducer = Template for a test with CockroachDB using Junit 4, Vert.x Unit and Testcontainers
132
+ db2-reproducer = Template for a test with Db2 using Junit 4, Vert.x Unit and Testcontainers
133
+ mariadb-reproducer = Template for a test with MariaDB using Junit 4, Vert.x Unit and Testcontainers
134
+ mysql-reproducer = Template for a test with MySQL using Junit 4, Vert.x Unit and Testcontainers
135
+ pg-reproducer = Template for a test with PostgreSQL using Junit 4, Vert.x Unit and Testcontainers
136
+ ```
137
+
138
+ Example for PostgreSQL:
139
+ - Generate java test from template: ` jbang init --template=pg-reproducer pgTest.java `
140
+ - Run the test: ` jbang pgTest.java `
141
+
128
142
## Gradle build
129
143
130
144
The project is built with Gradle, but you do _ not_ need to have Gradle
You can’t perform that action at this time.
0 commit comments