Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Development Tools: Integration Test Driven Java Dev in the Cloud with Codespaces and Testcontainers!
9Likes
279Views
2022May 12
Before Docker, configuring the environment for integration testing was painful. However, thanks to it, now we can quickly prepare the environment for our tests. And with Testcontainers, you get a popular OSS JVM testing library, that harnesses Docker to easily and reliably spin up test dependencies. But even Docker containers have to run somewhere. Often it is the developer's workstation, but what if you only have a lightweight ultrabook at your disposable? Or maybe your MacBook has an ARM-based M1 chip and you can't simply run some of the containers you need for your testing? So, why don't we try to move our Java development experience to the cloud? Thanks to cloud-based development environments, such as GitHub Codespaces, we are no longer bound by the shackles of our own local hardware. And maybe this even allows us to rethink the classic duality of unit vs integration testing? Java development and testing have never been this productive, sustainable, lightweight, and enjoyable! Resource: Blazing fast cloud developer environments: https://github.com/features/codespaces

Follow along using the transcript.

Microsoft Developer

588K subscribers