{"id":34786373,"url":"https://github.com/deepaksorthiya/spring-boot-testing-web-complete","last_synced_at":"2026-05-08T09:35:06.604Z","repository":{"id":232735467,"uuid":"764211046","full_name":"deepaksorthiya/spring-boot-testing-web-complete","owner":"deepaksorthiya","description":"Spring Boot Web API unit and integration testing using junit mockito","archived":false,"fork":false,"pushed_at":"2026-04-23T18:34:27.000Z","size":57,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-28T16:42:16.769Z","etag":null,"topics":["spring","spring-boot","springboot","testing","webtesting"],"latest_commit_sha":null,"homepage":"https://github.com/deepaksorthiya/spring-boot-3-testing-web-complete","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/deepaksorthiya.png","metadata":{"files":{"readme":"README.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-02-27T17:15:48.000Z","updated_at":"2026-01-30T10:04:40.000Z","dependencies_parsed_at":"2025-02-27T19:54:20.679Z","dependency_job_id":"511ee1b1-3461-4194-ba8b-dcc6eef60a44","html_url":"https://github.com/deepaksorthiya/spring-boot-testing-web-complete","commit_stats":null,"previous_names":["deepaksorthiya/spring-boot-3-testing-web-complete"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deepaksorthiya/spring-boot-testing-web-complete","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepaksorthiya%2Fspring-boot-testing-web-complete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepaksorthiya%2Fspring-boot-testing-web-complete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepaksorthiya%2Fspring-boot-testing-web-complete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepaksorthiya%2Fspring-boot-testing-web-complete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepaksorthiya","download_url":"https://codeload.github.com/deepaksorthiya/spring-boot-testing-web-complete/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepaksorthiya%2Fspring-boot-testing-web-complete/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32775110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["spring","spring-boot","springboot","testing","webtesting"],"created_at":"2025-12-25T09:21:45.048Z","updated_at":"2026-05-08T09:35:06.570Z","avatar_url":"https://github.com/deepaksorthiya.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Java Maven Build Test](https://github.com/deepaksorthiya/spring-boot-testing-web-complete/actions/workflows/maven-build.yml/badge.svg)](https://github.com/deepaksorthiya/spring-boot-testing-web-complete/actions/workflows/maven-build.yml)\n\n---\n\n### ** Spring Boot Web Mvc Testing - Integration and Unit Tests **\n\n---\n\n# Getting Started\n\n## Requirements:\n\n```\nGit: 2.51+\nSpring Boot: 4.0.1\nMaven: 3.9+\nJava: 25\n```\n\n## Clone Github Repository\n\n```bash\ngit clone https://github.com/deepaksorthiya/spring-boot-testing-web-complete\ncd spring-boot-testing-web-complete\n```\n\n# Run Tests\n\n## Running only Unit Tests\n\n```bash\n./mvnw clean test\n```\n\n## Running Unit Tests and Integration Tests:\n\n```bash\n./mvnw clean verify\n```\n\n## Running Integration Tests but not Unit Test\n\n```bash\n./mvnw clean verify -DskipUnitTests=true\n```\n\n## Running Unit Tests but not Integration Tests:\n\n```bash\n./mvnw clean verify -DskipITs=true\n```\n\n## Skip Both Unit and Integration Test\n\n```bash\n./mvnw clean verify -DskipTests\n```\n\nOR\n\n```bash\n./mvnw clean verify -Dmaven.test.skip=true\n```\n\n# Other Ways\n\n## Running unit tests only (it uses maven surefire plugin)\n\n```bash\n./mvnw  compiler:testCompile resources:testResources  surefire:test\n```\n\n## Running integration tests only (it uses maven-failsafe-plugin)\n\n```bash\n./mvnw  compiler:testCompile resources:testResources  failsafe:integration-test\n```\n\n## Maven Plugins Docs\n\n* [Maven Surefire](https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#includes)\n* [Maven Failsafe](https://maven.apache.org/surefire/maven-failsafe-plugin/integration-test-mojo.html#includes)\n\n## Reference Documentation\n\nFor further reference, please consider the following sections:\n\n* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html)\n* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/maven-plugin)\n* [Create an OCI image](https://docs.spring.io/spring-boot/maven-plugin/build-image.html)\n* [Spring Boot Actuator](https://docs.spring.io/spring-boot/reference/actuator/index.html)\n* [Spring Web](https://docs.spring.io/spring-boot/reference/web/servlet.html)\n* [Spring Data JPA](https://docs.spring.io/spring-boot/reference/data/sql.html#data.sql.jpa-and-spring-data)\n* [Validation](https://docs.spring.io/spring-boot//io/validation.html)\n* [Flyway Migration](https://docs.spring.io/spring-boot/how-to/data-initialization.html#howto.data-initialization.migration-tool.flyway)\n\n## Guides\n\nThe following guides illustrate how to use some features concretely:\n\n* [Building a RESTful Web Service with Spring Boot Actuator](https://spring.io/guides/gs/actuator-service/)\n* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/)\n* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/)\n* [Building REST services with Spring](https://spring.io/guides/tutorials/rest/)\n* [Accessing Data with JPA](https://spring.io/guides/gs/accessing-data-jpa/)\n* [Validation](https://spring.io/guides/gs/validating-form-input/)\n* [Accessing data with MySQL](https://spring.io/guides/gs/accessing-data-mysql/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepaksorthiya%2Fspring-boot-testing-web-complete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepaksorthiya%2Fspring-boot-testing-web-complete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepaksorthiya%2Fspring-boot-testing-web-complete/lists"}