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 visible (Hide)

stripe-mock - v0.32.0

Published by daz-stripe about 6 years ago

Changelog

0010ea8 Merge pull request #113 from stripe/update-openapi
f203d97 Update the OpenAPI specification and bundled data

stripe-mock - v0.31.0

Published by tomer-stripe about 6 years ago

Changelog

17b7132 Merge pull request #112 from stripe/ignore-stripe-resource
6a9e41d Simplify usage instructions
6a0cb39 Add x-stripeResource to supportedSchemaFields
95b1c5a Fix deploy condition (branch and tags are not compatible)

stripe-mock - v0.30.0

Published by brandur-stripe about 6 years ago

Changelog

f92b44d Merge pull request #109 from stripe/brandur-openapi-aug-30
1851e18 Merge pull request #108 from stripe/brandur-query-parameters
f102a30 Update OpenAPI
c114efa Use customer delete instead of charge (charges cannot be deleted)
09826da Add support for query parameters on GET endpoints
f0e7f0f Merge pull request #106 from stripe/brandur-no-https-on-port
4a31f81 Don't start HTTPS with -port option specified

stripe-mock - v0.29.0

Published by brandur-stripe about 6 years ago

Changelog

d7f1962 Merge pull request #105 from stripe/brandur-openapi-aug-27
f94868c Update bundled OpenAPI
50cc85c Merge pull request #104 from stripe/brandur-improve-test-setup
6f4fe70 Improve test setup

stripe-mock - v0.28.0

Published by brandur-stripe about 6 years ago

Changelog

3515306 Merge pull request #102 from stripe/brandur-https-default
eb4ca0d Add some testing for startup behavior
e7ef87b Listen for both HTTP and HTTPS if no args given

stripe-mock - v0.27.0

Published by brandur-stripe about 6 years ago

Changelog

5a52099 Merge pull request #100 from stripe/brandur-query
92b2ebf Merge pull request #101 from stripe/brandur-update-openapi-789
8421261 Update OpenAPI
0c6a61c Parse form values from the query string even for non-GET requests

stripe-mock - v0.26.0

Published by brandur-stripe about 6 years ago

Changelog

e67c9a5 Merge pull request #99 from stripe/brandur-update-openapi-08-20
fa6a937 Update OpenAPI
b89e9aa It might be a bit much to say "very slow"
5490387 "Object" should be "bank account" for better clarity

stripe-mock - v0.25.2

Published by brandur-stripe about 6 years ago

Changelog

bc95f11 Merge pull request #98 from stripe/brandur-fix-primitive-type-coercion
0f00079 Fix test to match naming + less aggressive parameter coercion

stripe-mock - v0.25.1

Published by brandur-stripe about 6 years ago

Changelog

4960268 Merge pull request #97 from stripe/brandur-coerce-object-in-any-of
d2f6142 Coerce values within an object within an anyOf
36574a9 Merge pull request #96 from Tenzer/patch-1
61d5ca1 Fix port number specification for Docker command in README

stripe-mock - v0.25.0

Published by brandur-stripe about 6 years ago

Changelog

ec68070 Merge pull request #94 from stripe/update-openapi
9e5be07 Update the OpenAPI specification and bundled data

stripe-mock - v0.24.1

Published by brandur-stripe about 6 years ago

Changelog

a38b9da Merge pull request #93 from stripe/brandur-no-data-replacement-on-non-post
04a8fff Don't replace data on non-POST endpoints

stripe-mock - v0.24.0

Published by brandur-stripe about 6 years ago

Changelog

443c3b6 Merge pull request #92 from stripe/brandur-scheduled-query-runs
2f625ca Update OpenAPI (to get scheduled query runs)

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