Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a444ff4

Browse files
committed
Update README.md
1 parent 67c7a7a commit a444ff4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎README.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ It is based on [rybakit/phpunit-extras](https://github.com/rybakit/phpunit-extra
1919
* [luaCondition](#luacondition)
2020
* [Tarantool](#tarantool)
2121
* [Expectations](#expectations)
22+
* [Requests](#requests)
23+
* [Prepared statements](#prepared-statements)
2224
* [Mocking](#mocking)
2325
* [Testing](#testing)
2426
* [License](#license)
@@ -212,6 +214,8 @@ public function testPrepareCreatesPreparedStatement() : void
212214

213215
## Expectations
214216

217+
### Requests
218+
215219
To test that your code sends (or does not send) certain requests, the following methods are available:
216220

217221
* `TestCase::expect<REQUEST_NAME>RequestToBeCalled(int $count) : void`
@@ -251,6 +255,8 @@ public function testGetSpaceIsCached() : void
251255
}
252256
```
253257

258+
### Prepared statements
259+
254260
In order to assert prepared statement allocations, use the `Tarantool\PhpUnit\Expectation\PreparedStatementExpectations` trait,
255261
which contains the following methods:
256262

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /