Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.36 KB

TESTING.md

File metadata and controls

24 lines (18 loc) · 1.36 KB

How this module was tested

WHMCS itself was not run: WHMCS has no free trial, and development licences are only issued to paid licence holders. Instead the module was run in a harness that reproduces what WHMCS gives a server module:

  • the WHMCS tables a module touches (tblclients, tblproducts, tblhosting, tblservers, custom fields, configurable options, tblmodulelog) and WHMCS\Database\Capsule (illuminate/database);
  • logModuleCall() with value masking, and Smarty for the client-area template;
  • the module parameter array WHMCS builds, and the order flow AddOrder → AcceptOrder → Create, Suspend, Unsuspend, ChangePackage (upgrade), ChangePassword, Single Sign-On and Terminate, with the service status updates WHMCS makes.

The module talked to a real FeatherPanel backend (develop with the billing external-ID API), its async runner, MariaDB and Redis. Only the node daemons (Wings, Proxmox, Quilld) were local stand-ins.

Results (26.11.2026):

  • 127/127 end-to-end checks for game servers, VDS and web hosting, verified in the panel database, including re-running Create (no duplicates), SSO login, existing/staff account handling and log masking. The same run passed when installed from the release zip.
  • 28 unit tests against a scripted panel API.

Before selling it, do one smoke run in a real WHMCS 8.x: Test Connection and one order per product type.