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.2.0

Published by brandur-stripe about 7 years ago

Changelog

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

stripe-mock - v0.1.23

Published by brandur-stripe about 7 years ago

Changelog

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

stripe-mock - v0.1.22

Published by brandur-stripe about 7 years ago

Changelog

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

stripe-mock - v0.1.21

Published by brandur-stripe about 7 years ago

Changelog

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

stripe-mock - v0.1.20

Published by brandur-stripe about 7 years ago

Changelog

99133db Update bindata to include new OpenAPI spec


Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64

stripe-mock - v0.1.19

Published by brandur-stripe about 7 years ago

Changelog

127db47 Update OpenAPI to include legacy recipients APIs


Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64

stripe-mock - v0.1.18

Published by brandur-stripe about 7 years ago

Changelog

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

stripe-mock - v0.1.17

Published by brandur-stripe about 7 years ago

Changelog

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

stripe-mock - v0.1.16

Published by brandur-stripe about 7 years ago

Changelog

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

stripe-mock - v0.1.15

Published by brandur-stripe about 7 years ago

Changelog

02f5248 Update OpenAPI and fixtures


Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64

stripe-mock - v0.1.14

Published by brandur-stripe about 7 years ago

Changelog

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

stripe-mock - v0.1.13

Published by brandur-stripe about 7 years ago

Changelog

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

stripe-mock - v0.1.12

Published by brandur-stripe about 7 years ago

Changelog

f7716dd Change all ownership and references to "stripe"
90f7c03 Merge pull request #7 from brandur/validate-auth
918594e Validate authorization


Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64

stripe-mock - v0.1.11

Published by brandur about 7 years ago

Changelog

1c725bc Merge pull request #6 from brandur/rename
791b524 Rename "stripelocal" to "stripe-mock"


Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64

stripe-mock - v0.1.10

Published by brandur about 7 years ago

Changelog

0c2387f Merge pull request #5 from brandur/port
1addfcc Remove port from README
40f5327 Change default port to 12111
fe5f212 Merge pull request #4 from brandur/stripelocal-version
dad9562 Set special Stripelocal-Version response header
2eccb9f Better instructions on OpenAPI
66b1687 Mention ldflags so this process isn't a total mystery
b8171ba Add instructions for starting stripelocal service
6b2e083 Move test helper to the bottom of the file
c1880c4 Fix expected regex in failing test


Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64

stripe-mock - v0.1.9

Published by brandur about 7 years ago

Changelog

a5d7e58 Add CLI option to show version
4a3db93 Support a new other non-alphanumeric characters in path parameters
526206d Try to improve clarity around installation in README


Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64

stripe-mock - v0.1.8

Published by brandur over 7 years ago

Changelog

983563f Rename to "stripelocal"
d8976f5 Add Homebrew information


Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64

stripe-mock - v0.1.7

Published by brandur over 7 years ago

Changelog

7b84450 Try two explicitly separate string arguments


Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64

stripe-mock - v0.1.6

Published by brandur over 7 years ago

Changelog

23da6b3 Add Homebrew tap


Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64

stripe-mock - v0.1.5

Published by brandur over 7 years ago

Changelog

ef4fa1a Merge pull request #3 from brandur/parameter-validation
9738f13 Validate request parameters
b345f7d Get expansions fully functional


Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64