{"id":20644104,"url":"https://github.com/rdebusscher/testcontainers-demo","last_synced_at":"2025-03-09T14:33:56.968Z","repository":{"id":37342169,"uuid":"227365947","full_name":"rdebusscher/testcontainers-demo","owner":"rdebusscher","description":"Demo for the Testcontainers presentation","archived":false,"fork":false,"pushed_at":"2022-06-21T02:25:37.000Z","size":32,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T09:12:08.645Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rdebusscher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-11T12:54:58.000Z","updated_at":"2021-02-26T11:57:18.000Z","dependencies_parsed_at":"2022-09-12T22:31:51.681Z","dependency_job_id":null,"html_url":"https://github.com/rdebusscher/testcontainers-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdebusscher%2Ftestcontainers-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdebusscher%2Ftestcontainers-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdebusscher%2Ftestcontainers-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdebusscher%2Ftestcontainers-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rdebusscher","download_url":"https://codeload.github.com/rdebusscher/testcontainers-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242705600,"owners_count":20172325,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-16T16:14:56.282Z","updated_at":"2025-03-09T14:33:56.938Z","avatar_url":"https://github.com/rdebusscher.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Testcontainers demo\n\nThis repository contains the demos of for the Testcontainers presentation.\n\n### Requirement\n\nYou need to have a Docker client installation which points to a valid Docker Environment. For more information, have a look at [Testcontainers Docker prerequisite page](https://www.testcontainers.org/supported_docker_environment/).\n\n## demos\n\n### Plain\n\nThis example shows how you can test an application endpoint which reads from a database.\n\nSteps\n\n- Run `mvn clean package` to build the Docker Image with the test application.\n- Run the test method within `be.rubus.payara.testcontainers.plain.PersonResourceTest`.\n\n### MicroShed\n\nThis examples shows you the basic setup with MicroShed testing using the Payara Micro plugin.\n\nSteps\n\n- Run `mvn clean package` to build the Docker Image with the test application.\n- Run the test method within `be.rubus.payara.testcontainers.microshed.HelloWorldResourceIT`.\n- Run the test method within `be.rubus.payara.testcontainers.microshed.DataResourceIT`. (uses JSON mapping)\n\n### MicroServices\n\nThis examples shows you how you can test a micro-service (client) which depends on another micro-service (server)\n\nSteps\n\n- From within the `microservices/server`, run `mvn clean package` to build the Docker Image for this app.\n- From within the `microservices/client`, run `mvn clean package` to build the Docker Image for app under test.\n- Run the test method within `be.rubus.payara.client.testcontainers.IntegrationResourceIT`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdebusscher%2Ftestcontainers-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frdebusscher%2Ftestcontainers-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdebusscher%2Ftestcontainers-demo/lists"}