C
C#2mo ago
Becquerel

What's the basic approach for CI/CD integration tests in Azure DevOps?

I'm looking into this stuff for the first time and want general guidance on reasonable approaches. Context: - Large solution with some old janky integration tests that never get run. - We're in the middle of moving to DevOps. - The integration tests expect a SQL Server instance. I have toyed around with Testcontainers. It seems potentially great if somewhat tough to setup properly. This is what I am leaning towards at the moment. The other approach that comes to mind is provisioning a database from Azure at the start of a test run and then dropping it when we're done. This is less appealing to me because tests have to keep the playing field clean. How do you approach this? I'm not looking for a detailed guide (though feel free to give one if you're in the mood), just the high-level view on what approaches are viable and which are dead-ends.
4 Replies
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Becquerel
Becquerel2mo ago
OK, cool. is it hard to get working properly?
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Becquerel
Becquerel2mo ago
sounds good whatever i get working can't be worse than the nothing we currently have :awesome: