testcontainers-java
testcontainers-java copied to clipboard
Add usage example to module documentation
Description
This PR adds a basic usage example to the K6 module documentation, as requested in issue #8780.
Currently, the documentation lacks a clear starting point for instantiating the container. This example provides a simple, copy-pasteable block to improve the Developer Experience (DX) for new users.
Changes
- Added a
Usagesection todocs/modules/k6.mdwith a standardtry-with-resourcesexample.
Related Issue
Fixes #8780