/pytest_automation

A lightweight and modular test automation framework built using Pytest, designed for functional and regression testing of Python applications. This repository demonstrates the use of fixtures, parameterization, assertions, and test organization following best practices.

Primary LanguagePython

Pytest Portfolio

This repository showcases a variety of testing techniques using the pytest framework, including:

  • ✅ Unit testing
  • ✅ Flask API testing
  • ✅ Data-driven testing
  • ✅ Mocking
  • ✅ Automation testing using Selenium and APIs

📦 Structure

  • simple_calc/: Unit tests for a basic calculator
  • flask_app/: Flask app with route testing
  • data_driven/: Parametrized tests
  • advanced/: Fixtures and mocking
  • automation/: Selenium and API testing

🚀 Setup

pip install -r requirements.txt

✅ Run Tests

pytest

📄 View Python Automation Testing with Pytest (PDF)