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 visible (Hide)
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
Published by brandur-stripe about 7 years ago
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
Published by brandur about 7 years ago
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
Published by brandur about 7 years ago
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
Published by brandur about 7 years ago
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
Published by brandur over 7 years ago
983563f Rename to "stripelocal"
d8976f5 Add Homebrew information
Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64
Published by brandur over 7 years ago
7b84450 Try two explicitly separate string arguments
Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64
Published by brandur over 7 years ago
23da6b3 Add Homebrew tap
Automated with @goreleaser
Built with go version go1.8.3 darwin/amd64
Published by brandur over 7 years ago
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