书栈网 · BookStack 本次搜索耗时 0.037 秒,为您找到 573 个相关结果.
  • 3. The Command-Line Test Runner

    407 2021-03-28 《PHPUnit v8.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....
  • assertContains()

    1173 2018-12-16 《PHPUnit 6.5 手册》
    assertContains() assertContains(mixed $needle, Iterator|array $haystack[, string $message = '']) 当 $needle 不是 $haystack 的元素时报告错误,错误讯息由 $message 指定。 assertNotContains() ...
  • Getting Started

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

    697 2018-12-16 《PHPUnit v4.8 手册》
    assertContains() assertContains(mixed $needle, Iterator|array $haystack[, string $message = '']) 当 $needle 不是 $haystack 的元素时报告错误,错误讯息由 $message 指定。 assertNotContains() ...
  • 6. 有风险的测试

    451 2021-03-28 《PHPUnit v9.5 手册》
    6. 有风险的测试 无用测试 意外的代码覆盖 测试执行期间产生的输出 测试执行时长的超时限制 全局状态篡改 6. 有风险的测试 在执行测试时,PHPUnit 可以进行一些额外的检查,见下文。 无用测试 默认情况下,PHPUnit 会更严格地对待事实上不测试任何内容的测试。此项检查可以用命令行 选项 --dont-report-usel...
  • 3. The XML Configuration File

    498 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 ...
  • assertSame()

    595 2018-12-16 《PHPUnit 6.5 手册》
    assertSame() assertSame(mixed $expected, mixed $actual[, string $message = '']) 当两个变量 $expected 和 $actual 的值与类型不完全相同时报告错误,错误讯息由 $message 指定。 assertNotSame() 是与之相反的断言,接...
  • 2. Annotations

    220 2023-03-19 《PHPUnit v9.6 Manual》
    2. Annotations @author @after @afterClass @backupGlobals @backupStaticAttributes @before @beforeClass @codeCoverageIgnore* @covers @coversDefaultClass @coversNothing @da...
  • Getting Started

    Testing: Getting Started Introduction Environment Creating & Running Tests Artisan Test Runner Testing: Getting Started Introduction Environment Creating & Running Tests...
  • Step 17: Testing

    Step 17: Testing Testing Writing Unit Tests Writing Functional Tests for Controllers Configuring the Test Environment Working with a Test Database Defining Fixtures Loading F...