{"id":18706167,"url":"https://github.com/bendc/simple-test","last_synced_at":"2025-09-16T20:13:36.160Z","repository":{"id":84104413,"uuid":"50654955","full_name":"bendc/simple-test","owner":"bendc","description":"Basic testing library","archived":false,"fork":false,"pushed_at":"2016-01-29T10:15:30.000Z","size":2,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T05:11:30.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/bendc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-29T10:11:19.000Z","updated_at":"2022-06-27T00:27:25.000Z","dependencies_parsed_at":"2023-04-22T23:46:39.911Z","dependency_job_id":null,"html_url":"https://github.com/bendc/simple-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendc%2Fsimple-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendc%2Fsimple-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendc%2Fsimple-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendc%2Fsimple-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendc","download_url":"https://codeload.github.com/bendc/simple-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550624,"owners_count":21122934,"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":[],"created_at":"2024-11-07T12:13:07.405Z","updated_at":"2025-09-16T20:13:31.087Z","avatar_url":"https://github.com/bendc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Test\n\nSimple Test is a tiny, straightforward testing framework. It provides a single assertion model,\ndoesn't perform deep comparisons and uses [same-value\nequality](http://ecma-international.org/ecma-262/5.1/#sec-9.12) for your tests.\n\n## Getting Started\n\nSet up your HTML document like this:\n\n```html\n\u003c!doctype html\u003e\n\u003cmeta charset=utf-8\u003e\n\u003clink rel=stylesheet href=style.css\u003e\n\u003ctitle\u003eUnit tests\u003c/title\u003e\n\n\u003cmain\u003e\u003ch1\u003e\u003c/h1\u003e\u003c/main\u003e\n\n\u003cscript src=setup.js\u003e\u003c/script\u003e\n\u003cscript src=tests.js\u003e\u003c/script\u003e\n```\n\nWrite tests in your `tests.js` file:\n\n```javascript\ntest(\"My first test\", assert =\u003e {\n  assert(\"\".charAt(0), \"\", \"returns an empty string\");\n  assert([1, 2].map(n =\u003e n + 1), [2, 3], \"increments each number in an array\");\n  assert({ a: \"1\", b: \"2\" }, { a: 1, b: 2 }, \"values should be numbers\");\n});\n```\n\nResult:\n![2 tests passed, 1 failed.](https://cldup.com/6n-53XK5qy.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendc%2Fsimple-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbendc%2Fsimple-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendc%2Fsimple-test/lists"}