{"id":21987630,"url":"https://github.com/fmarot/test-categories","last_synced_at":"2026-04-28T23:08:02.318Z","repository":{"id":57727481,"uuid":"44594242","full_name":"fmarot/test-categories","owner":"fmarot","description":"Some basic marker interface to be used as junit categories. As JUnit does not embed some by default, a multi-module Maven project has to have categories defined outside (or you face \"Unable to load category\" errors or recursive errors in case the categories are part of the build)","archived":false,"fork":false,"pushed_at":"2017-02-06T23:43:32.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T13:15:24.202Z","etag":null,"topics":["junit","maven","testing","tests"],"latest_commit_sha":null,"homepage":"","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/fmarot.png","metadata":{"files":{"readme":"README.adoc","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":"2015-10-20T08:58:47.000Z","updated_at":"2017-02-06T14:47:38.000Z","dependencies_parsed_at":"2022-09-16T15:30:49.723Z","dependency_job_id":null,"html_url":"https://github.com/fmarot/test-categories","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/fmarot/test-categories","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmarot%2Ftest-categories","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmarot%2Ftest-categories/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmarot%2Ftest-categories/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmarot%2Ftest-categories/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fmarot","download_url":"https://codeload.github.com/fmarot/test-categories/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmarot%2Ftest-categories/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32402778,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"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":["junit","maven","testing","tests"],"created_at":"2024-11-29T19:12:57.299Z","updated_at":"2026-04-28T23:08:02.289Z","avatar_url":"https://github.com/fmarot.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":":toc: macro\n\nimage:https://maven-badges.herokuapp.com/maven-central/com.teamtter.test/test-categories/badge.svg[\"Maven Central\", link=\"http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.teamtter.test%22\"]\n\ntoc::[]\n\n= test-categories\n\n \n\n== What's this ?\n\nMore info on how to use Maven and JUnit Categories here: http://stackoverflow.com/a/18297553/259988\n\n== How to use\n\n=== Maven dependency\n\nThis lib is available from Maven Central:\n\n[source,xml]\n-------------------------------------------\n\t\u003cdependency\u003e\n\t\t\u003cgroupId\u003ecom.teamtter.test\u003c/groupId\u003e\n\t\t\u003cartifactId\u003etest-categories\u003c/artifactId\u003e\n\t\t\u003cversion\u003e0.0.4\u003c/version\u003e\n\t\u003c/dependency\u003e\n-------------------------------------------\n\n=== Surefire configuration\n\nYou may configure your pom as demonstrated below.\nThis allows you to have GUI tests executed on your Continuous Integration (Jenkins ?) but not on the command line by default.\n* GUI tests have to be annotated with the JUnit @Category annotation: @Test @Category(com.teamtter.test.categories.GuiTest.class)\n* On your CI, add -DexcludeGUITests=com.teamtter.test.categories.None so that GUI tests are not excluded.\n\n[source,xml]\n-------------------------------------------\n\t\u003cproperties\u003e\n\t\t\u003cexcludeGUITests\u003ecom.teamtter.test.categories.GuiTest\u003c/excludeGUITests\u003e    \u003c!-- for Jenkins, use -DexcludeGUITests=com.teamtter.test.categories.None to have GUI tests executed --\u003e\n\t\u003c/properties\u003e\n\n\t\u003cplugin\u003e\n\t\t\u003cgroupId\u003eorg.apache.maven.plugins\u003c/groupId\u003e\n\t\t\u003cartifactId\u003emaven-surefire-plugin\u003c/artifactId\u003e\n\t\t\u003cversion\u003e2.19.1\u003c/version\u003e\n\t\t\u003cconfiguration\u003e\n\t\t\t\u003cexcludedGroups\u003e${excludeGUITests}\u003c/excludedGroups\u003e\n\t\t\u003c/configuration\u003e\n\t\u003c/plugin\u003e\n-------------------------------------------","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmarot%2Ftest-categories","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffmarot%2Ftest-categories","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmarot%2Ftest-categories/lists"}