first commit
This commit is contained in:
182
vendor/codeception/verify/docs/supported_expectations.md
vendored
Normal file
182
vendor/codeception/verify/docs/supported_expectations.md
vendored
Normal file
@ -0,0 +1,182 @@
|
||||
## Expectations List
|
||||
|
||||
`expect()` supports all the expectations listed here! :rocket:
|
||||
|
||||
### Array
|
||||
```
|
||||
notToContain
|
||||
notToContainEqual
|
||||
notToContainOnly
|
||||
notToHaveCount
|
||||
notToHaveKey
|
||||
notToHaveSameSizeAs
|
||||
toContain
|
||||
toContainEqual
|
||||
toContainOnly
|
||||
toContainOnlyInstancesOf
|
||||
toHaveCount
|
||||
toHaveKey
|
||||
toHaveSameSizeAs
|
||||
```
|
||||
|
||||
### BaseObject
|
||||
```
|
||||
notToHaveProperty
|
||||
toHaveProperty
|
||||
```
|
||||
|
||||
### Callable
|
||||
```
|
||||
notToThrow
|
||||
toThrow
|
||||
```
|
||||
|
||||
### Class
|
||||
```
|
||||
notToHaveAttribute
|
||||
notToHaveStaticAttribute
|
||||
toHaveAttribute
|
||||
toHaveStaticAttribute
|
||||
```
|
||||
|
||||
### Directory
|
||||
```
|
||||
notToBeReadable
|
||||
notToBeWritable
|
||||
notToExist
|
||||
toBeReadable
|
||||
toBeWritable
|
||||
toExist
|
||||
toExistAndNotToBeReadable
|
||||
toExistAndNotToBeWritable
|
||||
toExistAndToBeReadable
|
||||
toExistAndToBeWritable
|
||||
```
|
||||
|
||||
### File
|
||||
```
|
||||
notToBeReadable
|
||||
notToBeWritable
|
||||
notToExist
|
||||
toBeEqual
|
||||
toBeEqualCanonicalizing
|
||||
toBeEqualIgnoringCase
|
||||
toBeReadable
|
||||
toBeWritable
|
||||
toExist
|
||||
toExistAndNotToBeReadable
|
||||
toExistAndNotToBeWritable
|
||||
toExistAndToBeReadable
|
||||
toExistAndToBeWritable
|
||||
toNotEqual
|
||||
toNotEqualCanonicalizing
|
||||
toNotEqualIgnoringCase
|
||||
```
|
||||
|
||||
### JsonFile
|
||||
```
|
||||
notToEqualJsonFile
|
||||
toEqualJsonFile
|
||||
```
|
||||
|
||||
### JsonString
|
||||
```
|
||||
notToEqualJsonFile
|
||||
notToEqualJsonString
|
||||
toEqualJsonFile
|
||||
toEqualJsonString
|
||||
```
|
||||
|
||||
### Mixed
|
||||
```
|
||||
notToBe
|
||||
notToBeArray
|
||||
notToBeBool
|
||||
notToBeCallable
|
||||
notToBeClosedResource
|
||||
notToBeEmpty
|
||||
notToBeFalse
|
||||
notToBeFloat
|
||||
notToBeInstanceOf
|
||||
notToBeInt
|
||||
notToBeIterable
|
||||
notToBeNull
|
||||
notToBeNumeric
|
||||
notToBeObject
|
||||
notToBeResource
|
||||
notToBeScalar
|
||||
notToBeString
|
||||
notToBeTrue
|
||||
notToEqual
|
||||
notToEqualCanonicalizing
|
||||
notToEqualIgnoringCase
|
||||
notToEqualWithDelta
|
||||
toBe
|
||||
toBeArray
|
||||
toBeBool
|
||||
toBeCallable
|
||||
toBeClosedResource
|
||||
toBeEmpty
|
||||
toBeFalse
|
||||
toBeFinite
|
||||
toBeFloat
|
||||
toBeGreaterThan
|
||||
toBeGreaterThanOrEqualTo
|
||||
toBeInfinite
|
||||
toBeInstanceOf
|
||||
toBeInt
|
||||
toBeIterable
|
||||
toBeLessThan
|
||||
toBeLessThanOrEqualTo
|
||||
toBeNan
|
||||
toBeNull
|
||||
toBeNumeric
|
||||
toBeObject
|
||||
toBeResource
|
||||
toBeScalar
|
||||
toBeString
|
||||
toBeTrue
|
||||
toEqual
|
||||
toEqualCanonicalizing
|
||||
toEqualIgnoringCase
|
||||
toEqualWithDelta
|
||||
```
|
||||
|
||||
### String
|
||||
```
|
||||
notToContainString
|
||||
notToContainStringIgnoringCase
|
||||
notToEndWith
|
||||
notToEqualFile
|
||||
notToEqualFileCanonicalizing
|
||||
notToEqualFileIgnoringCase
|
||||
notToMatchFormat
|
||||
notToMatchFormatFile
|
||||
notToMatchRegExp
|
||||
notToStartWith
|
||||
toBeJson
|
||||
toContainString
|
||||
toContainStringIgnoringCase
|
||||
toEndWith
|
||||
toEqualFile
|
||||
toEqualFileCanonicalizing
|
||||
toEqualFileIgnoringCase
|
||||
toMatchFormat
|
||||
toMatchFormatFile
|
||||
toMatchRegExp
|
||||
toStartWith
|
||||
```
|
||||
|
||||
### XmlFile
|
||||
```
|
||||
notToEqualXmlFile
|
||||
toEqualXmlFile
|
||||
```
|
||||
|
||||
### XmlString
|
||||
```
|
||||
notToEqualXmlFile
|
||||
notToEqualXmlString
|
||||
toEqualXmlFile
|
||||
toEqualXmlString
|
||||
```
|
||||
182
vendor/codeception/verify/docs/supported_verifiers.md
vendored
Normal file
182
vendor/codeception/verify/docs/supported_verifiers.md
vendored
Normal file
@ -0,0 +1,182 @@
|
||||
## Verifiers List
|
||||
|
||||
`verify()` supports all the verifiers listed here! :rocket:
|
||||
|
||||
### Array
|
||||
```
|
||||
contains
|
||||
containsEquals
|
||||
containsOnly
|
||||
containsOnlyInstancesOf
|
||||
count
|
||||
hasKey
|
||||
hasNotKey
|
||||
notContains
|
||||
notContainsEquals
|
||||
notContainsOnly
|
||||
notCount
|
||||
notSameSize
|
||||
sameSize
|
||||
```
|
||||
|
||||
### BaseObject
|
||||
```
|
||||
hasProperty
|
||||
notHasProperty
|
||||
```
|
||||
|
||||
### Callable
|
||||
```
|
||||
throws
|
||||
doesNotThrow
|
||||
```
|
||||
|
||||
### Class
|
||||
```
|
||||
hasAttribute
|
||||
hasStaticAttribute
|
||||
notHasAttribute
|
||||
notHasStaticAttribute
|
||||
```
|
||||
|
||||
### Directory
|
||||
```
|
||||
doesNotExist
|
||||
exists
|
||||
existsAndIsNotReadable
|
||||
existsAndIsNotWritable
|
||||
existsAndIsReadable
|
||||
existsAndIsWritable
|
||||
isNotReadable
|
||||
isNotWritable
|
||||
isReadable
|
||||
isWritable
|
||||
```
|
||||
|
||||
### File
|
||||
```
|
||||
doesNotExists
|
||||
equals
|
||||
equalsCanonicalizing
|
||||
equalsIgnoringCase
|
||||
exists
|
||||
existsAndIsNotReadable
|
||||
existsAndIsNotWritable
|
||||
existsAndIsReadable
|
||||
existsAndIsWritable
|
||||
isNotReadable
|
||||
isNotWritable
|
||||
isReadable
|
||||
isWritable
|
||||
notEquals
|
||||
notEqualsCanonicalizing
|
||||
notEqualsIgnoringCase
|
||||
```
|
||||
|
||||
### JsonFile
|
||||
```
|
||||
equalsJsonFile
|
||||
notEqualsJsonFile
|
||||
```
|
||||
|
||||
### JsonString
|
||||
```
|
||||
equalsJsonFile
|
||||
equalsJsonString
|
||||
notEqualsJsonFile
|
||||
notEqualsJsonString
|
||||
```
|
||||
|
||||
### Mixed
|
||||
```
|
||||
empty
|
||||
equals
|
||||
equalsCanonicalizing
|
||||
equalsIgnoringCase
|
||||
equalsWithDelta
|
||||
false
|
||||
finite
|
||||
greaterThan
|
||||
greaterThanOrEqual
|
||||
infinite
|
||||
instanceOf
|
||||
isArray
|
||||
isBool
|
||||
isCallable
|
||||
isClosedResource
|
||||
isFloat
|
||||
isInt
|
||||
isIterable
|
||||
isNotArray
|
||||
isNotBool
|
||||
isNotCallable
|
||||
isNotClosedResource
|
||||
isNotFloat
|
||||
isNotInt
|
||||
isNotIterable
|
||||
isNotNumeric
|
||||
isNotObject
|
||||
isNotResource
|
||||
isNotScalar
|
||||
isNotString
|
||||
isNumeric
|
||||
isObject
|
||||
isResource
|
||||
isScalar
|
||||
isString
|
||||
lessThan
|
||||
lessThanOrEqual
|
||||
nan
|
||||
notEmpty
|
||||
notEquals
|
||||
notEqualsCanonicalizing
|
||||
notEqualsIgnoringCase
|
||||
notEqualsWithDelta
|
||||
notFalse
|
||||
notInstanceOf
|
||||
notNull
|
||||
notSame
|
||||
notTrue
|
||||
null
|
||||
same
|
||||
true
|
||||
```
|
||||
|
||||
### String
|
||||
```
|
||||
containsString
|
||||
containsStringIgnoringCase
|
||||
doesNotMatchRegExp
|
||||
endsWith
|
||||
equalsFile
|
||||
equalsFileCanonicalizing
|
||||
equalsFileIgnoringCase
|
||||
json
|
||||
matchesFormat
|
||||
matchesFormatFile
|
||||
matchesRegExp
|
||||
notContainsString
|
||||
notContainsStringIgnoringCase
|
||||
notEndsWith
|
||||
notEqualsFile
|
||||
notEqualsFileCanonicalizing
|
||||
notEqualsFileIgnoringCase
|
||||
notMatchesFormat
|
||||
notMatchesFormatFile
|
||||
startsNotWith
|
||||
startsWith
|
||||
```
|
||||
|
||||
### XmlFile
|
||||
```
|
||||
equalsXmlFile
|
||||
notEqualsXmlFile
|
||||
```
|
||||
|
||||
### XmlString
|
||||
```
|
||||
equalsXmlFile
|
||||
equalsXmlString
|
||||
notEqualsXmlFile
|
||||
notEqualsXmlString
|
||||
```
|
||||
Reference in New Issue
Block a user