User:Nam

From Resin 3.0

Revision as of 00:00, 25 February 2012 by Nam (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Just getting the wordpress tests running on zend php was a challenge in itself. Ran into the following problems:

  • any fatal failure prevents rest of tests from running
  • does not list the currently running test nor file
  • some tests are using new wordpress features not checked into trunk
  • some tests has recent input data changes, but expected output was not updated in tandem
  • hopeless trying to run tests on non-trunk wordpress-3.3.1

All in all, I had to delete about 70 borked tests.

Contents

Wordpress test results

zend php - wordpress trunk

 Tests: 758, Assertions: 4684, Failures: 60, Skipped: 41.

PHPUnit

php classes used by PHPUnit

  1. Countable
  2. Exception
  3. RuntimeException
  4. SOAPClient
  5. DOMXPath
  6. InvalidArgumentException
  7. ReflectionClass
  8. ReflectionMethod
  9. ReflectionObject
  10. ReflectionProperty
  11. RuntimeException
  12. SOAPClient

php functions used by PHPUnit

  1. DOMXPath
  2. InvalidArgumentException
  3. ReflectionClass
  4. ReflectionMethod
  5. ReflectionObject
  6. ReflectionProperty
  7. RuntimeException
  8. SOAPClient
  9. TestCase
  10. abs
  11. accept
  12. addFileToBlacklist
  13. addFileToWhitelist
  14. addcslashes
  15. appendChild
  16. argument
  17. array_key_exists
  18. array_keys
  19. array_merge
  20. array_pop
  21. array_push
  22. array_reverse
  23. array_shift
  24. array_unique
  25. array_unshift
  26. array_values
  27. attach
  28. basename
  29. bin2hex
  30. call_user_func_array
  31. className
  32. class_exists
  33. clearstatcache
  34. constant
  35. debug_backtrace
  36. define
  37. defined
  38. dirname
  39. dump
  40. each
  41. empty
  42. error_reporting
  43. escapeshellcmd
  44. eval
  45. exception
  46. exit
  47. fclose
  48. fflush
  49. file
  50. file_exists
  51. file_get_contents
  52. file_iterator_autoload
  53. file_put_contents
  54. filter
  55. fopen
  56. fsockopen
  57. func_get_args
  58. func_num_args
  59. fwrite
  60. getAttribute
  61. getClass
  62. getCode
  63. getConstructor
  64. getDeclaringClass
  65. getDefaultValue
  66. getDocComment
  67. getElementsByTagName
  68. getEndLine
  69. getExtensionName
  70. getFile
  71. getFileName
  72. getFilesAsArray
  73. getInfo
  74. getLine
  75. getMethod
  76. getParameters
  77. getParentClass
  78. getProperty
  79. getStartLine
  80. getStaticProperties
  81. getTrace
  82. getValue
  83. get_class
  84. get_class_methods
  85. get_declared_classes
  86. get_defined_vars
  87. get_include_path
  88. get_included_files
  89. gettype
  90. handler
  91. hasProperty
  92. htmlspecialchars
  93. in_array
  94. ini_set
  95. interface_exists
  96. isAbstract
  97. isCloneable
  98. isConstructor
  99. isFinal
  100. isInstantiable
  101. isPublic
  102. isStatic
  103. isUserDefined
  104. is_array
  105. is_bool
  106. is_callable
  107. is_dir
  108. is_double
  109. is_file
  110. is_float
  111. is_infinite
  112. is_int
  113. is_integer
  114. is_nan
  115. is_null
  116. is_numeric
  117. is_object
  118. is_readable
  119. is_resource
  120. is_scalar
  121. is_string
  122. isset
  123. item
  124. iterator_count
  125. join
  126. json_encode
  127. libxml_get_errors
  128. libxml_use_internal_errors
  129. list
  130. loadHTML
  131. loadXML
  132. mb_convert_encoding
  133. method_exists
  134. microtime
  135. min
  136. newInstance
  137. newInstanceArgs
  138. normalizeDocument
  139. notifyMethod
  140. ob_end_clean
  141. ob_get_clean
  142. ob_get_contents
  143. ob_start
  144. ord
  145. php_codecoverage_autoload
  146. php_invoker_autoload
  147. php_timer_autoload
  148. php_tokenstream_autoload
  149. phpunit_dbunit_autoload
  150. phpunit_selenium_autoload
  151. phpunit_story_autoload
  152. preg_match
  153. print_r
  154. proc_close
  155. realpath
  156. removeChild
  157. removeFileFromBlacklist
  158. removeFileFromWhitelist
  159. render
  160. reset
  161. resourceUsage
  162. restore_error_handler
  163. saveXML
  164. serialize
  165. setCacheTokens
  166. setlocale
  167. settype
  168. sfYamlDumper
  169. sizeof
  170. sort
  171. spl_object_hash
  172. start
  173. stream_get_contents
  174. stream_resolve_include_path
  175. stripos
  176. strlen
  177. strpos
  178. strstr
  179. strtolower
  180. strtoupper
  181. substr
  182. substr_count
  183. substr_replace
  184. suite
  185. sys_get_temp_dir
  186. testMethod
  187. text_template_autoload
  188. trait_exists
  189. trim
  190. ucfirst
  191. unlink
  192. unserialize
  193. unset
  194. utf8_encode
  195. var_export
  196. version_compare
  197. withAnyParamers
Personal tools