编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 行为的扩展 blenc blowfish encoder for php source scriptsphp 邮件相关扩展 cyrus imap administrationphp 针对各数据库系统对应的扩展 informixphp 进程控制扩展 libeventphp 进程控制扩展 parallelphp 针对各数据库系统对应的扩展 sqlitephp windows 专用扩展 win32servicephp pdo 驱动 testingphp 扩展的结构 basic constructsphp 扩展的结构 组成扩展的文件php 扩展的结构 extension globalsphp 扩展的结构 life cycle of an extensionphp 扩展的结构 the zend module structurephp php 核心:骇客指南 扩展的结构php 扩展的结构 testing an extensionphp 从 php 5.2.x 移植到 php 5.3.x 被移除的扩展php 从 php 5.3.x 迁移到 php 5.4.x 移除的扩展php 范例 mysql 扩展概述范例php phar returns whether phar extension supports compression using either zlib or bzip2php 函数参考 session 扩展
关注编程学问公众号
编程学问网 湘ICP备20001732号