{"id":18863603,"url":"https://github.com/neiljbrown/testcontainers-examples","last_synced_at":"2026-05-01T00:31:45.246Z","repository":{"id":89469415,"uuid":"308908071","full_name":"neiljbrown/testcontainers-examples","owner":"neiljbrown","description":"A collection of code examples that demonstrate using the Testcontainers Java library to aid writing integration tests for Java code that integrates with infrastructure such as RDBMS', message brokers, etc.","archived":false,"fork":false,"pushed_at":"2020-10-31T15:17:41.000Z","size":86,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-30T13:46:37.028Z","etag":null,"topics":["docker","testcontainers","testing"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neiljbrown.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-31T15:08:48.000Z","updated_at":"2023-08-30T15:45:08.000Z","dependencies_parsed_at":"2023-03-08T21:30:50.510Z","dependency_job_id":null,"html_url":"https://github.com/neiljbrown/testcontainers-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neiljbrown/testcontainers-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neiljbrown%2Ftestcontainers-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neiljbrown%2Ftestcontainers-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neiljbrown%2Ftestcontainers-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neiljbrown%2Ftestcontainers-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neiljbrown","download_url":"https://codeload.github.com/neiljbrown/testcontainers-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neiljbrown%2Ftestcontainers-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32481553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","testcontainers","testing"],"created_at":"2024-11-08T04:37:59.603Z","updated_at":"2026-05-01T00:31:45.209Z","avatar_url":"https://github.com/neiljbrown.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Testcontainers Examples\n:toc:\n:sectlinks:\n:sectnums:\n:sectnumlevels: 4\n:toclevels: 4\n\n== Purpose\nThis Git repo contains a collection of code examples that demonstrate using the\nhttps://www.testcontainers.org/[Testcontainers Java library] to aid the task of writing integration tests for Java code\nthat integrates with infrastructure such as RDBMS', message brokers, etc.\n\nTestcontainers simplifies the task of writing highly realistic, out-of-process integration tests by automating the\nlaunching of (Docker) containers containing real, production implementations of infrastructure, and synchronising the\nlifecycle (startup and shutdown) of these containers with the lifecycle (setup and tear-down) of JUnit tests.\n\nThe repo contains a number of folders each corresponding to a separate project containing its own collection\nof related code examples. The projects are listed and summarised below by folder name.\n\n== mysql-dao-integration-test\nThis folder contains a Java/Gradle project containing examples of how to use Testcontainers to support writing an\nintegration test between a Data Access Object (DAO) and a MySQL database. Testcontainers is used to launch a real,\nMySQL DB server in a container and create \u0026 initialise the application's database. These examples are implemented using\nJava alone, without any application framework (e.g. Spring) support, with a view to fully illustrating how an\napplication's test code integrates with the Testcontainers library, and the library's APIs. See the project's own\nREADME for more details.\n\nEnd.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneiljbrown%2Ftestcontainers-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneiljbrown%2Ftestcontainers-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneiljbrown%2Ftestcontainers-examples/lists"}