Skip to content

Commit a2ac6fd

Browse files
Update junit5 documentation with disabledWithoutDocker and parallel attributes (#6783)
Co-authored-by: Eddú Meléndez Gonzales <eddu.melendez@gmail.com>
1 parent b51b7ed commit a2ac6fd

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/quickstart/junit_5_quickstart.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,16 @@ We can do this in our test `setUp` method, to set up our component under test:
8585
not work on your current or future CI environment. As such, **avoid hard-coding** the address, and use
8686
`getHost()` instead.
8787

88-
## 4. Run the tests!
88+
## 4. Additional attributes
89+
90+
Additional attributes are available for the `@Testcontainers` annotation.
91+
Those attributes can be helpful when:
92+
93+
* Tests should be skipped instead of failing because Docker is unavailable in the
94+
current environment. Set `disabledWithoutDocker` to `true`.
95+
* Enable parallel container initialization instead of sequential (by default). Set `parallel` to `true`.
96+
97+
## 5. Run the tests!
8998

9099
That's it!
91100

0 commit comments

Comments
 (0)