first commit

This commit is contained in:
2026-01-25 18:18:09 +08:00
commit 509312e604
8136 changed files with 2349298 additions and 0 deletions

View 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
```

View 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
```