{"id":15374196,"url":"https://github.com/moteus/lua-lluv-busted","last_synced_at":"2025-07-16T20:33:59.553Z","repository":{"id":147045376,"uuid":"80122110","full_name":"moteus/lua-lluv-busted","owner":"moteus","description":"Support async tests for busted with lluv library","archived":false,"fork":false,"pushed_at":"2017-01-31T12:05:23.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T00:27:25.716Z","etag":null,"topics":["async","lua","test","testing"],"latest_commit_sha":null,"homepage":null,"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/moteus.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-01-26T14:35:12.000Z","updated_at":"2023-04-12T07:19:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"0aeb300d-f7ef-4518-b022-3ba285bb929a","html_url":"https://github.com/moteus/lua-lluv-busted","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"0d92bba32b6e6626442a47250ab569794fc620e1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moteus%2Flua-lluv-busted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moteus%2Flua-lluv-busted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moteus%2Flua-lluv-busted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moteus%2Flua-lluv-busted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moteus","download_url":"https://codeload.github.com/moteus/lua-lluv-busted/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245931826,"owners_count":20695961,"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":["async","lua","test","testing"],"created_at":"2024-10-01T13:57:40.358Z","updated_at":"2025-03-27T21:51:20.965Z","avatar_url":"https://github.com/moteus.png","language":"Lua","readme":"# lluv-busted\n[![Licence](http://img.shields.io/badge/Licence-MIT-brightgreen.svg)](LICENSE)\n[![Build Status](https://travis-ci.org/moteus/lua-lluv-busted.svg?branch=master)](https://travis-ci.org/moteus/lua-lluv-busted)\n\nSupport async tests for busted with lluv library\n\n#### Usage\n\n```Lua\nlocal uv = require \"lluv\"\n\nlocal loop = require \"lluv.busted.loop\"\n\nloop.set_timeout(10)\n\nsetloop(loop)\n\ndescribe(\"basic test\", function()\n  it('should pass', function(done) async()\n    uv.timer():start(100, function()\n      assert.is_true(true)\n      done()\n    end)\n  end)\n\n  it('should ignore unrefed handles', function(done) async()\n    uv.timer():start(100, function()\n      assert.is_true(true)\n      done()\n    end)\n    uv.signal():start(uv.SIGINT, function() end):unref()\n  end)\n\n  it('should pass timeout', function(done) async()\n    uv.timer():start(5000, function()\n      assert.is_true(true)\n      done()\n    end)\n  end)\n\n  after_each(function()\n    loop.verify_after()\n  end)\nend)\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoteus%2Flua-lluv-busted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoteus%2Flua-lluv-busted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoteus%2Flua-lluv-busted/lists"}