Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add package: luaunit-for-mudlet.mpackage #313

Merged

Conversation

mudlet-machine-account
Copy link
Collaborator

Package information:

  • Name: luaunit-for-mudlet
  • Title: LuaUnit for Mudlet: Lightweight Testing Kit
  • Version: 1
  • Author: demonnic
  • Created: 2020-03-19T05:47:39+00:00

LuaUnit is a modified testing framework specifically adapted for Mudlet, allowing developers to run unit tests directly within the Mudlet environment. It replaces standard Lua print and io.write functions with Mudlet-compatible alternatives and removes OS exit calls to prevent accidental Mudlet closure. Users can install the package via an mpackage file or manually include the luaunit.lua file, enabling straightforward unit testing of Mudlet scripts with familiar assertion methods like 'lum.assertEquals'.


This package was originally shared on the Mudlet Forums by the author. We’ve automatically listed it here on packages.mudlet.org so more users can discover and benefit from it. Please let us know if you have any questions or concerns - thanks for contributing to the Mudlet community!

@vadi2 vadi2 merged commit dd0539d into main Feb 6, 2025
1 check passed
@vadi2 vadi2 deleted the package-upload/luaunit-for-mudletmpackage-2025-02-06T13-33-48 branch February 6, 2025 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants