Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psmarcin/psmockserver
MockServer implementation in Go
https://github.com/psmarcin/psmockserver
docker golang mockserver
Last synced: about 1 month ago
JSON representation
MockServer implementation in Go
- Host: GitHub
- URL: https://github.com/psmarcin/psmockserver
- Owner: psmarcin
- Created: 2019-09-30T20:27:26.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-25T03:44:37.000Z (almost 2 years ago)
- Last Synced: 2024-06-20T17:42:33.512Z (6 months ago)
- Topics: docker, golang, mockserver
- Language: Go
- Homepage:
- Size: 46.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# psmockserver
psmockserver is a MockServer(https://mock-server.com) implementation in Go.### Features
* [x] Test hooks
* [x] Integration tests https://github.com/psmarcin/psmockserver/pull/8
* [x] Support query strings https://github.com/psmarcin/psmockserver/issues/7
* [x] Base helm chart@v2 setup https://github.com/psmarcin/psmockserver/issues/12
* [ ] Clear mocks using cookies/headers https://github.com/psmarcin/psmockserver/issues/10
* [ ] Validate request body### How To
#### Install dependencies
1. Go `>1.13` https://golang.org/
1. Realize https://github.com/oxequa/realize - for development
1. Goreleaser https://goreleaser.com/ - for release
1. Docker https://www.docker.com/ - for test#### Run server locally
1. `make dev`#### Run test locally
1. `make test`#### Run docker
1. `docker build -t psmarcin/psmockserver .`
1. `docker run -d -p 8080:8080 psmarcin/psmockserver`#### Run mock-tests
1. `make mock-test`#### Load default mocks from file
psmockserver loads by default file `./default.json`.