Currently there appears to be no way to perform build testing for API2 modules or other software created with the cPanel SDK. Testing amounts to installing the module and then using, say, Test::WWW::Mechanize to externally authenticate as a user and make API calls to the server via HTTP requests. It would be extremely convenient to have a "Test::Cpanel" module that would:
- Magically satisfy all `Cpanel::*` requirements, even for modules that don't have a physical presence in `/usr/local/cpanel/Cpanel`.
- Allow API2 functions to be called directly to test expected output for a contrived or real user on the server



LinkBack URL
About LinkBacks
Reply With Quote




