C
C#3mo ago
oussama

Integration testing with testcontainers and cosmosdb

I'm trying to implement integration tests using testcontainers library, my app uses cosmosdb through cosmosdb client ( not using a orm ), does any one have an example implimentation, almost all the examples I'm encountring are for postgres and using entityframework, the documentation isn't that helpful for cosmosdb.
2 Replies
Saber
Saber3mo ago
Are you expecting there to be examples of using testcontainers for your specific usecase? Should be pretty simple to find out how to use the cosmos emulator with docker and from there doing it with test containers should be straight forward
oussama
oussama3mo ago
I'm a noob, so i had hard time figuring it out