-
Using
- Importing Services & APIs
- Comparison to alternatives
- OpenAPI Mocking and Testing
- Swagger Mocking and Testing
- AsyncAPI Mocking and Testing
- Postman usage for Microcks
- gRPC Mocking and Testing
- GraphQL Mocking and Testing
- SoapUI Mocking and Testing
- Http Archive usage for Microcks
- Using exposed mocks
- Getting direct API
- Testing with Microcks
- Advanced topics
- Organizing repository
- Templating mock responses
- Dispatcher & dispatching rules
- Microcks APIMetadata
- Monitoring & Observability
- Installing
- Automating
- Administrating
- Guides
Running with Testcontainers
🗓️ Last updated on November 14, 2023 | 2 | Improve this pageIn order to support Inner Loop integration or Shift-Left scenarios
, we’ve worked recently on a stripped down version of Microcks that makes embedding it in your development workflow, on a laptop, within your unit tests possible. This new distribution is called microcks-uber
and provides the essential services in a single container as represented below:
As the Uber distribution of Microcks is perfectly well-adapted for a quick evaluation, we don’t recommend running it in production! It doesn’t embed the authroization/authentication features provided by Keycloak and the performance guarantees offered by a real external MongoDB instance.
The original purpose of this Uber distribution is to be used through testing libraries like Testcontainers
. Though it’s very easy to launch it using a simple docker
command like below, binding the only necessary port to your local 8585
:
docker run -p 8585:8080 -it quay.io/microcks/microcks-uber:nightly
Testcontainers integration
Microcks now provides official modules for Testcontainers via a partenership with AtomicJar , the company behind this fantastic library! You can find information on the official module on Testcontainers Microcks page .
As of today, we provide support for following languages:
- Java ☕️ - See our GitHub repository - See our demo application for Spring Boot 🍃 and for Quarkus .
- NodeJS - See our GitHub repository
- Go - See our GitHub repository
Also below a set of blog posts explaining the benefist and underlying mechanisms this integrations:
Still Didn’t Find Your Answer?
Join our community and get the help you need. Engage with other members, ask questions, and share knowledge to resolve your queries and expand your understanding.
Join the community