Skip to content

Commit

Permalink
Update junit5 documentation with disabledWithoutDocker and parallel a…
Browse files Browse the repository at this point in the history
…ttributes (#6783)

Co-authored-by: Eddú Meléndez Gonzales <[email protected]>
  • Loading branch information
samed-bicer and eddumelendez authored Apr 4, 2023
1 parent b51b7ed commit a2ac6fd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/quickstart/junit_5_quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,16 @@ We can do this in our test `setUp` method, to set up our component under test:
not work on your current or future CI environment. As such, **avoid hard-coding** the address, and use
`getHost()` instead.

## 4. Run the tests!
## 4. Additional attributes

Additional attributes are available for the `@Testcontainers` annotation.
Those attributes can be helpful when:

* Tests should be skipped instead of failing because Docker is unavailable in the
current environment. Set `disabledWithoutDocker` to `true`.
* Enable parallel container initialization instead of sequential (by default). Set `parallel` to `true`.

## 5. Run the tests!

That's it!

Expand Down

0 comments on commit a2ac6fd

Please sign in to comment.