书栈网 · BookStack 本次搜索耗时 0.044 秒,为您找到 573 个相关结果.
  • 8. Test Doubles

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

    Testing: Getting Started Introduction Environment Creating & Running Tests Artisan Test Runner Testing: Getting Started Introduction Environment Creating & Running Tests...
  • assertInstanceOf()

    976 2018-12-16 《PHPUnit 6.5 手册》
    assertInstanceOf() assertInstanceOf($expected, $actual[, $message = '']) 当 $actual 不是 $expected 的实例时报告错误,错误讯息由 $message 指定。 assertNotInstanceOf() 是与之相反的断言,接受相同的参数。 as...
  • assertGreaterThanOrEqual()

    484 2018-12-16 《PHPUnit 6.5 手册》
    assertGreaterThanOrEqual() assertGreaterThanOrEqual(mixed $expected, mixed $actual[, string $message = '']) 当 $actual 的值不大于且不等于 $expected 的值时报告错误,错误讯息由 $message 指定。 asser...
  • 9. Code Coverage Analysis

    258 2023-03-19 《PHPUnit v9.6 Manual》
    9. Code Coverage Analysis Software Metrics for Code Coverage Including Files Ignoring Code Blocks Specifying Covered Code Parts Edge Cases 9. Code Coverage Analysis Wikipe...
  • 3. The Command-Line Test Runner

    482 2021-03-28 《PHPUnit v9.5 Manual》
    3. The Command-Line Test Runner Command-Line Options TestDox 3. The Command-Line Test Runner The PHPUnit command-line test runner can be invoked through the phpunit command....
  • Testing

    Testing Testing The PHPUnit Testing Framework Types of Tests Unit Tests Integration Tests Set-up your Test Environment Customizing Environment Variables Retrieving Services i...
  • Testing

    Testing Testing The PHPUnit Testing Framework Types of Tests Unit Tests Integration Tests Set-up your Test Environment Customizing Environment Variables Retrieving Services i...
  • assertContains()

    704 2018-12-16 《PHPUnit v4.8 手册》
    assertContains() assertContains(mixed $needle, Iterator|array $haystack[, string $message = '']) 当 $needle 不是 $haystack 的元素时报告错误,错误讯息由 $message 指定。 assertNotContains() ...
  • 创建新的组件

    创建新的组件 创建新的组件 Hyperf 官方提供了工具来快速创建组件包。 composer create - project hyperf / component - creater your_component dev - master 执行结果如下: $ composer create - project hyperf / comp...