{"id":32643913,"url":"https://github.com/dotemacs/testiere-mode.el","last_synced_at":"2025-10-31T03:59:12.081Z","repository":{"id":314954548,"uuid":"1057377476","full_name":"dotemacs/testiere-mode.el","owner":"dotemacs","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-15T20:01:25.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-18T12:39:52.556Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","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/dotemacs.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-15T16:37:21.000Z","updated_at":"2025-09-16T13:37:34.000Z","dependencies_parsed_at":"2025-09-15T22:08:41.556Z","dependency_job_id":"8ff412d4-8623-4d36-97df-7da4f31a8bb7","html_url":"https://github.com/dotemacs/testiere-mode.el","commit_stats":null,"previous_names":["dotemacs/testiere-mode.el"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dotemacs/testiere-mode.el","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotemacs%2Ftestiere-mode.el","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotemacs%2Ftestiere-mode.el/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotemacs%2Ftestiere-mode.el/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotemacs%2Ftestiere-mode.el/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotemacs","download_url":"https://codeload.github.com/dotemacs/testiere-mode.el/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotemacs%2Ftestiere-mode.el/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281925779,"owners_count":26584821,"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","status":"online","status_checked_at":"2025-10-31T02:00:07.401Z","response_time":57,"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":[],"created_at":"2025-10-31T03:58:03.643Z","updated_at":"2025-10-31T03:59:12.072Z","avatar_url":"https://github.com/dotemacs.png","language":"Emacs Lisp","readme":"# `testiere-mode`\n\nHide or show inline Common Lisp tests written with the\n[`testiere`](https://cicadas.surf/cgit/colin/testiere.git/about/)\ntesting library. `M-x testiere-toggle` command that collapses or\nreveals the `#+testiere` sections.\n\n## Example usage\n\nThis is how the code looks with `testiere`:\n```lisp\n(defun add3 (x y z)\n  \"Adds three numbers\"\n  #+testiere\n  (:tests\n   (= 6 (add3 1 2 3))\n   (:fails (add3 \"hey\"))\n   (:fails (add3 1 2)))\n  (+ x y z))\n```\n\nand this is how it looks toggled via `M-x testiere-toggle`:\n```lisp\n(defun add3 (x y z)\n  \"Adds three numbers\"\n  #+testiere ...\n  (+ x y z))\n```\n\n## Features\n- Works from anywhere inside a supported `def*` form (`defun`,\n  `defmethod`, `deftype`, `defclass`, `defstruct`) or from the header\n  line itself\n\n## Installation\n\n```elisp\n(use-package testiere-mode\n  :vc (:fetcher github :repo \"dotemacs/testiere-mode.el\"))\n```\n\n## Usage\n1. Open a Common Lisp buffer that contains inline tests wrapped in a `#+testiere` block.\n2. Place point either on the header line or anywhere inside the surrounding `defun`, `defmethod`, `deftype`, `defclass`, or `defstruct` form.\n3. Run `M-x testiere-toggle` (or invoke the `testiere-toggle-tests` alias). The block will collapse into a friendly comment-like overlay.\n4. Call the command again to reveal the tests. Repeated invocations cycle between the hidden and visible states.\n\n### Suggested key bindings\nAttach the command to a convenient key in the Lisp modes you use most:\n```elisp\n(with-eval-after-load 'lisp-mode\n  (define-key lisp-mode-map (kbd \"C-c t\") #'testiere-toggle))\n\n(with-eval-after-load 'slime\n  (define-key slime-mode-map (kbd \"C-c t\") #'testiere-toggle))\n\n(with-eval-after-load 'sly\n  (define-key sly-mode-map (kbd \"C-c t\") #'testiere-toggle))\n```\n","funding_links":[],"categories":["Online editors ##"],"sub_categories":["Third-party APIs"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotemacs%2Ftestiere-mode.el","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotemacs%2Ftestiere-mode.el","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotemacs%2Ftestiere-mode.el/lists"}