Skip to content

Commit eda4365

Browse files
authored
Merge pull request Codeception#438 from settermjd/update-api-testing-docs
Add note that Rest API testing requires the module-rest package
2 parents ef6e197 + 1f40575 commit eda4365

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/10-APITesting.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ We will put all the api tests there.
1919

2020
## REST API
2121

22+
> **NOTE:** REST API testing requires the `codeception/module-rest` package to be installed.
23+
2224
The REST web service is accessed via HTTP with standard methods: `GET`, `POST`, `PUT`, `DELETE`. They allow users to receive and manipulate entities from the service. Accessing a WebService requires an HTTP client, so for using it you need the module `PhpBrowser` or one of framework modules set up. For example, we can use the `Symfony` module for Symfony2 applications in order to ignore web server and test web service internally.
2325

2426
Configure modules in `api.suite.yml`:

0 commit comments

Comments
 (0)