{"id":20502939,"url":"https://github.com/evandrolg/simple_test","last_synced_at":"2025-07-30T11:09:17.138Z","repository":{"id":65747226,"uuid":"94500981","full_name":"EvandroLG/simple_test","owner":"EvandroLG","description":":ok_hand: A powerful, minimalist and easy-to-use Lua unit testing framework.","archived":false,"fork":false,"pushed_at":"2023-12-22T20:51:15.000Z","size":39,"stargazers_count":24,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T20:16:03.291Z","etag":null,"topics":["lua","testing"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/EvandroLG.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":"2017-06-16T03:22:16.000Z","updated_at":"2024-10-18T00:34:29.000Z","dependencies_parsed_at":"2024-11-15T19:31:15.906Z","dependency_job_id":"9f9c1570-e7b7-463d-9690-4aa759c8fb74","html_url":"https://github.com/EvandroLG/simple_test","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/EvandroLG/simple_test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvandroLG%2Fsimple_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvandroLG%2Fsimple_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvandroLG%2Fsimple_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvandroLG%2Fsimple_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EvandroLG","download_url":"https://codeload.github.com/EvandroLG/simple_test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvandroLG%2Fsimple_test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267858157,"owners_count":24155917,"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-07-30T02:00:09.044Z","response_time":70,"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":["lua","testing"],"created_at":"2024-11-15T19:28:32.494Z","updated_at":"2025-07-30T11:09:17.066Z","avatar_url":"https://github.com/EvandroLG.png","language":"Lua","readme":"# simple_test\nA powerful, minimalist and easy-to-use Lua unit testing framework.\n\n[![Build\nStatus](https://travis-ci.org/EvandroLG/simple_test.svg?branch=master)](https://travis-ci.org/EvandroLG/simple_test)\n\n## Installation\nTo install `simple_test`, simply run:\n```sh\n$ luarocks install simple_test\n```\n\nOr copy the `simple_test.lua` file and paste in your project :)\n\n## Getting started\nA minimal test setup:\n\n```lua\nlocal test = require 'simple_test'\n\ntest('assert.equal', function(a)\n  a.ok(1 == 1, 'passed!')\nend)\n```\n\n## asserts\n* assert.\u003ccode\u003eok(test, [failure_message])\u003c/code\u003e\u003cbr\u003e\nChecks if `test` is true.\n\n* assert.\u003ccode\u003enot_ok(test, [failure_message])\u003c/code\u003e\u003cbr\u003e\nChecks if `test` is false.\n\n* assert.\u003ccode\u003eequal(actual, expected, [failure_message])\u003c/code\u003e\u003cbr\u003e\nTests if `actual` is equal `expected`.\n\n* assert.\u003ccode\u003enot_equal(actual, expected, [failure_message])\u003c/code\u003e\u003cbr\u003e\nChecks if `actual` is not equal `expected`.\n\n* assert.\u003ccode\u003ethrow(function, params, [raised_message], [failure_message])\u003c/code\u003e\u003cbr\u003e\nChecks if a `function` throws an exception and optionally compare the throw error.\n\n* assert.\u003ccode\u003edelta(actual_float, expected_float, [delta], [failure_message])\u003c/code\u003e\u003cbr\u003e\nChecks if `actual_float` and `expected_float` are equal within optional `delta` tolerance\n\n* assert.\u003ccode\u003edeep_equal(actual, expected, [failure_message])\u003c/code\u003e\u003cbr\u003e\nTests for deep equality between the `actual` and `expected` parameters.\n\n## Author\n|[![@evandrolg](https://avatars3.githubusercontent.com/u/444054?v=3\u0026amp;s=96)](https://github.com/evandrolg)|\n|:---:|\n|[@evandrolg](http://www.github.com/evandrolg)|\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevandrolg%2Fsimple_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevandrolg%2Fsimple_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevandrolg%2Fsimple_test/lists"}