{"id":22309680,"url":"https://github.com/nesoy/junit5-example","last_synced_at":"2025-06-16T07:41:02.301Z","repository":{"id":108936262,"uuid":"218918694","full_name":"NESOY/junit5-example","owner":"NESOY","description":"🧪 Introducing JUnit5 ","archived":false,"fork":false,"pushed_at":"2020-07-22T09:04:01.000Z","size":396,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T01:44:17.416Z","etag":null,"topics":["example","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/NESOY.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}},"created_at":"2019-11-01T05:25:54.000Z","updated_at":"2020-11-04T09:41:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed8b3e2d-cc71-4073-be84-b8f5b48be082","html_url":"https://github.com/NESOY/junit5-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NESOY/junit5-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NESOY%2Fjunit5-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NESOY%2Fjunit5-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NESOY%2Fjunit5-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NESOY%2Fjunit5-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NESOY","download_url":"https://codeload.github.com/NESOY/junit5-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NESOY%2Fjunit5-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260120202,"owners_count":22961680,"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":["example","testing"],"created_at":"2024-12-03T20:44:13.521Z","updated_at":"2025-06-16T07:41:02.282Z","avatar_url":"https://github.com/NESOY.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## JUnit5 Tutorial\n\n## Requirements\n- Java8\n\n## [Architecture](https://github.com/junit-team/junit5-workshop/blob/master/slides/05_modularization/modularization.md)\n- Platform\n    - 테스트를 실행해주는 런처 제공. TestEngine API 제공.\n    - Maven / Gradle Plugins, JUnit4 Runner\n- Jupiter\n    - JUnit 5를 지원하는 TestEngine API 구현체\n- Vintage \n    - JUnit 4와 3을 지원하는 TestEngine API 구현체\n\n## [Index](https://github.com/NESOY/junit5-example/tree/master/src/test/java)\n- [Standard](https://github.com/NESOY/junit5-example/tree/master/src/test/java/standard)\n- [Assertions](https://github.com/NESOY/junit5-example/tree/master/src/test/java/assertions)\n- [assumptions](https://github.com/NESOY/junit5-example/tree/master/src/test/java/assumptions)\n- [meta](https://github.com/NESOY/junit5-example/tree/master/src/test/java/meta)\n- [disabled](https://github.com/NESOY/junit5-example/tree/master/src/test/java/disabled)\n- [displayname](https://github.com/NESOY/junit5-example/tree/master/src/test/java/displayname)\n- [timeout](https://github.com/NESOY/junit5-example/tree/master/src/test/java/timeout)\n- [order](https://github.com/NESOY/junit5-example/tree/master/src/test/java/order)\n- [repeat](https://github.com/NESOY/junit5-example/tree/master/src/test/java/repeat)\n- [test_info](https://github.com/NESOY/junit5-example/tree/master/src/test/java/test_info)\n- [test_interface](https://github.com/NESOY/junit5-example/tree/master/src/test/java/test_interface)\n- [parameterized](https://github.com/NESOY/junit5-example/tree/master/src/test/java/parameterized)\n- [conditional](https://github.com/NESOY/junit5-example/tree/master/src/test/java/conditional)\n- [extension_model](https://github.com/NESOY/junit5-example/tree/master/src/test/java/extension_model)\n- [dynamic_test](https://github.com/NESOY/junit5-example/tree/master/src/test/java/dynamic_test)\n- [parallel](https://github.com/NESOY/junit5-example/tree/master/src/test/java/parallel)\n\n## JUnit4 Migration Guide\n\u003e JUnit 4 \u0026 JUnit 5 동시에 할 수 없을까?\n- [Migration Sample](https://github.com/junit-team/junit5-samples#migration-samples)\n\n#### [Maven](https://github.com/junit-team/junit5-samples/blob/master/junit5-migration-maven)\n```xml\n\u003cdependencies\u003e\n        \u003c!--  JUnit5  --\u003e\n        \u003cdependency\u003e\n\t\t\t\u003cgroupId\u003eorg.junit.jupiter\u003c/groupId\u003e\n\t\t\t\u003cartifactId\u003ejunit-jupiter-api\u003c/artifactId\u003e\n\t\t\t\u003cversion\u003e${junit.jupiter.version}\u003c/version\u003e\n\t\t\t\u003cscope\u003etest\u003c/scope\u003e\n\t\t\u003c/dependency\u003e\n        \u003cdependency\u003e\n\t\t\t\u003cgroupId\u003eorg.junit.jupiter\u003c/groupId\u003e\n\t\t\t\u003cartifactId\u003ejunit-jupiter-engine\u003c/artifactId\u003e\n\t\t\t\u003cversion\u003e${junit.jupiter.version}\u003c/version\u003e\n\t\t\t\u003cscope\u003etest\u003c/scope\u003e\n\t\t\u003c/dependency\u003e\n        \u003c!--  JUnit4  --\u003e\n\t\t\u003cdependency\u003e\n\t\t\t\u003cgroupId\u003ejunit\u003c/groupId\u003e\n\t\t\t\u003cartifactId\u003ejunit\u003c/artifactId\u003e\n\t\t\t\u003cversion\u003e${junit.version}\u003c/version\u003e\n\t\t\t\u003cscope\u003etest\u003c/scope\u003e\n\t\t\u003c/dependency\u003e\n        \u003cdependency\u003e\n\t\t\t\u003cgroupId\u003eorg.junit.vintage\u003c/groupId\u003e\n\t\t\t\u003cartifactId\u003ejunit-vintage-engine\u003c/artifactId\u003e\n\t\t\t\u003cversion\u003e${junit.vintage.version}\u003c/version\u003e\n\t\t\t\u003cscope\u003etest\u003c/scope\u003e\n\t\t\u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n#### [Gradle](https://github.com/junit-team/junit5-samples/tree/master/junit5-migration-gradle)\n```gradle\ndependencies {\n    // JUnit 5\n    testImplementation('org.junit.jupiter:junit-jupiter:5.5.2')\n    testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.5.2'\n\n    // JUnit 4\n    testImplementation(\"junit:junit:4.12\")\n    testRuntimeOnly \"org.junit.vintage:junit-vintage-engine:5.5.2\"\n}\n```\n\n## JUnit5 Testing in IDE \n- [Intellij](https://blog.jetbrains.com/idea/2016/08/using-junit-5-in-intellij-idea/)\n- [vscode](https://code.visualstudio.com/docs/java/java-testing)\n\n### Reference\n- \u003chttps://junit.org/junit5/docs/current/user-guide/\u003e\n- [assertThat Dependency 없음(Hamcrest, AssertJ)](https://github.com/junit-team/junit5/issues/147)\n- [Support JUnit 5 in SpringBoot Version 2.2](https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.2-Release-Notes#junit-5)\n- [JUnit5 in Spring - Eddy Kim님](https://brunch.co.kr/@springboot/77)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnesoy%2Fjunit5-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnesoy%2Fjunit5-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnesoy%2Fjunit5-example/lists"}