API Framework

mohammed saleel

0

Automation Engineer

QA Engineer

QA Tester

Python

API Framework

This repository contains an API testing framework designed to efficiently test, validate, and ensure the functionality of APIs.

Table of Contents

Prerequisites

Python 3.x
Pip (Python package installer)
Virtual environment (optional but recommended)

Setup & Installation

chmod +x setup_and_run_tests.sh ./setup_and_run_tests.sh
To run all testcases
PYTHONPATH=pwd python3 -m pytest tests/
To run Specific testscases: To run functional testcases:
PYTHONPATH=pwd python3 -m pytest -m functional tests/
To run Datatype testcases: 2. 1. PYTHONPATH=pwd python3 -m pytest -m datatype tests/
to run security testcases:
PYTHONPATH=pwd python3 -m pytest -m security tests/
to run async testcases:
PYTHONPATH=pwd python3 -m pytest -m async tests/

Directory Structure

tests/: Contains all the test cases.
config/: Configuration files and settings (if any).
testdata/: Test data and fixtures.
utils/: Utility functions and helpers.

Reporting

After running tests, reports can be found in the reports directory.

Logs

Logs generated during test execution can be found in the logs directory.

Test Data

Test-related data can be found in the testdata directory.

Utils

The utils directory contains utility functions and scripts that assist in test execution and data processing.
Like this project
0

Posted Jun 24, 2024

basic api test framework. Contribute to saleelm/API_Framework development by creating an account on GitHub.

Likes

0

Views

2

Tags

Automation Engineer

QA Engineer

QA Tester

Python

Web Scraping
Web Scraping
Testdata Generator API using FastAPI
Testdata Generator API using FastAPI