openfoodnetwork icon indicating copy to clipboard operation
openfoodnetwork copied to clipboard

Automate testing of dummy Stripe cards

Open filipefurtad0 opened this issue 4 years ago • 1 comments

What we should change and why (this is tech debt)

Having automated tests with different Stripe cards and scenarios on the CI build could potentially save time and increase test accuracy.

Context

Opening this issue to follow-up on a suggestion from @Matt-Yorkley -> Thanks :-)

There are plenty of different Stripe cards: https://stripe.com/docs/testing#cards

Aside from the long list with country specific cards, there are several which originate particular errors. An idea would be to understand if and how to automate the testing procedure with as many cards and test cases as possible, thus covering more scenarios while avoiding manual testing.

Impact and timeline

filipefurtad0 avatar Mar 18 '20 14:03 filipefurtad0

this is related to #4639

luisramos0 avatar Apr 13 '20 18:04 luisramos0