E. 索引

2018-02-24 15:42 更新

附录 E. 索引

Index

Symbols

$backupGlobalsBlacklist, 全局状态$backupStaticAttributesBlacklist, 全局状态@author, 命令行选项, @author@backupGlobals, 全局状态, @backupGlobals@backupStaticAttributes, 全局状态, @backupStaticAttributes@codeCoverageIgnore, 略过代码块, @codeCoverageIgnore*@codeCoverageIgnoreEnd, 略过代码块, @codeCoverageIgnore*@codeCoverageIgnoreStart, 略过代码块, @codeCoverageIgnore*@covers, 指明要覆盖的方法, @covers@coversDefaultClass, @coversDefaultClass@coversNothing, 指明要覆盖的方法, @coversNothing@dataProvider, 数据供给器, @dataProvider@depends, 测试的依赖关系, 数据供给器, @depends@expectedException, 对异常进行测试, @expectedException@expectedExceptionCode, 对异常进行测试, @expectedExceptionCode@expectedExceptionMessage, 对异常进行测试, @expectedExceptionMessage@expectedExceptionMessageRegExp, 对异常进行测试, @expectedExceptionMessageRegExp@group, 命令行选项, @group@large, @large@medium, @medium@preserveGlobalState, @preserveGlobalState@requires, @requires@runInSeparateProcess, @runInSeparateProcess@runTestsInSeparateProcesses, @runTestsInSeparateProcesses@small, @small@test, 编写 PHPUnit 测试, @test@testdox, @testdox@ticket, @ticket@uses, @uses变更风险反模式(CRAP)指数(Change Risk Anti-Patterns (CRAP) Index), 用于代码覆盖率的软件衡量标准敏捷文档, 命令行选项, 敏捷文档测试的依赖关系, 测试的依赖关系

A

Annotation (标注), 编写 PHPUnit 测试, 测试的依赖关系, 数据供给器, 对异常进行测试, 命令行选项, 略过代码块, 指明要覆盖的方法, 标注anything(), assertThat()arrayHasKey(), assertThat()assertArrayHasKey(), assertArrayHasKey()assertArrayNotHasKey(), assertArrayHasKey()assertArraySubset(), assertArraySubset()assertAttributeContains(), assertContains()assertAttributeContainsOnly(), assertContainsOnly()assertAttributeEmpty(), assertEmpty()assertAttributeEquals(), assertEquals()assertAttributeGreaterThan(), assertGreaterThan()assertAttributeGreaterThanOrEqual(), assertGreaterThanOrEqual()assertAttributeInstanceOf(), assertInstanceOf()assertAttributeInternalType(), assertInternalType()assertAttributeLessThan(), assertLessThan()assertAttributeLessThanOrEqual(), assertLessThanOrEqual()assertAttributeNotContains(), assertContains()assertAttributeNotContainsOnly(), assertContainsOnly()assertAttributeNotEmpty(), assertEmpty()assertAttributeNotEquals(), assertEquals()assertAttributeNotInstanceOf(), assertInstanceOf()assertAttributeNotInternalType(), assertInternalType()assertAttributeNotSame(), assertSame()assertAttributeSame(), assertSame()assertClassHasAttribute(), assertClassHasAttribute()assertClassHasStaticAttribute(), assertClassHasStaticAttribute()assertClassNotHasAttribute(), assertClassHasAttribute()assertClassNotHasStaticAttribute(), assertClassHasStaticAttribute()assertContains(), assertContains()assertContainsOnly(), assertContainsOnly()assertContainsOnlyInstancesOf(), assertContainsOnlyInstancesOf()assertCount(), assertCount()assertEmpty(), assertEmpty()assertEquals(), assertEquals()assertEqualXMLStructure(), assertEqualXMLStructure()assertFalse(), assertFalse()assertFileEquals(), assertFileEquals()assertFileExists(), assertFileExists()assertFileNotEquals(), assertFileEquals()assertFileNotExists(), assertFileExists()assertFinite(), assertInfinite()assertGreaterThan(), assertGreaterThan()assertGreaterThanOrEqual(), assertGreaterThanOrEqual()assertInfinite(), assertInfinite()assertInstanceOf(), assertInstanceOf()assertInternalType(), assertInternalType()assertJsonFileEqualsJsonFile(), assertJsonFileEqualsJsonFile()assertJsonFileNotEqualsJsonFile(), assertJsonFileEqualsJsonFile()assertJsonStringEqualsJsonFile(), assertJsonStringEqualsJsonFile()assertJsonStringEqualsJsonString(), assertJsonStringEqualsJsonString()assertJsonStringNotEqualsJsonFile(), assertJsonStringEqualsJsonFile()assertJsonStringNotEqualsJsonString(), assertJsonStringEqualsJsonString()assertLessThan(), assertLessThan()assertLessThanOrEqual(), assertLessThanOrEqual()assertNan(), assertNan()assertNotContains(), assertContains()assertNotContainsOnly(), assertContainsOnly()assertNotCount(), assertCount()assertNotEmpty(), assertEmpty()assertNotEquals(), assertEquals()assertNotInstanceOf(), assertInstanceOf()assertNotInternalType(), assertInternalType()assertNotNull(), assertNull()assertNotRegExp(), assertRegExp()assertNotSame(), assertSame()assertNull(), assertNull()assertObjectHasAttribute(), assertObjectHasAttribute()assertObjectNotHasAttribute(), assertObjectHasAttribute()assertPostConditions(), 基境(fixture)assertPreConditions(), 基境(fixture)assertRegExp(), assertRegExp()assertSame(), assertSame()assertStringEndsNotWith(), assertStringEndsWith()assertStringEndsWith(), assertStringEndsWith()assertStringEqualsFile(), assertStringEqualsFile()assertStringMatchesFormat(), assertStringMatchesFormat()assertStringMatchesFormatFile(), assertStringMatchesFormatFile()assertStringNotEqualsFile(), assertStringEqualsFile()assertStringNotMatchesFormat(), assertStringMatchesFormat()assertStringNotMatchesFormatFile(), assertStringMatchesFormatFile()assertStringStartsNotWith(), assertStringStartsWith()assertStringStartsWith(), assertStringStartsWith()assertThat(), assertThat()assertTrue(), assertTrue()assertXmlFileEqualsXmlFile(), assertXmlFileEqualsXmlFile()assertXmlFileNotEqualsXmlFile(), assertXmlFileEqualsXmlFile()assertXmlStringEqualsXmlFile(), assertXmlStringEqualsXmlFile()assertXmlStringEqualsXmlString(), assertXmlStringEqualsXmlString()assertXmlStringNotEqualsXmlFile(), assertXmlStringEqualsXmlFile()assertXmlStringNotEqualsXmlString(), assertXmlStringEqualsXmlString()attribute(), assertThat()attributeEqualTo(), assertThat()Automated Documentation (自动文档), 敏捷文档

