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

stripe-mock - v0.1.4

Published by brandur over 7 years ago

Changelog

f36de1d Run Gofmt
ed7c888 Reuse existing data if found in fixture


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

stripe-mock - v0.1.3

Published by brandur over 7 years ago

Changelog

d3b8774 Fix some linting problems
72c4df8 Reorganize functions in files
60356cd Support wildcard expansions
7f478f5 Properly error on supported expansions
e7b8e14 Fix expansions to be nested under oneOf
0bdbfc5 Implement basic expansions
754b9fd Add ExpansionLevel construct to prepare for expansions
7877319 Move types to support OpenAPI to their own file
8d2c421 Move StubServer to its own file
9b192eb Remove countAPIMethods which is no longer used


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

stripe-mock - v0.1.2

Published by brandur over 7 years ago

Changelog

081e686 Don't bother annotating tags + deobfuscate instructions
dfc785e Reuse list data from fixtures where possible
0fc3983 Better response reporting
9d09ab9 Return empty object if we don't have a fixture
3a0fc9f Move to a fully typed JSON schema system
75bd26b Rebuild generator to be more generic + support nested lists
fddb77e Refactor data generator to a separate file
5e92c3e README improvements
9743356 Add section on cutting new releases
319f2bf Ignore dist/ directory


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

stripe-mock - v0.1.1

Published by brandur over 7 years ago

Changelog

01f67e5 Add goreleaser.yml
7afeca7 Ignore .env files


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