{"id":19232498,"url":"https://github.com/abogoyavlensky/eftest-coverage","last_synced_at":"2026-06-17T22:31:05.844Z","repository":{"id":56499086,"uuid":"299070723","full_name":"abogoyavlensky/eftest-coverage","owner":"abogoyavlensky","description":"Test coverage for Eftest Clojure test runner using Cloverage","archived":false,"fork":false,"pushed_at":"2025-03-09T13:23:34.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-29T00:49:46.509Z","etag":null,"topics":["clojure","cloverage","coverage","eftest","test"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abogoyavlensky.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-09-27T16:19:18.000Z","updated_at":"2025-03-09T13:23:38.000Z","dependencies_parsed_at":"2022-08-15T19:50:51.759Z","dependency_job_id":null,"html_url":"https://github.com/abogoyavlensky/eftest-coverage","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/abogoyavlensky/eftest-coverage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abogoyavlensky%2Feftest-coverage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abogoyavlensky%2Feftest-coverage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abogoyavlensky%2Feftest-coverage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abogoyavlensky%2Feftest-coverage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abogoyavlensky","download_url":"https://codeload.github.com/abogoyavlensky/eftest-coverage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abogoyavlensky%2Feftest-coverage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34468766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["clojure","cloverage","coverage","eftest","test"],"created_at":"2024-11-09T16:06:31.407Z","updated_at":"2026-06-17T22:31:05.824Z","avatar_url":"https://github.com/abogoyavlensky.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eftest-coverage\n\n[![Clojars Project](https://img.shields.io/clojars/v/abogoyavlensky/eftest-coverage.svg)](https://clojars.org/abogoyavlensky/eftest-coverage)\n\nA tiny wrapper around [Eftest](https://github.com/weavejester/eftest) Clojure test runner\nfor getting test coverage using [Cloverage](https://github.com/cloverage/cloverage) instrumentation.\n\n__*DISCLAIMER: probably you should use a [native way](https://github.com/cloverage/cloverage/pull/315) to run Cloverage with Eftest instead of this lib.*__\n\n## Installation\n\n*project.clj :dependencies*\n\n```clojure\n[abogoyavlensky/eftest-coverage \"0.1.1\"]\n```\n\n*deps.edn :deps*\n\n```clojure\nabogoyavlensky/eftest-coverage {:mvn/version \"0.1.1\"}\n```\n\n## Usage examples\n\n### Run directly (configurable Eftest)\n\n*deps.edn with -M option*\n\n```clojure\n{\n ...\n :aliases {:test\n           {:extra-paths [\"test\"]\n            :extra-deps {abogoyavlensky/eftest-coverage {:mvn/version \"VERSION\"}}\n            :main-opts   [\"-m\" \"eftest-coverage.runner\"\n                          \"-p\" \"src\"\n                          \"-s\" \"test\"]}}}\n```\n\nThen run:\n\n```shell\nclojure -M:test\n```\n\n### Run via Cloverage (only default settings for Eftest)\n\nRunning via Cloverage you **don't have ability to configure the Eftest** runner.\nJust run Eftest with coverage as is with default settings.\nCloverage's configuration is **fully** available in both cases.\n\n*deps.edn*\n\n```clojure\n{...\n :aliases {:test\n           {:extra-paths [\"test\"]\n            :extra-deps {abogoyavlensky/eftest-coverage {:mvn/version \"VERSION\"}}\n            :main-opts   [\"-m\" \"cloverage.coverage\"\n                          \"-p\" \"src\"\n                          \"-s\" \"test\"\n                          \"--runner\" \":eftest-coverage\"]}}}\n```\n\n```shell\nclojure -M:test\n```\n\n\n*project.clj*\n```\n{...\n [[abogoyavlensky/eftest-coverage \"VERSION\"]]\n :plugins [[lein-cloverage \"1.2.1\"]]\n ...\n}\n```\n\n```shell\nlein cloverage --runner :eftest-coverage\n```\n\n## Configuration\n\n\n### Cloverage options\nAll options for Cloverage available **exactly** as in [origin library](https://github.com/cloverage/cloverage/tree/4a793d34cc603c9ff67e00baa9b485833694a9ff#leiningen-project-options).\nThe runner option has reasonable default value:\n\n```\n--runner :eftest-coverage\n```\n\n\n### Eftest options\nAll options for Eftest are available\n**exactly** as in [origin library](https://github.com/weavejester/eftest#usage) with prefix `--eftest-...`:\n\n\n|Option|Value|Default|\n|------|-----|-------|\n|--eftest-fail-fast?|false, true|false|\n|--eftest-capture-output?|false, true|true|\n|--eftest-multithread?|true, false, :namespaces, :vars| true|\n|--eftest-thread-count|*int number \u003e 0*|*calculated if --eftest-multithread? is enabled*|\n|--eftest-randomize-seed|*int number \u003e= 0*|0|\n|--eftest-report|*path to report function*|eftest.report.progress/report|\n|--eftest-test-warn-time|*int time in milliseconds*|nil|\n\n\n:information_source: *Keeping Eftest's semantic of boolean options with `?` sign at the end\nto have full compatibility with origin library.*\n\n\n### eftest-coverage extra options\nAlso eftest-coverage has a couple extra options for convenience.\n\n|Option|Value|Default|Description|\n|------|-----|-------|-----------|\n|--eftest-report-to-file|*path to a file*|nil|Redirect Eftest reporting output to a file.|\n|--[no-]coverage|boolean flag|--coverage|Run test runner without coverage instrumenting. (enabled by default)|\n\n### Config example with some eftest options\n\n*deps.edn*\n\n```clojure\n{...\n :aliases {:test\n           {:extra-paths [\"test\"]\n            :extra-deps {abogoyavlensky/eftest-coverage {:mvn/version \"VERSION\"}}\n            :main-opts   [\"-m\" \"eftest-coverage.runner\"\n                          \"-p\" \"src\"\n                          \"-s\" \"test\"\n                          \"--eftest-test-warn-time\" \"100\"\n                          \"--eftest-multithread?\" \"false\"\n                          \"--eftest-fail-fast?\" \"true\"\n                          \"--eftest-report\" \"eftest.report.junit/report\"\n                          \"--eftest-report-to-file\" \"target/eftest/junit.xml\"]}}}\n```\n\n## Development\n\nBuild a deployable jar of this library:\n\n```\n$ make build\n```\n\nInstall it locally:\n\n```\n$ make install\n```\n\nDeploy it to Clojars. Needs `CLOJARS_USERNAME` and `CLOJARS_PASSWORD` environment variables:\n\n```\n$ make deploy\n```\n\n## Heavily inspired by\n\n- https://github.com/metosin/bat-test\n- https://github.com/circleci/circleci.test\n- https://github.com/FundingCircle/fc4-framework\n\n## Roadmap\n\n- [x] Add ability to use -X option of Clojure CLI.\n- [x] ~~Add lein-eftest-coverage plugin with ability to configure Eftest runner.~~ Use cloverage/run-project instead.\n- [ ] Add ability to configure `:only` and metadata selectors for particular tests.\n\n## License\n\nCopyright © 2020 Andrey Bogoyavlensky\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabogoyavlensky%2Feftest-coverage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabogoyavlensky%2Feftest-coverage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabogoyavlensky%2Feftest-coverage/lists"}