B

Blacklist (黑名单), 为代码覆盖率包含或排除文件

C

classHasAttribute(), assertThat()classHasStaticAttribute(), assertThat()Code Coverage (代码覆盖率), 命令行选项, 代码覆盖率分析, @covers, 为代码覆盖率包含或排除文件Blacklist (黑名单), 包含与排除文件Branch Coverage (分支覆盖率), 用于代码覆盖率的软件衡量标准Class and Trait Coverage (类与特质覆盖率), 用于代码覆盖率的软件衡量标准Function and Method Coverage (函数与方法覆盖率), 用于代码覆盖率的软件衡量标准Line Coverage (行覆盖率), 用于代码覆盖率的软件衡量标准Opcode Coverage (Opcode 覆盖率), 用于代码覆盖率的软件衡量标准Path Coverage (路径覆盖率), 用于代码覆盖率的软件衡量标准Whitelist (白名单), 包含与排除文件Configuration (配置), 命令行选项Constant (常量), 设定 PHP INI 设置、常量、全局变量contains(), assertThat()containsOnly(), assertThat()containsOnlyInstancesOf(), assertThat()

D

Data-Driven Tests (数据驱动测试), 实现 PHPUnit_Framework_TestDefect Localization (缺陷定位), 测试的依赖关系Depended-On Component (依赖组件), 测试替身Documenting Assumptions (将假设文档化), 敏捷文档

E

equalTo(), assertThat()Error Handler (错误处理), 对 PHP 错误进行测试Error (错误), 命令行测试执行器Extreme Programming (极限编程), 敏捷文档

F

Failure (失败), 命令行测试执行器fileExists(), assertThat()Fixture (基境), 基境(fixture)Fluent Interface (流畅式接口), Stubs (桩件)

G

