DigitalWallet icon indicating copy to clipboard operation
DigitalWallet copied to clipboard

Integration test example with API factory

Open EmirhanAksoy opened this issue 9 months ago • 0 comments

Hi there,

Integration test means end-to-end testing

So we should send HTTP requests to our endpoints for assertion

To make this easy we can create an API factory and we can use HttpClient with it.

Please check the example that I have created for "Create Currency With Invalid Ratio"

We can use test containers even in the future and instead of an in-memory database we can use actual MsSQL database

Thanks in advance

EmirhanAksoy avatar May 24 '24 20:05 EmirhanAksoy