Loading tutorials
services key. It covers one question: what hostname and port should your tests use to reach the service?3 min readservices key. Here you decide when a service needs a ports entry, and how your tests find the port.2 min readservices: already declared and know what a Docker HEALTHCHECK is. It covers why a started container is not always a usable one, and how to make the job wait.3 min readservices key declares a container, how host and port differ between a runner job a2 min readservices block, and run integration tests against PostgreSQL or Redis. It builds on health checks and connection settings from earlier chapters.3 min readservices block and know how GitHub Actions secrets work. Public images such as postgres:16 need no login. If your service image lives in a private registry, the runner has to authenticate before it can pull the image.3 min readservices key. Service containers are convenient, but they have fixed boundaries. Knowing them early saves you from designing a test set4 min readservices block, know the difference between a job on the runner and a job in a container, and have used health checks. It covers how to find out why a service failed and how to fix the usual causes.2 min readservices block, know how a runner job differs from a container job, and have run integration tests against a database. Service containers cover many cases. Some cases they handle poorly, and this chapter helps you spot them.3 min read