Integration Testing ASP.NET Core Web APIs with Docker - Dan Clarke

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I think we need a microscope to see your presentation.

facebundy
Автор

Can you please clarify a bit. I assume that you will run your integration tests somewhere in your CI, right. How would the CI specify the configuration for the integration testing? Is it usually done via env varilables? In production, do people usually have docker-compose in ther CI tool as well, or do they create some database instance which is a bit more real to production?

And in case you know, can we also write integration tests for queue events (for message-broker, e.g, RMQ)? Does anyone know good resource on that? Thanks!

expeditiontoabyss
Автор

Nice talk! I feel integration test for APIs (specifically using a real sql server running in docker) does not get the spotlight it deserves. Seeing these direct assertions from the test project on the database using dapper now, it seems like the way to go.

ehvlullo
Автор

yeah nice talk, but your APi it's not even inside the docker

jacekbialek