getMock(), Stubs (桩件)getMockBuilder(), Stubs (桩件)getMockForAbstractClass(), 对特质(Trait)与抽象类进行模仿getMockForTrait(), 对特质(Trait)与抽象类进行模仿getMockFromWsdl(), 对 Web 服务(Web Services)进行上桩或模仿Global Variable (全局变量), 全局状态, 设定 PHP INI 设置、常量、全局变量greaterThan(), assertThat()greaterThanOrEqual(), assertThat()

H

hasAttribute(), assertThat()

I

identicalTo(), assertThat()include_path, 命令行选项Incomplete Test (未完成的测试), 未完成的测试isFalse(), assertThat()isInstanceOf(), assertThat()isNull(), assertThat()isTrue(), assertThat()isType(), assertThat()

J

JSON, 命令行选项

L

lessThan(), assertThat()lessThanOrEqual(), assertThat()Logfile (日志文件), 命令行选项Logging (日志记录), Logging (日志记录), Logging (日志记录)logicalAnd(), assertThat()logicalNot(), assertThat()logicalOr(), assertThat()logicalXor(), assertThat()

M

matchesRegularExpression(), assertThat()method(), Stubs (桩件)Mock Object (仿件对象), 仿件对象(Mock Object)

O

onConsecutiveCalls(), Stubs (桩件)onNotSuccessfulTest(), 基境(fixture)

P

PHP Error (PHP 错误), 对 PHP 错误进行测试PHP Notice (PHP 通知), 对 PHP 错误进行测试PHP Warning (PHP 警告), 对 PHP 错误进行测试php.ini, 设定 PHP INI 设置、常量、全局变量PHPUnit_Extensions_RepeatedTest, 从 PHPUnit_Extensions_TestDecorator 派生子类PHPUnit_Extensions_TestDecorator, 从 PHPUnit_Extensions_TestDecorator 派生子类PHPUnit_Framework_BaseTestListener, 实现 PHPUnit_Framework_TestListenerPHPUnit_Framework_Error, 对 PHP 错误进行测试PHPUnit_Framework_Error_Notice, 对 PHP 错误进行测试PHPUnit_Framework_Error_Warning, 对 PHP 错误进行测试PHPUnit_Framework_IncompleteTest, 未完成的测试PHPUnit_Framework_IncompleteTestError, 未完成的测试PHPUnit_Framework_Test, 实现 PHPUnit_Framework_TestPHPUnit_Framework_TestCase, 编写 PHPUnit 测试, 从 PHPUnit_Framework_TestCase 派生子类PHPUnit_Framework_TestListener, 命令行选项, 实现 PHPUnit_Framework_TestListener, 测试监听器PHPUnit_Runner_TestSuiteLoader, 命令行选项PHPUnit_Util_Printer, 命令行选项PHP_Invoker, @large, @medium, @smallProcess Isolation (进程隔离), 命令行选项

R

Refactoring (重构), 在开发过程中Report (报告), 命令行选项returnArgument(), Stubs (桩件)returnCallback(), Stubs (桩件)returnSelf(), Stubs (桩件)returnValueMap(), Stubs (桩件)

S

Selenium RC, 为 Selenium RC 配置浏览器setUp(), 基境(fixture)setUpBeforeClass, 基境共享setUpBeforeClass(), 基境(fixture)stringContains(), assertThat()stringEndsWith(), assertThat()stringStartsWith(), assertThat()Stub (桩件), Stubs (桩件)Stubs (桩件), 跨团队测试System Under Test (被测系统), 测试替身

T

tearDown(), 基境(fixture)tearDownAfterClass, 基境共享tearDownAfterClass(), 基境(fixture)Template Method (模板方法), 基境(fixture)Test Double (测试替身), 测试替身Test Groups (测试分组), 命令行选项, 分组Test Isolation (测试隔离), 命令行选项, 全局状态Test Listener (测试监听器), 测试监听器Test Suite (测试套件), 组织测试, 测试套件TestDox, 敏捷文档, @testdoxthrowException(), Stubs (桩件)timeoutForLargeTests, @largetimeoutForMediumTests, @mediumtimeoutForSmallTests, @small

W

Whitelist (白名单), 为代码覆盖率包含或排除文件will(), Stubs (桩件)willReturn(), Stubs (桩件)

X

Xdebug, 代码覆盖率分析XML Configuration (XML 配置), 用 XML 配置来编排测试套件

以上内容是否对您有帮助:
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号