编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Life cycle of an extension
  • PDO 驱动 »
  • PHP Manual
  • 扩展的结构
  • Testing an extension

Testing an extension

One of the accepted requirements of good programming is testing. PHP provides a test harness for unit regression tests, in the form of a script called run-tests.php.

Tests for a particular module are stored in the tests/ subdirectory of the module's folder, and have a .phpt extension. For details of the PHPT format, see » https://qa.php.net/.

相关文章
php 数学扩展 bcmath 任意精度数学php 针对各数据库系统对应的扩展 cubridphp 变量与类型相关扩展 函数处理php 数学扩展 lapackphp 加密扩展 mhashphp 影响 php 行为的扩展 输出缓冲控制php 文件系统相关扩展 proctitlephp 影响 php 行为的扩展 break the silence operatorphp 其它基本扩展 spl type handlingphp 进程控制扩展 syncphp 影响 php 行为的扩展 weak referencesphp php 选项/信息 函数 检查一个扩展是否已经加载php 扩展的结构 basic constructsphp 扩展的结构 组成扩展的文件php 扩展的结构 extension globalsphp 扩展的结构 life cycle of an extensionphp 扩展的结构 the zend module structurephp php 核心:骇客指南 扩展的结构php 扩展的结构 testing an extensionphp 函数参考 其它基本扩展
关注编程学问公众号
编程学问网 湘ICP备20001732号