编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 变量与类型相关扩展 字符类型检测php 进程控制扩展 evphp 针对各数据库系统对应的扩展 ibm db2 cloudscape and apache derbyphp 影响 php 行为的扩展 memtrackphp 加密扩展 opensslphp 进程控制扩展 posixphp 搜索引擎扩展 sphinx 客户端php 针对各数据库系统对应的扩展 sybasephp 其它基本扩展 yaconfphp 数据结构 the splstack classphp directoryiterator gets the file extensionphp php 选项/信息 函数 运行时载入一个 php 扩展php 扩展的结构 basic constructsphp 扩展的结构 组成扩展的文件php 扩展的结构 extension globalsphp 扩展的结构 life cycle of an extensionphp 扩展的结构 the zend module structurephp php 核心:骇客指南 扩展的结构php 扩展的结构 testing an extensionphp splfileinfo gets the file extension
关注编程学问公众号
编程学问网 湘ICP备20001732号