书栈网 · BookStack 本次搜索耗时 0.041 秒,为您找到 573 个相关结果.
  • Getting Started

    Testing System Set Up Installing phpUnit Composer Phar Testing Your Application PHPUnit Configuration The Test Class Additional Assertions Accessing Protected/Private Propert...
  • 2. Annotations

    307 2021-03-28 《PHPUnit v9.5 Manual》
    2. Annotations @author @after @afterClass @backupGlobals @backupStaticAttributes @before @beforeClass @codeCoverageIgnore* @covers @coversDefaultClass @coversNothing @da...
  • 2. Annotations

    414 2021-03-28 《PHPUnit v8.5 Manual》
    2. Annotations @author @after @afterClass @backupGlobals @backupStaticAttributes @before @beforeClass @codeCoverageIgnore* @covers @coversDefaultClass @coversNothing @da...
  • assertNan()

    581 2018-12-16 《PHPUnit 6.5 手册》
    assertNan() assertNan(mixed $variable[, string $message = '']) 当 $variable 不是 NAN 时报告错误,错误讯息由 $message 指定。 例 A.38: assertNan() 的用法 <? php use PHPUnit \Framework\Test...
  • 8. Test Doubles

    371 2021-03-28 《PHPUnit v9.5 Manual》
    8. Test Doubles Stubs Mock Objects Mocking Traits and Abstract Classes Stubbing and Mocking Web Services 8. Test Doubles Gerard Meszaros introduces the concept of Test Doub...
  • Getting Started

    Testing: Getting Started Introduction Environment Creating & Running Tests Testing: Getting Started Introduction Environment Creating & Running Tests Introduction ...
  • Getting Started

    Testing: Getting Started Introduction Environment Creating & Running Tests Testing: Getting Started Introduction Environment Creating & Running Tests Introduction ...
  • 3. 命令行测试执行器

    612 2021-03-28 《PHPUnit v9.5 手册》
    3. 命令行测试执行器 命令行选项 TestDox 3. 命令行测试执行器 PHPUnit 命令行测试执行器可通过 phpunit 命令调用。下面的代码展示了如何用 PHPUnit 命令行测试执行器来运行测试: $ phpunit ArrayTest PHPUnit latest . 0 by Sebastian Berg...
  • 3. The XML Configuration File

    499 2021-03-28 《PHPUnit v8.5 Manual》
    3. The XML Configuration File The <phpunit> Element The backupGlobals Attribute The backupStaticAttributes Attribute The bootstrap Attribute The cacheResult Attribute The ...
  • Getting Started

    Testing: Getting Started Introduction Environment Creating & Running Tests Testing: Getting Started Introduction Environment Creating & Running Tests Introduction ...