{"id":17241739,"url":"https://github.com/j256/eclemma-failure","last_synced_at":"2025-03-26T03:20:41.375Z","repository":{"id":66770272,"uuid":"326479252","full_name":"j256/eclemma-failure","owner":"j256","description":"Small test program that demonstrates a strange issue with Junit, Easymock, Commons Logging, and EclEmma/Jacoco.","archived":false,"fork":false,"pushed_at":"2021-01-05T16:04:45.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T01:11:54.292Z","etag":null,"topics":["commons-logging","eclipse","emma","junit"],"latest_commit_sha":null,"homepage":"https://stackoverflow.com/questions/65511268/getting-a-no-coverage-data-has-been-collected-message-using-eclemma-and-eclips","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/j256.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"j256","patreon":"j256"}},"created_at":"2021-01-03T18:55:54.000Z","updated_at":"2021-01-05T16:04:47.000Z","dependencies_parsed_at":"2023-02-23T17:45:14.953Z","dependency_job_id":null,"html_url":"https://github.com/j256/eclemma-failure","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/j256%2Feclemma-failure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j256%2Feclemma-failure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j256%2Feclemma-failure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j256%2Feclemma-failure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j256","download_url":"https://codeload.github.com/j256/eclemma-failure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245580318,"owners_count":20638774,"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":["commons-logging","eclipse","emma","junit"],"created_at":"2024-10-15T06:11:06.570Z","updated_at":"2025-03-26T03:20:41.356Z","avatar_url":"https://github.com/j256.png","language":"Java","funding_links":["https://github.com/sponsors/j256","https://patreon.com/j256"],"categories":[],"sub_categories":[],"readme":"This project demonstrates a strange issue with Junit, Commons Logging, and EclEmma/Jacoco.  EclEmma is a\n(usually awesome) coverage tool that runs under eclipse and maven via jacoco plugin. \n\nSee:\n\thttps://stackoverflow.com/questions/65511268/getting-a-no-coverage-data-has-been-collected-using-emma-and-eclipse\n\nWhen I run junit tests with EclEmma coverage I get the following error:\n\n\tNo coverage data has been collected during this coverage Session.\n\tPlease do not terminate the Java process manually from Eclipse.\n\nIf you do any of the following the problem goes away:\n\n* Comment out the `LogFactory.getLog(getClass())` call.\n* Remove the junit `@Test` timeout field.\n* Downgrade Junit from 4.13.1 to 4.12.\n\n# Running the Tests Using Maven\n\nRunning `mvn clean test` should run junit and then cause jacoco to produce coverage information in\n`target/site/jacoco`.  If the `createMock(...)` line is commented out then it should show `Foo` has 100% coverage.  If\nif it is not commented then it should show `Foo` as completely uncovered although the \"hello\" message is emitted.\n\n# Dependencies\n\n* Eclemma 3.1.3 or jacoco-maven-plugin 0.8.6\n* apache commons-logging version 1.2\n* junit version 4.13.1 (4.12 doesn't exhibit this issue)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj256%2Feclemma-failure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj256%2Feclemma-failure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj256%2Feclemma-failure/lists"}