{"id":20332651,"url":"https://github.com/knowledgefactory4u/spring-boot-test-examples","last_synced_at":"2025-04-11T21:33:01.321Z","repository":{"id":206507432,"uuid":"717078889","full_name":"knowledgefactory4u/spring-boot-test-examples","owner":"knowledgefactory4u","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-13T18:32:43.000Z","size":106,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T17:23:32.716Z","etag":null,"topics":["integrationtesting","junit5","spring-boot","springboot3-x","testslices"],"latest_commit_sha":null,"homepage":"https://www.knowledgefactory.net/p/spring-boot-test.html","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knowledgefactory4u.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-10T14:07:26.000Z","updated_at":"2024-07-13T18:32:47.000Z","dependencies_parsed_at":"2023-11-10T15:29:00.277Z","dependency_job_id":"f70b1839-07b0-4f9c-a76d-8010f0f83dfc","html_url":"https://github.com/knowledgefactory4u/spring-boot-test-examples","commit_stats":null,"previous_names":["knowledgefactory4u/spring-boot-test-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowledgefactory4u%2Fspring-boot-test-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowledgefactory4u%2Fspring-boot-test-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowledgefactory4u%2Fspring-boot-test-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowledgefactory4u%2Fspring-boot-test-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knowledgefactory4u","download_url":"https://codeload.github.com/knowledgefactory4u/spring-boot-test-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248482981,"owners_count":21111409,"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":["integrationtesting","junit5","spring-boot","springboot3-x","testslices"],"created_at":"2024-11-14T20:27:41.765Z","updated_at":"2025-04-11T21:33:01.294Z","avatar_url":"https://github.com/knowledgefactory4u.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot Testing examples\n\n# 1. @RestClientTest\n\u003ca href=\"https://www.knowledgefactory.net/2023/11/testing-rest-clients-with-restclienttest.html\"\u003eTesting REST Clients With @RestClientTest \u003c/a\u003e\n\n\n# 2. @JsonTest\n\u003ca href=\"https://www.knowledgefactory.net/2023/11/spring-boot-testing-json-serialization-and-deserialization-jsontest-example.html\"\u003eTesting JSON Serialization and Deserialization With @JsonTest \u003c/a\u003e\n\n\n# 3. @WebFluxTest\n\u003ca href=\"https://www.knowledgefactory.net/2023/11/testing-spring-webflux-controller-with-webfluxtest.html\"\u003eTesting Spring WebFlux Controller with @WebFluxTest \u003c/a\u003e\n\n\n# 4. @WebMvcTest\n\u003ca href=\"https://www.knowledgefactory.net/2023/11/testing-spring-web-controller-with-webmvctest-example.html\"\u003eTesting Spring Web Controller with @WebMvcTest\u003c/a\u003e\n\n# 5. @DataJpaTest\n\u003ca href=\"https://www.knowledgefactory.net/2023/11/testing-a-jpa-application-with-datajpatest.html\"\u003eTesting a JPA application With @DataJpaTest\u003c/a\u003e\n\n# 6. @DataJdbcTest \n\u003ca href=\"https://www.knowledgefactory.net/2023/11/testing-spring-data-jdbc-application-with-datajdbctest.html\"\u003eTesting Spring Data JDBC application with @DataJdbcTest \u003c/a\u003e\n\n# 7. @JdbcTest \n\u003ca href=\"https://www.knowledgefactory.net/2023/11/testing-jdbc-components-with-jdbctest.html\"\u003eTesting JDBC components with @JdbcTest \u003c/a\u003e\n\n# 8. @DataMongoTest  \n\u003ca href=\"https://www.knowledgefactory.net/2023/11/testing-a-mongodb-application-with-datamongotest.html\"\u003eTesting a MongoDB application with @DataMongoTest  \u003c/a\u003e\n\n# 9. Integration Testing with Testcontainers \n\u003ca href=\"https://github.com/knowledgefactory4u/spring-boot-test-examples/tree/main/spring-boot-postgresql-testcontainers-example\"\u003eSpring Boot 3 + PostgreSQL - Integration Testing with Testcontainers - Example\u003c/a\u003e\n\n# 10. Testing a JPA application with @DataJpaTest and Testcontainers \n\u003ca href=\"https://www.knowledgefactory.net/2023/11/testing-a-jpa-application-with-datajpatest-and-testcontainers.html\"\u003eTesting a JPA application with @DataJpaTest and Testcontainers\u003c/a\u003e\n\n# 11. Spring Boot MongoDB - Integration Testing with Testcontainers \n\u003ca href=\"https://github.com/knowledgefactory4u/spring-boot-test-examples/tree/main/spring-mongodb-testcontainers-integration-testing\"\u003eSpring Boot MongoDB - Integration Testing with Testcontainers\u003c/a\u003e\n\n# 12. Testing a Data MongoDB application with Testcontainers and @DataMongoTest\n\u003ca href=\"https://github.com/knowledgefactory4u/spring-boot-test-examples/tree/main/datamongotest-testcontainers-testing-example\"\u003eSpring Boot - Testing a Data MongoDB application with Testcontainers and @DataMongoTest\u003c/a\u003e\n\n# Local setup\n\nStep 1: Download or clone the source code from GitHub to the local machine\n\nStep 2:  ```mvn clean install```\n\nStep 3:  ```mvn test```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowledgefactory4u%2Fspring-boot-test-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknowledgefactory4u%2Fspring-boot-test-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowledgefactory4u%2Fspring-boot-test-examples/lists"}