Hi,
I have console access to my shared cPanel server, and I wanted to run some phpUnit testing, is that possible? I can see that it is installed on the server, but I don't have access.
Hi,
I have console access to my shared cPanel server, and I wanted to run some phpUnit testing, is that possible? I can see that it is installed on the server, but I don't have access.
Hello.
You should able to access and run PHPUnit command-line test runner tool if its installed on the server. I'm not sure about its usage and implementation but seems its accessible from jailshell access.
Please PM your primary domain name or the registered email address so that I will check the server and confirm if its installed there.Code:-bash-3.2$ which phpunit /usr/bin/phpunit -bash-3.2$ phpunit --help X-Powered-By: PHP/5.2.9 Content-type: text/html PHPUnit 2.3.6 by Sebastian Bergmann. Usage: phpunit [switches] UnitTest [UnitTest.php] --testdox-html <file> Write agile documentation in HTML format to file. --testdox-text <file> Write agile documentation in Text format to file. --log-xml <file> Log test progress in XML format to file. --loader <loader> TestSuiteLoader implementation to use. --skeleton Generate skeleton UnitTest class for Unit in Unit.php. --wait Waits for a keystroke after each test. --help Prints this usage information. --version Prints the version and exits.
Regards,
Kieran A.
There are currently 1 users browsing this thread. (0 members and 1 guests)