Test.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <commands version="1.0">
  2. <run-tests>
  3. <summary>Run Regression Tests</summary>
  4. <function>doRunTests</function>
  5. <shortcut>rt</shortcut>
  6. <options>
  7. <recur>
  8. <shortopt>r</shortopt>
  9. <doc>Run tests in child directories, recursively. 4 dirs deep maximum</doc>
  10. </recur>
  11. <ini>
  12. <shortopt>i</shortopt>
  13. <doc>actual string of settings to pass to php in format &quot; -d setting=blah&quot;</doc>
  14. <arg>SETTINGS</arg>
  15. </ini>
  16. <realtimelog>
  17. <shortopt>l</shortopt>
  18. <doc>Log test runs/results as they are run</doc>
  19. </realtimelog>
  20. <quiet>
  21. <shortopt>q</shortopt>
  22. <doc>Only display detail for failed tests</doc>
  23. </quiet>
  24. <simple>
  25. <shortopt>s</shortopt>
  26. <doc>Display simple output for all tests</doc>
  27. </simple>
  28. <package>
  29. <shortopt>p</shortopt>
  30. <doc>Treat parameters as installed packages from which to run tests</doc>
  31. </package>
  32. <phpunit>
  33. <shortopt>u</shortopt>
  34. <doc>Search parameters for AllTests.php, and use that to run phpunit-based tests
  35. If none is found, all .phpt tests will be tried instead.</doc>
  36. </phpunit>
  37. <tapoutput>
  38. <shortopt>t</shortopt>
  39. <doc>Output run-tests.log in TAP-compliant format</doc>
  40. </tapoutput>
  41. <cgi>
  42. <shortopt>c</shortopt>
  43. <doc>CGI php executable (needed for tests with POST/GET section)</doc>
  44. <arg>PHPCGI</arg>
  45. </cgi>
  46. <coverage>
  47. <shortopt>x</shortopt>
  48. <doc>Generate a code coverage report (requires Xdebug 2.0.0+)</doc>
  49. </coverage>
  50. </options>
  51. <doc>[testfile|dir ...]
  52. Run regression tests with PHP&#039;s regression testing script (run-tests.php).</doc>
  53. </run-tests>
  54. </commands>