Manual:Testing

From Mudlet
Revision as of 07:45, 19 March 2020 by Vadi (talk | contribs) (Created page with "{{TOC right}} = How to test your own scripts = Are you a package maker and would like to add some automated (unit) tests? Automated tests can be extremely useful in a medium...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to test your own scripts

Are you a package maker and would like to add some automated (unit) tests? Automated tests can be extremely useful in a medium to large package to ensure you don't break something else when you change one thing. Check out the LuaUnit package for this.


How to test Mudlet

Are you a Mudlet developer or Mudlet tester looking to test Mudlet itself? See below for some common scenarios:

Simulate a fresh install

To simulate a fresh install of Mudlet, close Mudlet first, rename/delete the:

  • on Windows - your windows account folder, then the .config and the mudlet folder within. Also rename/delete the Mudlet registry entry in HKEY_CURRENT_USER\Software\mudlet
  • on Linux - your home folder, show hidden files, then the .config and the mudlet/Mudlet folders within
  • on Mac - your users folder, then the .config and the mudlet/Mudlet folders within