Skip to content

This project is an automation framework for testing APIs using Python and pytest, integrated with CI/CD using GitHub Actions.

Notifications You must be signed in to change notification settings

prashantFarakate/api-automation-framework-python

Repository files navigation

API Automation Framework in Python

Description

This project is an automation framework for testing APIs using Python and pytest, integrated with CI/CD using GitHub Actions.

Features

  • API Testing: Validate RESTful APIs using Pytest.
  • CI/CD: Intergrate with GitHub Actions for Automated Testing and deployment
  • Reporting: Generate detailed HTML reports of test execution.

API Testing

  • Validate RESTful APIs using Pytest.
  • Supports GET, POST, PUT, DELETE operations.
  • Ensure schema validation, status code checks, response validation.
  • Handle authentication (e.g., API tokens) seamlessly in tests.

CI/CD Integration

  • GitHub Actions used for automated testing and deployment.
  • Trigger tests on code push or pull requests.

Reporting

  • Generate detailed HTML reports of test execution with pytest-html.
  • Include test summaries, passed/failed test details, logs, and timestamps.
  • Easily shareable reports to analyze issues and monitor test progress.
  • Example report: reports/Test_Execution_Report.html.

Installation

To install the necessary dependencies, run:

pip install -r requirements.txt

Run the test using:

pytest -v -s --html=reports/Test_Execution_Report.html

Auther Name - Prashant Farakate

About

This project is an automation framework for testing APIs using Python and pytest, integrated with CI/CD using GitHub Actions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy