{"id":20174302,"url":"https://github.com/guiltydolphin/dentest","last_synced_at":"2025-03-03T05:09:33.809Z","repository":{"id":62422109,"uuid":"370273285","full_name":"GuiltyDolphin/dentest","owner":"GuiltyDolphin","description":"Testing framework for Deno","archived":false,"fork":false,"pushed_at":"2021-06-30T18:58:55.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T16:18:09.675Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GuiltyDolphin.png","metadata":{"files":{"readme":"README.org","changelog":"CHANGELOG.org","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":"2021-05-24T07:59:32.000Z","updated_at":"2021-05-25T11:51:05.000Z","dependencies_parsed_at":"2022-11-01T17:31:18.643Z","dependency_job_id":null,"html_url":"https://github.com/GuiltyDolphin/dentest","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiltyDolphin%2Fdentest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiltyDolphin%2Fdentest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiltyDolphin%2Fdentest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiltyDolphin%2Fdentest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GuiltyDolphin","download_url":"https://codeload.github.com/GuiltyDolphin/dentest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241610996,"owners_count":19990507,"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-14T01:42:14.003Z","updated_at":"2025-03-03T05:09:33.786Z","avatar_url":"https://github.com/GuiltyDolphin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#+TITLE: Dentest\n\nTesting framework for Deno.\n\n* Usage\n\nDentest provides support for grouping tests using\n=testGroup=. Only top-level tests need to be run using the\n=runAsMain= method. The following example shows how to group\ntests in this manner:\n\n#+BEGIN_SRC typescript\n  import {\n      assertEquals,\n      testGroup,\n      Test\n  } from 'https://deno.land/x/dentest/mod.ts'\n\n  testGroup('booleans',\n      new Test('true is true', () =\u003e assertEquals(true, true)),\n      new Test('false is false', () =\u003e assertEquals(false, false)),\n      testGroup('more boolean tests',\n          new Test('not true is false', () =\u003e assertEquals(!true, false)),\n          new Test('not false is true', () =\u003e assertEquals(!false, true)),\n      ),\n  ).runAsMain();\n#+END_SRC\n\n* Development\n\n** Coverage\n\nTo generate code test coverage, make sure you have access to\nthe =genhtml= tool (e.g., via the [[https://aur.archlinux.org/packages/lcov/][lcov package on AUR]]), then\nrun =make coverage= in the top-level of the project.\n\n** Testing\n\nRun =make test= in the top-level of the project to run the\ntests. If you need to see results for tests that passed, run\n=make test_verbose= or =deno test= instead.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguiltydolphin%2Fdentest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguiltydolphin%2Fdentest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguiltydolphin%2Fdentest/lists"}