A simple, high-performing mockserver that can dynamically build new routes with customized responses, parroting back whatever you tell it to.
- Simplistic and fast design
- Run within your Go code, through a small binary, or in a minimal Docker container
- Easily record all incoming requests to the server to programmatically react to
See our runnable examples in examples_test.go to see how to use Parrot programmatically.
go run ./cmd
go run ./cmd -h # See all config options make test
make test PARROT_TEST_LOG_LEVEL=trace # Set log level for tests
make test_race # Test with -race flag enabled
make bench # Benchmarkmake goreleaser # Uses goreleaser to build binaries and docker containers