{"id":15685688,"url":"https://github.com/borkdude/missing.test.assertions","last_synced_at":"2025-12-12T01:08:44.967Z","repository":{"id":57713280,"uuid":"219572499","full_name":"borkdude/missing.test.assertions","owner":"borkdude","description":"A library that detects missing test assertions in clojure.test tests","archived":false,"fork":false,"pushed_at":"2020-01-29T22:41:43.000Z","size":17,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T10:53:11.561Z","etag":null,"topics":["clojure","testing"],"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/borkdude.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.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":"2019-11-04T18:46:31.000Z","updated_at":"2021-02-11T11:37:56.000Z","dependencies_parsed_at":"2022-09-06T02:10:37.482Z","dependency_job_id":null,"html_url":"https://github.com/borkdude/missing.test.assertions","commit_stats":null,"previous_names":["borkdude/missing-test-assertions","borkdude/naw"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/borkdude/missing.test.assertions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fmissing.test.assertions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fmissing.test.assertions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fmissing.test.assertions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fmissing.test.assertions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borkdude","download_url":"https://codeload.github.com/borkdude/missing.test.assertions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fmissing.test.assertions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259316853,"owners_count":22839531,"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":["clojure","testing"],"created_at":"2024-10-03T17:28:58.596Z","updated_at":"2025-12-12T01:08:39.920Z","avatar_url":"https://github.com/borkdude.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# missing.test.assertions\n\n[![Clojars Project](https://img.shields.io/clojars/v/borkdude/missing.test.assertions.svg)](https://clojars.org/borkdude/missing.test.assertions)\n[![cljdoc badge](https://cljdoc.org/badge/borkdude/missing.test.assertions)](https://cljdoc.org/d/borkdude/missing.test.assertions/CURRENT)\n\nLibrary for checking absence of assertions in\n[clojure.test](https://clojure.github.io/clojure/clojure.test-api.html) tests.\n\n## Usage\n\nRequire `missing.test.assertions` in your test namespace(s).\n\nNote that in `a-test` no assertions are made, but `another-test` has one\nassertion. So we expect a warning only about `a-test`.\n\n``` clojure\n(ns foo.core-test\n  (:require [clojure.test :refer [deftest testing is]]\n            [missing.test.assertions]))\n\n(deftest a-test\n  (testing \"...\"\n    1))\n\n(deftest another-test\n  (testing (is 1)))\n```\n\nWhen executing the tests, the following warning will get printed to `*err*`:\n\n``` clojure\nWARNING: no assertions made in test a-test\n```\n\n## Notes\n\n- This library works with Clojure and ClojureScript.\n- When registering your own `clojure.test/report` `:begin-test-var` and\n  `:end-test-var` hooks, call `missing.test.assertions/register!` afterwards. This will\n  redefine the `missing.test.assertions` hooks while your hooks keep working.\n- The default behavior in absence of test assertions is printing a message. If you want an exception, call\n  `(missing.test.assertions/register! {:throw? true})`.\n\n## Test\n\n### JVM\n\n    lein test\n\nor\n\n    clj -A:test\n\n### Node\n\n    script/test/node\n\n## Related projects\n\n- [kaocha](https://github.com/lambdaisland/kaocha) has this as a built-in feature\n\n## License\n\nCopyright © 2019 Michiel Borkent\n\nDistributed under the EPL License, same as Clojure. See LICENSE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborkdude%2Fmissing.test.assertions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborkdude%2Fmissing.test.assertions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborkdude%2Fmissing.test.assertions/lists"}