你们如何使用 Stripe 订阅创建测试用户以使用 PHPUnit 进行测试?最好不要碰到 Stripe API。任何包装提示或一般建议将不胜感激!
问问题
895 次
1 回答
1
Test them as everything else:
- Create mocks of their API.
- There is an example of testing API Client TDD with Mocked Responses.
- You can even discover how does Stripe test itself
于 2016-03-16T18:16:25.157 回答