Skip to content

qa-at-the-point/api-testing-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Testing in Python

A collection of recipes, examples, and tests around Web API Testing in Python

Examples

Current examples, recipes, etc., that exist in this repo:

Setup

  • 🐍 Python v3.8 or higher is required
  • 📦 Poetry as the package manager
  • 👨🏽‍💻 Microsoft's Python extension installed in VSCode
  1. Clone the repo

    git clone https://github.com/qa-at-the-point/api-testing-python.git
  2. Install packages with Poetry

    # Installs all packages from pyproject.toml file
    poetry install
    
    # Then copy the path of the virtual environment
    poetry env info --path
  3. Configure VSCode to use the proper virtual environment

    • Open Command Palette (CMD + SHIFT + P or CTRL + SHIFT + P)
    • Find and click Python: Select Interpreter
    • Paste the virtual environment path if it's not listed

Run Tests

Examples and Recipes should include the instructions and commands to run the tests. However, the base command is always the same:

poetry run pytest

Submit a Bug or Request

If you've found an bug or you have an idea or feature request, please create an issue on the Issues Tab

About

A collection of recipes, examples, and tests around Web API Testing in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages