Skip to content

Commit f0975e2

Browse files
Create README.md
1 parent f0d00c8 commit f0975e2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Python External (3rd Party) API Testing Tutorial
2+
3+
## Description
4+
5+
This repository contains a simple example of how to test an external API with Pytest for the article - [How To Write Tests For External (3rd Party) API Calls with Pytest](https://pytest-with-eric.com/api-testing/pytest-external-api-testing/)
6+
7+
## Usage
8+
9+
Create a virtual environment and install the dependencies:
10+
11+
```bash
12+
$ python3 -m venv venv
13+
$ source venv/bin/activate
14+
$ pip install -r requirements.txt
15+
```
16+
17+
To run the tests, you can use the following command:
18+
19+
```bash
20+
$ pytest
21+
```
22+
23+
If you have any questions about the project please raise an Issue on GitHub.

0 commit comments

Comments
 (0)