Skip to content

Commit

Permalink
Add Mockserver module (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
botflux authored Jan 11, 2025
1 parent fa6edeb commit 6122419
Show file tree
Hide file tree
Showing 10 changed files with 727 additions and 29 deletions.
15 changes: 15 additions & 0 deletions docs/modules/mockserver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Mockserver Module

[MockServer](https://www.mock-server.com/#what-is-mockserver) allows you to mock any server or service via HTTP or HTTPS, such as a REST or RPC service.

## Install

```bash
npm install @testcontainers/mockserver --save-dev
```

## Examples

<!--codeinclude-->
[Start container:](../../packages/modules/mockserver/src/mockserver-container.test.ts) inside_block:startContainer
<!--/codeinclude-->
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ nav:
- Kafka: modules/kafka.md
- Localstack: modules/localstack.md
- MariaDB: modules/mariadb.md
- Mockserver: modules/mockserver.md
- MongoDB: modules/mongodb.md
- MSSQLServer: modules/mssqlserver.md
- MySQL: modules/mysql.md
Expand Down
Loading

0 comments on commit 6122419

Please sign in to comment.