Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Dygalo committed Sep 11, 2019
1 parent 06058bc commit 75f998e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ look like this:

.. code:: python
# test_api.py
import pytest
import requests
from schemathesis import Parametrizer
Expand Down Expand Up @@ -81,6 +82,12 @@ It consists of four main parts:

4. Verifying a property you'd like to test; In the example, we verify that any app response will not indicate a server-side error (HTTP codes 5xx).

Run the tests:

.. code:: bash
pytest test_api.py
**Other properties that could be tested**:

- Any call will be processed in <50 ms - you can verify the app performance;
Expand Down

0 comments on commit 75f998e

Please sign in to comment.