File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ Rapid Reactive testing with JBang
2
+
3
+ If you want to see them in action, here's how it works:
4
+
5
+ 1 . [ Download JBang] ( https://www.jbang.dev/download )
6
+ 2 . Start the default Postgres we use for testing (you can replace podman with docker):
7
+ ```
8
+ podman run --rm --name HibernateTestingPGSQL \
9
+ -e POSTGRES_USER=hreact -e POSTGRES_PASSWORD=hreact -e POSTGRES_DB=hreact \
10
+ -p 5432:5432 postgres:13.2
11
+ ```
12
+ 3. JBang it:
13
+ ```
14
+ jbang https://github.com/hibernate/hibernate-reactive/tree/main/tooling/jbang/Example.java
15
+ ```
16
+ or
17
+ ```
18
+ jbang https://github.com/hibernate/hibernate-reactive/tree/main/tooling/jbang/SampleIssueTest.java
19
+ ```
20
+ 4. (Optional) If you want to edit the class with Idea
21
+ ```
22
+ jbang edit --open=idea https://github.com/hibernate/hibernate-reactive/tree/main/tooling/jbang/SampleIssueTest.java
23
+ ```
24
+
25
+ _NOTE: For testing with other DB's see [podman.md](https://github.com/hibernate/hibernate-reactive/blob/main/podman.md)_.
You can’t perform that action at this time.
0 commit comments