Difference between revisions of "Manual:Testing"

From Mudlet
Jump to navigation Jump to search
(→‎Simulate a fresh install: Update to only delete the Mudlet specific folders rather than all user data stored under the .config directory. Also note the effect of deletion and any previous MUDding with Mudlet.)
Line 17: Line 17:
  
 
Note that if you '''delete''' the relevant folder then '''you will destroy all the data for any previous MUDs you have played with Mudlet!'''
 
Note that if you '''delete''' the relevant folder then '''you will destroy all the data for any previous MUDs you have played with Mudlet!'''
 +
 +
== Create graphical tests for Mudlet ==
 +
Check out [[Rainforest Testing]] on creating no-code tests for Mudlet.

Revision as of 20:11, 26 December 2021

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, then:

  • on Windows - find your windows account folder (typically C:\Users\YourUserName on English language versions), then the .config folder and then rename/delete the mudlet folder within. Also rename/delete the Mudlet registry entry in HKEY_CURRENT_USER\Software\mudlet
  • on Linux - find your home folder, then show hidden files, and find the .config and then rename/delete the mudlet/Mudlet folders within
  • on Mac - find your user (home) folder, then the .config and then rename/delete the mudlet/Mudlet folders within

Note that if you delete the relevant folder then you will destroy all the data for any previous MUDs you have played with Mudlet!

Create graphical tests for Mudlet

Check out Rainforest Testing on creating no-code tests for Mudlet.