stripe-mock

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

Downloads
23
Stars
1.3K
Committers
34

Bot releases are hidden (Show)

stripe-mock - v0.23.0

Published by brandur-stripe about 6 years ago

Changelog

cc86b1b Merge pull request #91 from stripe/brandur-openapi-issuing
49610d5 Update OpenAPI to include issuing
1e6a5c0 Merge pull request #90 from stripe/brandur-lint
573dd86 Activate golint for stripe-mock
86a87af Switch to net/http constants rather than referencing raw strings

stripe-mock - v0.22.0

Published by brandur-stripe about 6 years ago

Changelog

78f379e Merge pull request #89 from stripe/brandur-deleted-branch-off-method
93da78d Decided between returning a deleted versus non-deleted from HTTP method
47ec9de Merge pull request #88 from stripe/brandur-whitelist-approve-decline
59d4fc0 Whitelist RPC-style actions /approve and /decline
1c29d2a Merge pull request #87 from stripe/brandur-more-readme
70214dd Add README sections for current state and future plans
44fedb9 Merge pull request #86 from stripe/brandur-remove-yaml
16d5511 Error if a non-JSON file is specified
e0f8406 Remove support for YAML files

stripe-mock - v0.21.1

Published by brandur-stripe over 6 years ago

Changelog

29dbdac Merge pull request #85 from stripe/brandur-new-plist
a791c78 Listen for HTTP and HTTPS simultaneously in .plist

stripe-mock - v0.21.0

Published by brandur-stripe over 6 years ago

Changelog

858c61c Merge pull request #84 from stripe/brandur-https-options
f71d810 Support simultaneous HTTP and HTTPS

stripe-mock - v0.20.1

Published by brandur-stripe over 6 years ago

Changelog

3615845 Merge pull request #83 from stripe/brandur-update-openapi-5
b7951ed Update OpenAPI

stripe-mock - v0.20.0

Published by brandur-stripe over 6 years ago

Changelog

60751ba Merge pull request #82 from stripe/brandur-http2
bf95191 Add option to activate HTTPS and HTTP/2 if client supports it

stripe-mock - v0.19.0

Published by rattrayalex-stripe over 6 years ago

Changelog

a58f08c Merge pull request #80 from stripe/update-openapi
b098338 Update the OpenAPI specification and bundled data

stripe-mock - v0.18.0

Published by brandur-stripe over 6 years ago

Changelog

f847c74 Merge pull request #79 from stripe/brandur-update-fixtures
be5d76f Add support for format + maxLength + x-stripeBypassValidation
7cebb9a Update bundled OpenAPI and fixtures

stripe-mock - v0.17.0

Published by brandur-stripe over 6 years ago

Changelog

ccfce7e Merge pull request #77 from stripe/brandur-reflect-idempotency-key
a23ef5c Reflect Idempotency-Key header back in response

stripe-mock - v0.16.2

Published by brandur-stripe over 6 years ago

Changelog

56c5482 Merge pull request #76 from stripe/brandur-hedge-zero-value
1dbc312 Hedge against the "zero Value"
ad06541 Merge pull request #74 from stripe/brandur-data-replacement
2b4d973 Replace data in response with data from request

stripe-mock - v0.16.1

Published by brandur-stripe over 6 years ago

Changelog

720cbec Merge pull request #73 from stripe/brandur-no-content-type-deletes
7fff60a Allow empty content type on DELETE

stripe-mock - v0.16.0

Published by brandur-stripe over 6 years ago

Changelog

ba29b2b Update bindata
c610fa6 Merge pull request #72 from stripe/update-openapi
ca75dff Update the OpenAPI specification and bundled data

stripe-mock - v0.15.0

Published by brandur-stripe over 6 years ago

Changelog

0fa0c65 Merge pull request #71 from stripe/brandur-openapi-file-string
0d273f1 Update the OpenAPI spec
d7be537 Merge pull request #70 from stripe/brandur-content-type-error
58004ac Validate multipart/form-data + error on mismatched media types
fc52594 Fix non-deterministic test

stripe-mock - v0.14.0

Published by brandur-stripe over 6 years ago

Changelog

3c0009a Not general, but adding my TODO.md to .gitignore
dece6ad Merge pull request #68 from stripe/brandur-openapi-files
cbe91f5 Update OpenAPI -- now including all file endpoints
9beade1 Merge pull request #64 from stripe/brandur-advanced-path-reflection
7da1df2 Implement "advanced" path parameter response reflection
e16881a Merge pull request #67 from stripe/brandur-param-coercer-any-of
50ceb42 Support primitives in an anyOf from the parameters coercer
4362e10 Merge pull request #65 from stripe/brandur-flexible-additional-properties
49cbff7 Flexible AdditionalProperties
25cfe82 Alphabetize function names

stripe-mock - v0.13.0

Published by brandur-stripe over 6 years ago

Changelog

c2f3c0e Merge pull request #62 from stripe/brandur-more-special-cased-actions
564badc Merge pull request #63 from stripe/brandur-fix-non-deterministic-tset
21f69bd Fix non-deterministic test
1c0d482 Special case more non-RESTful "actions"
65e92ad Merge pull request #60 from stripe/brandur-synthetic-schemas
25082ad If all other options fail, generate synthetic schemas
8cd8b04 Document all fields of GenerateParams
20e4fda Refactor Generate to use GenerateParams for invocations
6b5e3b9 Save path parameter names along with compiled routes
7159fd3 Organize server and server_test
18cd19d Make Example non-exported + organize into sections
98af8c7 Cordon off parts of the test file and organize it

stripe-mock - v0.12.0

Published by brandur-stripe over 6 years ago

Changelog

df0bd98 Remind releaser to pull tags before trying to create a new one
65ff199 Merge pull request #59 from stripe/brandur-reflect-id
b42b8bc Reflect an object's primary ID from a path back in the response

stripe-mock - v0.11.2

Published by brandur-stripe over 6 years ago

Changelog

d58d54d Merge pull request #58 from stripe/brandur-fix-homepage-link
9601763 Fix link to stripe-mock homepage

stripe-mock - v0.11.1

Published by brandur-stripe over 6 years ago

Changelog

2dd16c0 Merge pull request #57 from stripe/brandur-update-openapi-fixtures
fdd89a3 Update OpenAPI

stripe-mock - v0.11.0

Published by brandur-stripe over 6 years ago

Changelog

1688e95 Merge pull request #53 from stripe/brandur-listen-port
16b2ab7 Fall back to the PORT environmental variable


Automated with GoReleaser
Built with go version go1.9.1 darwin/amd64

stripe-mock - v0.10.0

Published by brandur-stripe over 6 years ago

Changelog

3832107 Merge pull request #55 from stripe/brandur-update-openapi-3
d38bb65 Update bundled OpenAPI spec
07a7a9d Merge pull request #54 from stripe/brandur-send-path
8867753 Send valid path to generator while running test suite
1644ab8 Merge pull request #51 from stripe/brandur-leaner-docker
0aca127 Leaner Docker image through the use of multi-stage builds
f44ea80 Merge pull request #50 from stripe/brandur-docker-hub
0781111 Push Docker image to Docker Hub


Automated with GoReleaser
Built with go version go1.9.1 darwin/amd64