{"id":43881520,"url":"https://github.com/codereport/bqn-test","last_synced_at":"2026-02-06T15:29:14.067Z","repository":{"id":254922649,"uuid":"847888153","full_name":"codereport/bqn-test","owner":"codereport","description":"A simple unit testing library for BQN","archived":false,"fork":false,"pushed_at":"2025-02-15T20:24:46.000Z","size":43,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T21:24:52.985Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"BQN","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codereport.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-26T18:29:20.000Z","updated_at":"2025-02-15T20:24:49.000Z","dependencies_parsed_at":"2024-12-29T21:18:56.780Z","dependency_job_id":"e6f0e0cf-a567-4465-8fb8-6523afd8569a","html_url":"https://github.com/codereport/bqn-test","commit_stats":null,"previous_names":["codereport/bqn-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codereport/bqn-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codereport%2Fbqn-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codereport%2Fbqn-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codereport%2Fbqn-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codereport%2Fbqn-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codereport","download_url":"https://codeload.github.com/codereport/bqn-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codereport%2Fbqn-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29166428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T14:37:12.680Z","status":"ssl_error","status_checked_at":"2026-02-06T14:36:22.973Z","response_time":59,"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":[],"created_at":"2026-02-06T15:29:13.240Z","updated_at":"2026-02-06T15:29:14.056Z","avatar_url":"https://github.com/codereport.png","language":"BQN","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cp align=\"center\"\u003ebqn-test\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/codereport/bqn-test/issues\" alt=\"contributions welcome\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://lbesson.mit-license.org/\" alt=\"MIT license\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\" /\u003e\u003c/a\u003e\n    \u003ca href=\"mlochbaum.github.io/BQN\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/BQN-0.7-ff69b4.svg\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/codereport?tab=followers\" alt=\"GitHub followers\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/followers/codereport.svg?style=social\u0026label=Follow\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://GitHub.com/codereport/bqn-test/stargazers/\" alt=\"GitHub stars\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/stars/codereport/bqn-test.svg?style=social\u0026label=Star\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://twitter.com/code_report\" alt=\"Twitter\"\u003e\n        \u003cimg src=\"https://img.shields.io/twitter/follow/code_report.svg?style=social\u0026label=@code_report\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nA simple unit testing library for [BQN](https://mlochbaum.github.io/BQN) (inspired by [pytest](https://docs.pytest.org/en/stable/)).\n\n### Usage\n\n#### Running from the command line\n\nBasic usage shown below:\n```bash\nbqn-test .    # this is quiet mode\nbqn-test . -v # this is verbose mode\n```\n\nNote, after `git clone`-ing this repo, you will probably want to put the `bqn-test` script on your path:\n```bash\nexport PATH=$PATH:/home/cph/bqn-test\n```\n\n#### Using in BQN files\n\nInclude the `test.bqn` and then make use of `UnitTest` for passing tests and `UnitFail` if you currently expect the test to fail. In order to get `currently:` results, use match `≡` and the expression preceeding the `≡` will be evaluated.\n\n```bqn\n⟨UnitTest, UnitFail⟩ ⇐ •Import \"/home/cph/bqn-test/test.bqn\"\n\nPlusOne ← { 𝕩+1 }\n\nUnitTest (PlusOne 1) ≡ 2\nUnitFail (PlusOne 1) ≡ 3\n```\n\n### Demo\n\n![2024-11-2022-41-22-ezgif com-video-to-gif-converter (1)](https://github.com/user-attachments/assets/54c511fc-3d44-42b0-9e52-c45ba5018558)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodereport%2Fbqn-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodereport%2Fbqn-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodereport%2Fbqn-test/lists"}