{"id":20651369,"url":"https://github.com/rapidjs-org/testing","last_synced_at":"2026-01-27T06:31:47.188Z","repository":{"id":45465103,"uuid":"511602640","full_name":"rapidjs-org/testing","owner":"rapidjs-org","description":"Context-based, (a)sync-uniform testing framework for JavaScript and TypeScript.","archived":false,"fork":false,"pushed_at":"2024-11-18T15:15:45.000Z","size":343,"stargazers_count":1,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-23T13:01:11.277Z","etag":null,"topics":["framework","javascript","test","testing","typescipt"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rapidjs-org.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,"zenodo":null}},"created_at":"2022-07-07T16:36:29.000Z","updated_at":"2024-11-18T15:15:14.000Z","dependencies_parsed_at":"2024-05-28T13:27:36.252Z","dependency_job_id":"decf3dc0-ed3d-41c8-8bb0-5c70265334b5","html_url":"https://github.com/rapidjs-org/testing","commit_stats":null,"previous_names":["t-ski/otes","rapidjs-org/testing"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/rapidjs-org/testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapidjs-org%2Ftesting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapidjs-org%2Ftesting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapidjs-org%2Ftesting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapidjs-org%2Ftesting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rapidjs-org","download_url":"https://codeload.github.com/rapidjs-org/testing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapidjs-org%2Ftesting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28806301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T06:25:51.065Z","status":"ssl_error","status_checked_at":"2026-01-27T06:25:50.640Z","response_time":168,"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":["framework","javascript","test","testing","typescipt"],"created_at":"2024-11-16T17:27:11.421Z","updated_at":"2026-01-27T06:31:47.171Z","avatar_url":"https://github.com/rapidjs-org.png","language":"TypeScript","readme":"# rJS Testing\n\nContext-based, (a)sync-uniform testing framework for JavaScript and TypeScript.\n\n### 📖 \u0026hairsp; [Read the Docs](./packages/testing/README.md)\n\n``` cli\nnpm install -D @rapidjs.org/testing\n```\n\n``` js\nfunction divide(a, b) {\n  if(b === 0) throw new SyntaxError(\"Division by zero\");\n  return a / b;\n}\n\nnew UnitTest(\"Computes quotient of positive integers\")\n.actual(divide(4, 2))\n.expected(2);\n\nnew UnitTest(\"Throws error for division by zero\")\n.actual(() =\u003e divide(2, 0))\n.error(\"Division by zero\", SyntaxError);\n```\n\n### 🔧 \u0026hairsp; Testing Suites\n\n**🔩 \u0026hairsp; [Unit](./packages/@unit/README.md)** \u0026hairsp; `unit`\n\n\u003e Test arbitrary units of code based on deep expected value comparisons.\n\n**🔩 \u0026hairsp; [HTTP](./packages/@http/README.md)** \u0026hairsp; `http`\n\n\u003e Test HTTP(S) endpoints based on expectation filtered responses.\n\n**🔩 \u0026hairsp; [CLI](./packages/@cli/README.md)** \u0026hairsp; `cli`\n\n\u003e Test command line interfaces based on expected stdout or stderr.\n\n##\n\n\u003csub\u003e© Thassilo Martin Schiepanski\u003c/sub\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapidjs-org%2Ftesting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frapidjs-org%2Ftesting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapidjs-org%2Ftesting/lists"}