#Deirys - Terminal SDK

1 messages ยท Page 1 of 1 (latest)

tight rivet
#

Hi ๐Ÿ‘‹
Unfortunately I don't think Terminal SDK plays nicely with CI and automated integration testing. All the testing I've done with it has been manual

sonic sentinel
#

Hi ! Yes this is what I am seeing right now. I thought I could mock few classes or using some sort of proxy to return mocked data. But for some point it requires real valid data or tokens. Therefore the test become useless and then manual testing is mandatory

#

but I was hoping that Stripe Team might have done some integration tests on their end for their SDK so I can have some tips ๐Ÿ™‚

tight rivet
#

Unless you were to write internal Android classes that mocked everything including Stripe API request/response objects I think you'd still run into problems. That approach could be useful to test purely internal business logic but it wouldn't validate interactions with Stripe, obviously