#Call me 1000 pips

1 messages · Page 1 of 1 (latest)

vale warrenBOT
simple summit
#

Hi there

#

The general advice is to use Stripe mock. That is what it is designed for. Otherwise, you essentially need to write your own tests here. There isn't really another way to go about it.

mossy elbow
#

@simple summit thanks for the quick reply, since there isn't statefulness however, how am i supposed to handle situations where I perhaps I populate a bunch of customers with subscriptions and test behaviour. Since those customers wont be accessible after the request is made to subsequent retrieve requests etc

#

@simple summit especially webhooks

simple summit
#

Right, that is the limitation of Stripe Mock. So, if you did want to test with statefulness then you would need to write some scripts for these tests

mossy elbow
#

Any resources or examples you could point me towards?

simple summit
#

Not really, sorry... this is all going to be specific to your own integration and how it is built.

mossy elbow
#

@simple summit hmm is there an ETA for statefulness update to stripe-mock?

simple summit
#

No ETA that I'm aware of 😦