stripe-mock is a mock HTTP server that responds like the real Stripe API. It can be used instead of Stripe's testmode to make test suites integrating with Stripe faster and less brittle.
MIT License
Bot releases are hidden (Show)
Published by tmaxwell-stripe over 6 years ago
03db1d0 New format for list resource URLs in spec (#47)
edef369 Tweak description of --version
flag to include that it will exit
f5c24f0 Merge pull request #45 from stripe/jkakar/always-display-version
78c3e5d Always print the stripe-mock version.
Automated with GoReleaser
Built with go version go1.10 darwin/amd64
Published by apakulov-stripe over 6 years ago
0fdc125 Merge pull request #44 from stripe/apakulov/update-openapi
ccecdb2 Update the OpenAPI specification and bundled data
7074aad Merge pull request #43 from stripe/update-openapi
Automated with GoReleaser
Built with go version go1.9.4 darwin/amd64
Published by jkakar-stripe over 6 years ago
7d9ee1c Update the OpenAPI specification and bundled data
aaac396 The --rm-dist
option seems to be the way to go now
Automated with GoReleaser
Built with go version go1.9.3 darwin/amd64
Published by brandur-stripe over 6 years ago
8074314 Merge pull request #40 from stripe/brandur-update-openapi-2
fd198c7 Update OpenAPI and fixtures
17c2761 Merge pull request #38 from MattMasters/docker-build
8834f26 build from golang 1.9-apline base image and build docker image in script
e9d920f run go test on docker container
15b57f0 build and test docker image
6fdae22 build and run with docker
Automated with GoReleaser
Built with go version go1.9.1 darwin/amd64
Published by brandur-stripe almost 7 years ago
9d064de Merge pull request #32 from stripe/remi-handle-invalid-auth
23e9582 Fix review comments
1232920 Merge pull request #37 from stripe/brandur-license
811872b License stripe-mock under MIT
6f00748 Add log back, mistakenly deleted it
e5dfd59 Separate the tests
f9ad1e7 Add helpers to create Stripe Error responses
823d696 Ensure that Request-Id header is set on response except for auth errors
2b50c44 Use StripeError on all error case in HandleRequest
da8c896 Define a StripeError struct and send this on authentication errors
Automated with GoReleaser
Built with go version go1.9.1 darwin/amd64
Published by brandur-stripe almost 7 years ago
98a9cc4 Merge pull request #28 from stripe/brandur-update-openapi
b9a8a2c Update OpenAPI specification
5c0cf38 Merge pull request #27 from stripe/tmaxwell/fix-spec
052b88b Update OpenAPI spec+fixtures so test suite works again
72b7d39 Update spec + fixtures
Automated with GoReleaser
Built with go version go1.9.1 darwin/amd64
Published by brandur-stripe about 7 years ago
0b1d01b Update OpenAPI spec
6c3d4ee A few more additions to the README
Automated with @goreleaser
Built with go version go1.9 darwin/amd64
Published by brandur-stripe about 7 years ago
30a764e Merge pull request #23 from stripe/brandur-fix-yaml-loading
24a2bb4 Panic instead of silently converting non-string keys
eaeb7eb Fix decoded maps when unmarshaling fixtures from a YAML file
Automated with @goreleaser
Built with go version go1.9 darwin/amd64
Published by brandur-stripe about 7 years ago
08fe826 Add .envrc to .gitignore
2331cd2 Merge pull request #21 from stripe/brandur-coerce-arrays
ac69638 Descend into arrays while doing parameter coercing
cc3797a OpenAPI 3 support (#17)
Automated with @goreleaser
Built with go version go1.9 darwin/amd64
Published by brandur-stripe about 7 years ago
d654230 Merge pull request #18 from stripe/coerce-maps
f049eca Coerce integer-indexed maps to slices
Automated with @goreleaser
Built with go version go1.9 darwin/amd64
Published by brandur-stripe about 7 years ago
2be9db6 Print warning when no fixture was found
6f55235 Get rid of splat hacks now that vendor
is no longer included
7816d96 Upgrade to Go 1.9 in CI
c3e2b4a Correct binary name in .gitignore
fff9159 Merge pull request #15 from stripe/prerelease
5e2e18f Support for specifying path to spec and fixture files
Automated with @goreleaser
Built with go version go1.9 darwin/amd64
Published by brandur-stripe about 7 years ago
19060b6 Remove use of log in preference of Fprintf to stdout/stderr
3e23dab Send log output to stdout instead of stderr
Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64
Published by brandur-stripe about 7 years ago
99133db Update bindata to include new OpenAPI spec
Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64
Published by brandur-stripe about 7 years ago
127db47 Update OpenAPI to include legacy recipients APIs
Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64
Published by brandur-stripe about 7 years ago
84fd20d Merge pull request #14 from stripe/brandur-coerce-number
22fce71 Support coercion on the "number" type
Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64
Published by brandur-stripe about 7 years ago
82670b0 Add success test case for stub server
a591531 Merge pull request #13 from stripe/brandur-pretty-print
2b1f757 Pretty print responses when request is from cURL
Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64
Published by brandur-stripe about 7 years ago
753aa06 Merge pull request #12 from stripe/brandur-concurrency
39a2e27 Change testSpec to be a non-pointer like realSpec
5d2100e Fix concurrent generator use
46148a4 Test to reproduce problem with concurrent map access
Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64
Published by brandur-stripe about 7 years ago
02f5248 Update OpenAPI and fixtures
Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64
Published by brandur-stripe about 7 years ago
04d2393 Merge pull request #9 from stripe/brandur-coerce-bool
bc203f4 Implement boolean coercion
1c3d7ad Refactor expansion level tests to use test grid
c402575 Clarify base64 encoding
Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64
Published by brandur-stripe about 7 years ago
a8a4d4d Merge pull request #8 from stripe/brandur-basic-auth
1dce80c Allow HTTP basic authentication in addition to bearer
Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64