Tags: Lomquivol/stripe-cli
Tags
Introduce a beta `playback` command (stripe#486) `stripe playback` is a prototype feature for the Stripe CLI. It is still in beta. This project is inspired by the [VCR](https://github.com/vcr/vcr) approach to testing. This aims to make VCR-like testing for Stripe integrations easier and more accessible across our SDK languages, and provide a foundation for new Stripe-specific testing approaches in the future. The `stripe playback` command starts Stripe API proxy server on your local machine. By pointing your API calls to this server when running tests, users can record all of their interactions with the Stripe API. These recordings are saved to a serialized format, and can be replayed on all subsequent runs of those same test. Playing back recordings yields faster, more consistent test suites, that don't need to talk to the `api.stripe.com`. This can be useful for CI environments. Since `playback` runs as a separate HTTP proxy server on your machine, rather than a native library like VCR, it's harder to do configuration from inside tests. As part of our work, we're looking into ways to make this easier, such as providing wrapper packages for each SDK language. More info on the current functionality is in `pkg/playback/README.md`.
Don't use animated spinner for non-terminal Writers (stripe#479)
Add `--print-secret` flag to listen subcommand (stripe#478) * Add `--print-secret` flag to listen subcommand
Add checkout async payment failed webhook (stripe#454) * Add new failed hook * Add payment failed webhook * add json fixture * Update pkg/fixtures/triggers.go Co-authored-by: richardm-stripe <[email protected]> * bump pr * bump pr * bump pr * bump pr Co-authored-by: richardm-stripe <[email protected]>
PreviousNext